summaryrefslogtreecommitdiff
path: root/.dir-locals.el
Commit message (Collapse)AuthorAgeFilesLines
* Add indentation style setting for c-ts-mode in .dir-locals.elEli Zaretskii2023-04-221-1/+2
| | | | | | | | * lisp/progmodes/c-ts-mode.el (c-ts-indent-style-safep): New predicate. (c-ts-mode-indent-style): Use it to test the value for being safe. * .dir-locals.el (c-ts-mode): Set 'c-ts-mode-indent-style' to 'gnu'.
* ; * .dir-locals.el (c-ts-mode): Add settings.Eli Zaretskii2023-04-211-0/+2
|
* Fix crashes and memory leaks during display deinitializationPo Lu2022-12-011-1/+2
| | | | | | | | | | | * .dir-locals.el (c-mode): Add more noise macro names. * src/frame.c (delete_frame): Do not delete terminal if force is Qnoelisp. * src/xterm.c (x_wm_supports): Fix coding style. (x_delete_display): Delete the supported atoms list. (x_delete_terminal): Delete all terminals. Free the scratch cursor GC.
* Set vc-prepare-patches-separately to nil in .dir-locals.elPhilip Kaludercic2022-11-161-1/+2
| | | | | | * .dir-locals.el (c-mode): Set 'vc-prepare-patches-separately'. See https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg00973.html.
* .dir-locals.el (C entry). Add NO_INLINE to c-noise-macro-namesAlan Mackenzie2022-11-121-1/+2
|
* Prevent .dir-locals.el from being byte-compiledPhilip Kaludercic2022-10-141-1/+1
| | | | | | | * lisp/files-x.el (modify-dir-local-variable): Add a 'no-byte-compile' file local variable when generating a .dir-locals.el file. * .dir-locals.el: Add 'no-byte-compile'. (Bug#58486)
* Set vc-git-annotate-switches to "-w" in .dir-locals.elStefan Kangas2022-09-101-0/+1
| | | | | * .dir-locals.el: Set vc-git-annotate-switches to "-w". Ref: https://lists.gnu.org/r/emacs-devel/2022-09/msg00453.html
* Set indent-tabs-mode for lisp-data-mode in .dir-locals.elStefan Kangas2022-09-091-0/+1
| | | | | * .dir-locals.el (lisp-data-mode): Enforce existing indent-tabs-mode policy.
* Add new user option 'diff-add-log-use-relative-names'Philip Kaludercic2022-09-081-1/+2
| | | | | | | | * .dir-locals.el: Set new option to t * etc/NEWS: Mention new option. * lisp/vc/diff-mode.el (diff-add-log-use-relative-names): Add new option. (diff-add-log-current-defuns): Use new option. * doc/emacs/maintaining.texi (Log Buffer): Mention new option.
* Font lock long Git commit summary linesSean Whitton2022-09-051-1/+2
| | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-log-edit-summary-target-len) (vc-git-log-edit-summary-max-len): New defcustoms. (vc-git-log-edit-summary-target-warning) (vc-git-log-edit-summary-max-warning): New faces. (vc-git--log-edit-summary-check): New function. (vc-git-log-edit-mode): Add vc-git--log-edit-summary-check to log-edit-font-lock-keywords to font lock long Git commit summary lines. * etc/NEWS (VC): Document the change. * .dir-locals.el: Set vc-git-log-edit-summary-target-len.
* * .dir-locals.el: Set emacs-lisp-docstring-fill-column.Sean Whitton2022-06-151-0/+1
|
* Set indent-tabs-mode for c-mode in .dir-locals.elBasil L. Contovounesios2020-12-191-0/+1
| | | | | * .dir-locals.el (c-mode): Enforce existing indent-tabs-mode policy. (Bug#34765)
* * .dir-locals.el: Add explanatory header.Stefan Kangas2019-11-021-0/+3
|
* * .dir-locals.el: Enable `bug-reference-mode' for further major modes.Michael Albinus2019-08-041-5/+10
|
* Revert "* lisp/calc/calc-ext.el (math-scalarp): Fix typo"Stefan Monnier2019-06-261-1/+1
| | | | This reverts commit 698ff554ac2699ec48fefc85a1307cbc4a183b0d.
* * lisp/calc/calc-ext.el (math-scalarp): Fix typoStefan Monnier2019-06-261-1/+1
|
* Use lexical-binding in bug-reference.elAlex Branham2019-04-091-3/+3
| | | | | | | | | | | * .dir-locals.el: Set bug-reference-url-format in all modes, not just changelog mode. Use (eval . (bug-reference-mode)) as described in (info "(emacs) Specifying File Variables") * lisp/progmodes/bug-reference.el: Use lexical binding. (bug-reference-unfontify): (bug-reference-fontify): Mention args in docstring. Bug#35123
* Restore .dir-locals.el accidentally deletedKatsumi Yamaoka2019-04-091-0/+22
| | | | But this way -- git add/commit/push -- is probably wrong, sorry.
* Fix last commit messageKatsumi Yamaoka2019-04-091-22/+0
|
* * Put INLINE and ATTRIBUTE_NO_SANITIZE_UNDEFINED into c-noise-macro-namesAlan Mackenzie2019-02-171-1/+1
| | | | | * .dir-locals (entry for c-mode): Put the two strings into c-noise-macro-names.
* Disable electric quotes for most files in the Emacs codebase.Philipp Stephani2019-01-151-3/+11
| | | | | * .dir-locals.el: Disable electric quotes in comments and strings for C, Emacs Lisp, and Texinfo, as the Emacs codebase doesn't use them.
* Another fix for C mode fontification of w32 source filesEli Zaretskii2017-10-141-1/+1
| | | | | * .dir-locals.el (c-mode) <c-noise-macro-names>: Add "CALLBACK", to correctly fontify functions with this attribute.
* Fix fontification of ALIGN_STACK functionsEli Zaretskii2017-10-141-1/+1
| | | | | * .dir-locals.el (c-mode) <c-noise-macro-names>: Add "ALIGN_STACK", to correctly fontify functions with this attribute.
* Prefer HTTPS to HTTP for gnu.orgPaul Eggert2017-09-131-1/+1
| | | | | | | | | | | | | | | This patch just changes code files; a followup companion patch (much larger) will affect the commentary. This part is separated out to make it easier to review. * .dir-locals.el (change-log-mode): * lisp/org/org-info.el (org-info-other-documents) (org-info-map-html-url): * lisp/org/ox-html.el (org-html-creator-string): * lisp/startup.el (fancy-startup-text, fancy-about-text) (fancy-splash-head): * test/lisp/ffap-tests.el (ffap-other-window--bug-25352): * test/lisp/thingatpt-tests.el (thing-at-point-test-data): Use HTTPS instead of HTTP.
* * .dir-locals.el (c-noise-macro-names): Remove NONVOLATILE.Paul Eggert2016-08-091-1/+1
|
* Replace IF_LINT by NONVOLATILE and UNINITPaul Eggert2016-06-081-1/+1
| | | | | | | Inspired by a suggestion from RMS in: http://bugs.gnu.org/23640#58 * .dir-locals.el (c-mode): Adjust to macro changes. * src/conf_post.h (NONVOLATILE, UNINIT): New macros (Bug#23640). (IF_LINT): Remove. All uses replaced by the new macros.
* CC Mode now uses the new :after-hook feature of define-derived-modeAlan Mackenzie2016-05-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It now runs internal variable setting functions after the mode hooks, no longer runs the mode hooks twice, and declares the configuration variables for noise macros and macros with semicolons as safe variables (when given suitable arguments). Fixes bug #16759 and bug #23476. * .dir-locals: Put the c-noise-macros-with-paren-names setting back into the C Mode value. * lisp/progmodes/cc-mode.el: (c-basic-common-init): Remove the call to c-make-macro-with-semi-re. (c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode, awk-mode): Move c-make-noise-macro-regexps and c-make-macro-with-semi-re (where appropriate) and c-update-modeline into the :after-hook form. Remove the explicit settings of the syntax table, the abbreviation table and the local key map, since they duplicate forms generated by define-derived-mode. Remove the explicit invocation of each mode's mode hook, since they duplicate ones generated by define-derived-mode. * lisp/progmodes/cc-vars.el: (c-string-list-p, c-string-or-string-list-p): New functions. (c-noise-macro-names, c-noise-macro-with-parens-names): give the save-local-variable property c-string-list-p. (c-macro-names-with-semicolon): give the save-local-variable property c-string-or-string-list-p. * doc/misc/cc-mode.texi: (Macros with ;, Noise Macros): Note that it's not necessary to call the regexp generating functions after setting the pertinent configuration values in a mode hook.
* Revert change 8e4595a... due to annoyance it causes the development team.Alan Mackenzie2016-05-071-4/+1
| | | | | | | | Change 8e4595a438fe85dd109756886cdeaeea2e665afb from 2016-04-30 17:28:24 +0000 was an enhancement to .dir-locals to allow correct fontification of certain macro constructs. * .dir-locals.el: Remove the two forms for C Mode dealing with noise macros.
* * .dir-locals: Amend for correct fontification of *.[ch] containing "IF_LINT"Alan Mackenzie2016-04-301-1/+4
|
* Prefer "Bug#1234" in commit messagesPaul Eggert2015-04-181-3/+1
| | | | | | * .dir-locals.el (log-edit-mode): Don't rewrite Bug#, as this isn't useful for Git. * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
* ; Set indent-tabs-mode to nil in (most) Elisp sourcesDmitry Gutov2015-04-151-1/+2
| | | | Fixes: bug#20323
* Restore 'Bug#' -> 'debbugs:' rewrite in log-edit-mode.Paul Eggert2014-11-161-1/+3
| | | | | | * .dir-locals.el (log-edit-mode): Restore the (log-edit-rewrite-fixes "[ \n](bug#\\([0-9]+\\))" . "debbugs:\\1"). See Glenn Morris in: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01187.html
* Backport fix for minor Bazaar leftovers.Paul Eggert2014-11-131-5/+1
| | | | | | | Reported by Perry E. Metzger in: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00745.html * .dir-locals.el: Remove reference to bzr commit --fixes debbugs. * etc/CONTRIBUTE: More git transition.
* Apply the initial log-edit tweaks discussed at emacs-develDmitry Gutov2013-12-011-1/+2
| | | | | | | | | | | | | | | * .dir-locals.el: (log-edit-move): Add the "Author: " header. * lisp/vc/log-edit.el (log-edit-mode-map): Add binding for `log-edit-beginning-of-line'. (log-edit-setup-add-author): New user option. (log-edit-beginning-of-line): New command. (log-edit): Move major mode call above the contents setup so that the local variable values are already applied. (log-edit): Only insert "Author: " when `log-edit-setup-add-author' is non-nil. (log-edit): When SETUP is non-nil, position point after ": " instead of point-min.
* Fix typo in previousGlenn Morris2012-07-091-1/+1
|
* Apply GNU coding style to objc-mode as well as c-modeGlenn Morris2012-07-091-0/+1
|
* * lisp/vc/log-edit.el: Add GNU coding standards highlighting.Stefan Monnier2012-05-081-1/+2
| | | | | | | | | (log-edit-font-lock-gnu-style) (log-edit-font-lock-gnu-keywords): New vars. (log-edit-font-lock-keywords): New fun. (log-edit-mode): Don't fold case in font-lock. (log-edit-font-lock-keywords): Do not assume case-folding. * .dir-locals.el (log-edit-mode): Enable gnu-style checks.
* * .dir-locals.el: Change the debbugs regexp to allow having the bug number ↵Lars Magne Ingebrigtsen2011-09-191-1/+1
| | | | as the first thing on a line.
* Revert undocumented change to .dir-locals.el in ↵Chong Yidong2011-04-241-1/+1
| | | | | | | 2011-04-01T17:19:52Z!monnier@iro.umontreal.ca. This bumped fill-column from 70 to 79, but was not documented in the commit log, and appears to be a mistake.
* Get rid of funvec.Stefan Monnier2011-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode): Handle new form of `byte-constant'. (byte-compile-close-variables, displaying-byte-compile-warnings): Add edebug spec. (byte-compile-toplevel-file-form): New fun, split out of byte-compile-file-form. (byte-compile-from-buffer): Use it to avoid applying cconv multiple times. (byte-compile): Only strip `function' if it's present. (byte-compile-lambda): Add `reserved-csts' argument. Use new lexenv arg of byte-compile-top-level. (byte-compile-reserved-constants): New var. (byte-compile-constants-vector): Obey it. (byte-compile-constants-vector): Handle new `byte-constant' form. (byte-compile-top-level): Add args `lexenv' and `reserved-csts'. (byte-compile-form): Don't check callargs here. (byte-compile-normal-call): Do it here instead. (byte-compile-push-unknown-constant) (byte-compile-resolve-unknown-constant): Remove, unused. (byte-compile-make-closure): Use `make-byte-code' rather than `curry', putting the environment into the "constant" pool. (byte-compile-get-closed-var): Use special byte-constant. * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Handle new intermediate special form `internal-make-vector'. (byte-optimize-lapcode): Handle new form of `byte-constant'. * lisp/help-fns.el (describe-function-1): Don't handle funvecs. * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Only convert quote to function if the content is a lambda expression, not if it's a closure. * emacs-lisp/eieio-come.el: Remove. * lisp/emacs-lisp/eieio.el: Don't require eieio-comp. (defmethod): Do a bit more work to find the body and wrap it into a function before passing it to eieio-defmethod. (eieio-defmethod): New arg `code' for it. * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Don't hide things in debugger backtrace. * lisp/emacs-lisp/cl-extra.el (cl-macroexpand-all): Use backquotes, and be more careful when quoting a function value. * lisp/emacs-lisp/cconv.el (cconv-freevars): Accept defvar/defconst. (cconv-closure-convert-rec): Catch stray `internal-make-closure'. * lisp/Makefile.in (COMPILE_FIRST): Compile pcase and cconv early. * src/eval.c (Qcurry): Remove. (funcall_funvec): Remove. (funcall_lambda): Move new byte-code handling to reduce impact. Treat all args as lexical in the case of lexbind. (Fcurry): Remove. * src/data.c (Qfunction_vector): Remove. (Ffunvecp): Remove. * src/lread.c (read1): Revert to calling make_byte_code here. (read_vector): Don't call make_byte_code any more. * src/lisp.h (enum pvec_type): Rename back to PVEC_COMPILED. (XSETCOMPILED): Rename back from XSETFUNVEC. (FUNVEC_SIZE): Remove. (FUNVEC_COMPILED_TAG_P, FUNVEC_COMPILED_P): Remove. (COMPILEDP): Rename back from FUNVECP. * src/fns.c (Felt): Remove unexplained FUNVEC check. * src/doc.c (Fdocumentation): Don't handle funvec. * src/alloc.c (make_funvec, Ffunvec): Remove. * doc/lispref/vol2.texi (Top): * doc/lispref/vol1.texi (Top): * doc/lispref/objects.texi (Programming Types, Funvec Type, Type Predicates): * doc/lispref/functions.texi (Functions, What Is a Function, FunctionCurrying): * doc/lispref/elisp.texi (Top): Remove mentions of funvec and curry.
* Merge from emacs-23Stefan Monnier2010-11-171-0/+2
|\
| * Comments related to `bzr commit --fixes'.Glenn Morris2010-11-091-1/+2
| |
* | Merge from emacs-23Stefan Monnier2010-11-091-0/+2
|\ \ | |/
| * * .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes.Stefan Monnier2010-11-081-0/+2
| |
* | * .dir-locals.el: The Emacs convention is sentence-end-double-space.Glenn Morris2010-10-041-2/+1
| | | | | | | | Remove arch-tag comment.
* | * .dir-locals.el (c-mode): Turn on whitespace-mode for diff-mode.Dan Nicolaescu2010-03-191-1/+2
|/
* (bug-reference-url-format): Change to debbugs.gnu.org.Glenn Morris2009-12-171-2/+1
|
* (change-log-mode): Restore bug-reference-mode.Dan Nicolaescu2009-09-141-1/+2
|
* (change-log-mode): Remove bug-reference-mode.Juri Linkov2009-01-141-2/+1
|
* (change-log-mode): Add bug-reference-url-format and bug-reference-mode.Juri Linkov2009-01-141-1/+4
|