Stefan Monnier [Tue, 8 May 2012 15:19:18 +0000 (11:19 -0400)]
* lisp/vc/log-edit.el: Add GNU coding standards highlighting.
(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.
Stefan Monnier [Tue, 8 May 2012 14:19:08 +0000 (10:19 -0400)]
* lisp/imenu.el: Misc cleanup. Make docstrings out of comments.
Use lexical-binding.
(imenu--index-alist, imenu--last-menubar-index-alist)
(imenu-menubar-modified-tick): Use defvar-local.
(imenu--split-menu): Remove unused var.
(imenu--cleanup-seen): Declare as global.
(imenu--cleanup): Use dolist.
Stefan Monnier [Tue, 8 May 2012 14:11:47 +0000 (10:11 -0400)]
* lisp/subr.el (defvar-local): Add debug spec and doc-string position.
Glenn Morris [Tue, 8 May 2012 07:18:18 +0000 (00:18 -0700)]
Remove doc/lispref/two.el
* doc/lispref/two.el: Remove; unused since creation of two-volume.make.
* make-dist: No more doc/lispref/*.el.
Glenn Morris [Tue, 8 May 2012 06:44:18 +0000 (23:44 -0700)]
FOR-RELEASE comment
Glenn Morris [Tue, 8 May 2012 06:38:27 +0000 (23:38 -0700)]
Stop keeping 3 copies of the lispref menu structure for no reason
vol1.texi and vol2.texi are only used to generate TeX output, and this
constructs its own table of contents and does not use the @menu stuff.
* vol1.texi, vol2.texi: No need to keep menus in these files.
* elisp.texi, anti.texi: Comments.
Glenn Morris [Tue, 8 May 2012 02:01:28 +0000 (22:01 -0400)]
* doc/lispref/Makefile.in (clean): Add some more vol1/2 items.
Glenn Morris [Tue, 8 May 2012 01:57:08 +0000 (21:57 -0400)]
doc/lispref/two-volume.make small fix
* doc/lispref/two-volume.make (emacsdir): New.
(tex): Add directory with emacsver.texi to TEXINPUTS.
Glenn Morris [Tue, 8 May 2012 01:50:17 +0000 (21:50 -0400)]
Remove no-byte-compile setting from some lisp/language files.
Same comments as per 2012-05-01T06:59:34Z!rgm@gnu.org, for lisp/term:
Not that compiling these will bring any noticeable speed benefit, but
there's really no reason not to compile them. The extra disk space
and build time is negligible, and it might reveal use of obsolete
functions, bugs, etc.
Glenn Morris [Tue, 8 May 2012 01:41:05 +0000 (21:41 -0400)]
* lisp/play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
Aaron S. Hawley [Tue, 8 May 2012 01:25:52 +0000 (21:25 -0400)]
* progmodes/make-mode.el (makefile-browse): Remove unnecessary interactive.
Fixes: debbugs:11324
Stefan Monnier [Tue, 8 May 2012 00:27:13 +0000 (20:27 -0400)]
* shell.el (shell-completion-vars): Fix last change.
Fixes: debbugs:11348
Glenn Morris [Mon, 7 May 2012 23:02:28 +0000 (19:02 -0400)]
* doc/misc/forms.texi (Long Example): Update for changed location of files.
Glenn Morris [Mon, 7 May 2012 22:53:17 +0000 (18:53 -0400)]
Move some forms.el example files to etc/forms directory
* etc/forms/README: New.
* etc/forms/forms-d2.dat: Move to etc/forms/ subdirectory.
* etc/forms/forms-d2.el, etc/forms/forms-pass.el: Move here from ../lisp.
* lisp/forms.el: Related comment change.
Glenn Morris [Mon, 7 May 2012 22:40:58 +0000 (18:40 -0400)]
Fix NEWS typo
Glenn Morris [Mon, 7 May 2012 21:45:34 +0000 (17:45 -0400)]
Also apply previous change to file locals at the end of the file
Glenn Morris [Mon, 7 May 2012 21:26:08 +0000 (17:26 -0400)]
* lisp/international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
* etc/NEWS: Edits.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00434.html
Stefan Monnier [Mon, 7 May 2012 20:48:41 +0000 (16:48 -0400)]
* loadup.el: Preload newcomment.el.
* newcomment.el: Move autoload-only code to toplevel.
Stefan Merten [Mon, 7 May 2012 19:51:25 +0000 (21:51 +0200)]
2012-05-05 Stefan Merten <smerten@oekonux.de>
* rst.el: Major merge with upstream development up to Docutils
SVN r7399 / rst.el V1.2.1.
Clarified maintainership and authors.
(rst-extract-version, rst-cvs-header, rst-cvs-rev)
(rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
(rst-official-version, rst-official-cvs-rev, rst-version)
(rst-package-emacs-version-alist): New functions and variables
for version information.
(rst-bullets, rst-uri-schemes, rst-adornment-chars)
(rst-max-inline-length, rst-re-alist-def, rst-re-alist)
(rst-mode-syntax-table, rst-mode): New and corrected functions
and variables representing reStructuredText features.
(rst-re): New function for reStructuredText regexes. Used in
many places.
(rst-deprecated-keys, rst-call-deprecated, rst-define-key)
(rst-mode-map): Rebound keys.
(rst-mode-lazy, rst-font-lock-keywords)
(rst-font-lock-extend-region)
(rst-font-lock-extend-region-internal)
(rst-font-lock-extend-region-extend)
(rst-font-lock-find-unindented-line-limit)
(rst-font-lock-find-unindented-line-match)
(rst-adornment-level, rst-font-lock-adornment-level)
(rst-font-lock-adornment-match)
(rst-font-lock-handle-adornment-pre-match-form)
(rst-font-lock-handle-adornment-matcher): Major revision of
font-locking. Integrated with other code. `jit-lock-mode' is
used now.
(rst-preferred-adornments, rst-adjust-hook)
(rst-new-adornment-down, rst-preferred-bullets)
(rst-preferred-bullets, rst-indent, rst-indent-width)
(rst-indent-field, rst-indent-literal-normal)
(rst-indent-literal-minimized, rst-indent-comment): Changed,
extended and improved customization.
(rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
(rst-normalize-cursor-position, rst-get-decoration)
(rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
(rst-rstrip, rst-toc-insert-find-delete-contents)
(rst-shift-fill-region, rst-compute-bullet-tabs)
(rst-debug-print-tabs, rst-debug-mark-found)
(rst-shift-region-guts, rst-shift-region-right)
(rst-shift-region-left, rst-use-char-classes)
(rst-font-lock-keywords-function)
(rst-font-lock-indentation-point)
(rst-font-lock-find-unindented-line-begin)
(rst-font-lock-find-unindented-line-end)
(rst-font-lock-find-unindented-line)
(rst-font-lock-adornment-point, rst-font-lock-level)
(rst-adornment-level-alist): Removed functions and variables.
(rst-compare-adornments, rst-get-adornment-match)
(rst-suggest-new-adornment, rst-get-adornments-around)
(rst-adornment-complete-p, rst-get-next-adornment)
(rst-adjust-adornment, rst-display-adornments-hierarchy)
(rst-straighten-adornments): Standardized function names to
use "adornment" instead of "decoration". Corrected callers.
Similar standardizing happened in many places.
(rst-update-section, rst-adjust, rst-promote-region)
(rst-enumerate-region, rst-bullet-list-region)
(rst-repeat-last-character): Corrected use of `interactive'.
(rst-classify-adornment, rst-find-all-adornments)
(rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
(rst-find-leftmost-column, rst-repeat-last-character):
Refactored functions.
(rst-find-title-line, rst-reset-section-caches)
(rst-get-adornments-around, rst-adjust-adornment-work)
(rst-arabic-to-roman, rst-roman-to-arabic)
(rst-insert-list-pos, rst-insert-list-new-item)
(rst-insert-list-continue, rst-insert-list, rst-forward-line):
New functions.
(rst-all-sections, rst-section-hierarchy)
(rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
New variables.
(rst-toc-return-wincfg, rst-toc-quit-window): Using window
configuration instead of only buffer. Changed where necessary.
(rst-line-tabs, rst-compute-tabs, rst-indent-line)
(rst-shift-region, rst-adaptive-fill): New functions for
indentation and filling.
(rst-comment-line-break, rst-comment-indent)
(rst-comment-insert-comment, rst-comment-region)
(rst-uncomment-region): New functions for handling comments.
(rst-compile): Shell arguments are quoted.
(rst-compile-pdf-preview, rst-compile-slides-preview):
Temporary files are deleted after use.
Stefan Monnier [Mon, 7 May 2012 16:29:55 +0000 (12:29 -0400)]
* lisp/buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-init-header):
Handle new :right-align column property.
(tabulated-list-print-col): Idem, plus use `display' text-property to
try and preserve alignment for variable pitch fonts.
Jérémy Compostella [Mon, 7 May 2012 16:09:51 +0000 (12:09 -0400)]
Fix up display of the *Minibuf-0* buffer in the mini window.
* src/keyboard.c (read_char): Don't clear the echo area if there's no
message to clear.
* src/xdisp.c (redisplay_internal): Redisplay the mini window (with the
contents of *Minibuf-0*) if there' no message displayed in its stead.
Michael Albinus [Mon, 7 May 2012 14:57:18 +0000 (16:57 +0200)]
* dbusbind.c (XD_DEBUG_MESSAGE): Don't print message twice in
batch mode.
Chong Yidong [Mon, 7 May 2012 05:37:38 +0000 (13:37 +0800)]
Restore Buffer-menu-use-header-line functionality.
* lisp/emacs-lisp/tabulated-list.el: Add no-header-line alternative.
(tabulated-list-use-header-line): New var.
(tabulated-list-init-header): Use it.
(tabulated-list-print-fake-header): New function.
(tabulated-list-print): Use it.
(tabulated-list-sort-button-map): Add non-header-line commands.
(tabulated-list-init-header): Add column name property to basic
labels as well.
(tabulated-list-col-sort): Handle non-header-line button case.
(tabulated-list--sort-by-column-name): Fix a corner case.
* lisp/buff-menu.el (list-buffers--refresh): Handle
Buffer-menu-use-header-line.
Glenn Morris [Mon, 7 May 2012 04:29:59 +0000 (21:29 -0700)]
Improve previous dir-locals-read-from-file change
Chong Yidong [Mon, 7 May 2012 03:14:21 +0000 (11:14 +0800)]
Fix a gdb-mi process filtering issue arising in ansi-color.el.
* lisp/ansi-color.el (ansi-color-process-output): Check for validity
of comint-last-output-start before using it. This avoids a bad
interaction with gdb-mi's input/output buffer.
Glenn Morris [Sun, 6 May 2012 17:57:28 +0000 (10:57 -0700)]
* files.el (dir-locals-read-from-file): Mention dir-locals in any error message.
Chong Yidong [Sun, 6 May 2012 16:45:46 +0000 (00:45 +0800)]
* lisp/buff-menu.el: Convert to Tabulated List mode.
(Buffer-menu-buffer+size-width): Make obsolete.
(Buffer-menu-name-width, Buffer-menu-size-width): New variables.
(Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
(Buffer-menu-mode): Derive from tabulated-list-mode. Move command
documentation into docstring of buffer-menu.
(Buffer-menu-toggle-files-only): Add an informative message.
(Buffer-menu-sort): Convert to alias for tabulated-list-sort.
(Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
(Buffer-menu-unmark, Buffer-menu-backup-unmark)
(Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
(Buffer-menu-execute, Buffer-menu-select)
(Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
(Buffer-menu-bury): Use Tabulated List machinery.
(Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
(Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
Deleted.
(list-buffers--refresh): New function.
(list-buffers-noselect): Use it.
(tabulated-list-entry-size->, Buffer-menu--pretty-name)
(Buffer-menu--pretty-file-name): New helper functions.
* lisp/loadup.el: Preload tabulated-list.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
tabulated-list-sort-column.
(tabulated-list-init-header): Add the initial aligning space even
if tabulated-list-padding is zero.
* src/lisp.mk (lisp): Update.
Christopher Schmidt [Sun, 6 May 2012 15:38:30 +0000 (11:38 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
whose cdr is not a cons cell correctly.
Fixes: debbugs:11038
Glenn Morris [Sun, 6 May 2012 10:18:48 +0000 (06:18 -0400)]
Auto-commit of generated files.
Chong Yidong [Sun, 6 May 2012 08:43:46 +0000 (16:43 +0800)]
Some cleanups for the buffer menu and electric buffer menu.
* lisp/buff-menu.el (list-buffers): Move C-x C-b binding from
buff-menu.el to bindings.el.
* lisp/ebuff-menu.el (Electric-buffer-menu-undefined): Use the
:advertised-binding feature.
Chong Yidong [Sun, 6 May 2012 08:32:37 +0000 (16:32 +0800)]
Improvements for Tabulated List mode.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-format): Accept
additional plist in column descriptors.
(tabulated-list-init-header): Obey it.
(tabulated-list-get-entry): New function.
(tabulated-list-put-tag): Use it. Use string-width instead of
length.
(tabulated-list--column-number): New function.
(tabulated-list-print): Use it.
(tabulated-list-print-col): New function. Set
`tabulated-list-column-name' property on each column's text.
(tabulated-list-print-entry): Use it.
(tabulated-list-delete-entry, tabulated-list-set-col): New
functions.
(tabulated-list-sort-column): New command.
Fixes: debbugs:11337
Troels Nielsen [Sun, 6 May 2012 04:52:58 +0000 (12:52 +0800)]
Fix match highlighting in compilation buffers.
* progmodes/compile.el (compilation-internal-error-properties):
Calculate start position correctly when end-col is set but
end-line is not.
Fixes: debbugs:11382
Chong Yidong [Sun, 6 May 2012 04:28:58 +0000 (12:28 +0800)]
* frames.texi (Mouse References, Mouse Commands): Fix index entries.
Fixes: debbugs:11362
Wolfgang Jenkner [Sun, 6 May 2012 04:19:11 +0000 (12:19 +0800)]
Cosmetic fix for Man-unindent.
* lisp/man.el (Man-unindent): Use text-property-default-nonsticky to
prevent untabify from inheriting face properties.
Fixes: debbugs:11408
Chong Yidong [Sun, 6 May 2012 04:05:43 +0000 (12:05 +0800)]
* emacs-lisp/package.el (package-built-in-p): Handle `emacs' package.
Fixes: debbugs:11410
Glenn Morris [Sat, 5 May 2012 21:31:41 +0000 (14:31 -0700)]
Optionally include holidays in cal-html output
* lisp/calendar/cal-html.el: (cal-html-holidays): New option.
(cal-html-css-default): Add holiday entry.
(holiday-in-range): Autoload it.
(cal-html-htmlify-entry): Add optional class argument.
(cal-html-htmlify-list): Add optional holidays argument.
(cal-html-insert-agenda-days): Include holidays in the output.
(cal-html-one-month): Maybe include holidays.
Glenn Morris [Sat, 5 May 2012 20:58:14 +0000 (13:58 -0700)]
Move function from cal-tex to holidays
* calendar/holidays.el (holiday-in-range):
Move here from cal-tex-list-holidays.
* calendar/cal-tex.el (cal-tex-list-holidays):
Make it an obsolete alias for holiday-in-range. Update all callers.
Glenn Morris [Sat, 5 May 2012 16:38:22 +0000 (09:38 -0700)]
ChangeLog fixes
Glenn Morris [Sat, 5 May 2012 11:17:30 +0000 (07:17 -0400)]
Auto-commit of generated files.
Andreas Schwab [Sat, 5 May 2012 10:34:06 +0000 (12:34 +0200)]
* configure.in: Fix quoting bugs.
Andreas Schwab [Sat, 5 May 2012 10:18:38 +0000 (12:18 +0200)]
* configure.in: Fix last change.
Andreas Schwab [Sat, 5 May 2012 09:40:49 +0000 (11:40 +0200)]
Only ignore info/*.info
Eli Zaretskii [Sat, 5 May 2012 08:40:31 +0000 (11:40 +0300)]
Fix failures in starting subprocesses on Windows 7.
src/w32proc.c (new_child): Force Windows to reserve only 64KB of
stack for each reader_thread, instead of defaulting to 8MB
determined by the linker. This avoids failures in creating
subprocesses on Windows 7, see the discussion in this thread:
http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00119.html.
Chong Yidong [Sat, 5 May 2012 05:13:27 +0000 (13:13 +0800)]
Fix package.el handling of local variables on first line.
* lisp/emacs-lisp/package.el (package-buffer-info): Avoid putting
local variables into description.
Chong Yidong [Sat, 5 May 2012 04:32:58 +0000 (12:32 +0800)]
Merge from emacs-24; up to 2012-04-20T05:47:55Z!eliz@gnu.org
Stefan Monnier [Sat, 5 May 2012 04:18:49 +0000 (00:18 -0400)]
* lisp/shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
shell-delimiter-argument-list.
(shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
Fixes: debbugs:11348
Ransom Williams [Sat, 5 May 2012 03:21:47 +0000 (23:21 -0400)]
* lisp/files.el (file-auto-mode-skip): New var.
(set-auto-mode-1): Use it.
Stefan Monnier [Sat, 5 May 2012 02:50:20 +0000 (22:50 -0400)]
Use set-temporary-overlay-map.
* lisp/repeat.el: Use lexical-binding.
(repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
(repeat-undo-count): Remove.
(repeat):
* lisp/progmodes/octave-mod.el (octave-abbrev-start):
* lisp/progmodes/f90.el (f90-abbrev-start):
* lisp/face-remap.el (text-scale-adjust):
* lisp/kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
Glenn Morris [Sat, 5 May 2012 02:49:19 +0000 (19:49 -0700)]
* minibuf.texi (Minibuffer History, Basic Completion): Tweak page breaks.
Glenn Morris [Sat, 5 May 2012 02:28:00 +0000 (19:28 -0700)]
Undo part of previous change
Glenn Morris [Sat, 5 May 2012 02:26:45 +0000 (19:26 -0700)]
More small edits for doc/lispref
* internals.texi (Garbage Collection, Memory Usage)
(Writing Emacs Primitives): Tweak page breaks.
Stefan Monnier [Sat, 5 May 2012 02:05:49 +0000 (22:05 -0400)]
* lisp/emacs-lisp/pcase.el (pcase--let*): New function.
(pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
a bit more.
(pcase--split-pred): Be more clever about ruling out overlap between
a predicate and some constant pattern.
(pcase--q1): Use `null' instead of (eq foo nil).
Stefan Monnier [Sat, 5 May 2012 01:47:04 +0000 (21:47 -0400)]
New function set-temporary-overlay-map and macros (defvar|setq)-local.
* lisp/subr.el (setq-local, defvar-local): New macros.
(kbd): Redefine as an alias.
(with-selected-window): Leave unrelated frames alone.
(set-temporary-overlay-map): New function.
Glenn Morris [Sat, 5 May 2012 01:16:54 +0000 (21:16 -0400)]
More page break tweaks for doc/lispref
* doc/lispref/edebug.texi (Edebug Display Update): Improve page break.
* doc/lispref/streams.texi (Output Variables): Improve page break.
Glenn Morris [Sat, 5 May 2012 01:05:12 +0000 (21:05 -0400)]
* doc/lispref/compile.texi (Disassembly): Condense the examples.
Glenn Morris [Sat, 5 May 2012 00:37:30 +0000 (20:37 -0400)]
More small edits for doc/lispref
* control.texi: Where possible, use example rather than smallexample.
(Sequencing, Conditionals, Signaling Errors, Handling Errors):
Tweak page breaks.
* customize.texi: Where possible, use example rather than smallexample.
(Common Keywords, Variable Definitions, Applying Customizations)
(Custom Themes): Tweak page breaks.
* eval.texi, functions.texi, loading.texi, macros.texi:
Where possible, use example rather than smallexample.
* sequences.texi (Arrays): Tweak page breaks.
* symbols.texi: Where possible, use example rather than smallexample.
(Symbol Components): Fix typo.
(Other Plists): Tweak page break.
Stefan Monnier [Fri, 4 May 2012 23:16:47 +0000 (19:16 -0400)]
Add new error and function `user-error'.
* lisp/subr.el (user-error): New function.
* lisp/window.el (switch-to-buffer):
* lisp/vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
(smerge-match-conflict):
* lisp/simple.el (previous-matching-history-element)
(next-matching-history-element, goto-history-element, undo-more)
(undo-start):
* lisp/progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
(find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
(next-file, tags-loop-scan, list-tags, complete-tag):
* lisp/progmodes/compile.el (compilation-loop):
* lisp/mouse.el (mouse-minibuffer-check):
* lisp/man.el (Man-bgproc-sentinel, Man-goto-page):
* lisp/info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
(Info-history-forward, Info-follow-reference, Info-menu)
(Info-extract-menu-item, Info-extract-menu-counting)
(Info-forward-node, Info-backward-node, Info-next-menu-item)
(Info-last-menu-item, Info-next-preorder, Info-last-preorder)
(Info-next-reference, Info-prev-reference, Info-index)
(Info-index-next, Info-follow-nearest-node)
(Info-copy-current-node-name):
* lisp/imenu.el (imenu--make-index-alist)
(imenu-default-create-index-function, imenu-add-to-menubar):
* lisp/files.el (basic-save-buffer, recover-file):
* lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
* lisp/emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
(checkdoc-message-text, checkdoc-defun):
* lisp/dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
* lisp/cus-edit.el (customize-changed-options, customize-rogue)
(customize-saved, custom-variable-set, custom-variable-mark-to-save)
(custom-variable-mark-to-reset-standard)
(custom-variable-reset-backup, custom-face-mark-to-reset-standard)
(custom-file):
* lisp/completion.el (check-completion-length):
* lisp/comint.el (comint-search-arg)
(comint-previous-matching-input-string-position)
(comint-previous-matching-input)
(comint-replace-by-expanded-history-before-point, comint-send-input)
(comint-copy-old-input, comint-backward-matching-input)
(comint-goto-process-mark, comint-set-process-mark):
* lisp/calendar/calendar.el (calendar-cursor-to-date): Use it.
* lisp/bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
* src/data.c (PUT_ERROR): New macro.
(syms_of_data): Use it. Add new error type `user-error'.
* src/undo.c (user_error): New function.
(Fprimitive_undo): Use it.
* src/print.c (print_error_message): Adjust print style for `user-error'.
* src/keyboard.c (user_error): New function.
(Fexit_recursive_edit, Fabort_recursive_edit): Use it.
Glenn Morris [Fri, 4 May 2012 20:53:03 +0000 (16:53 -0400)]
* doc/misc/Makefile.in (info): Make it the first target again.
Stefan Monnier [Fri, 4 May 2012 19:17:01 +0000 (15:17 -0400)]
* lisp/dabbrev.el (dabbrev--ignore-case-p): New function.
(dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
Use it.
Stefan Monnier [Fri, 4 May 2012 19:14:42 +0000 (15:14 -0400)]
* lisp/files.el (automount-dir-prefix): Mark as obsolete.
Glenn Morris [Fri, 4 May 2012 11:17:28 +0000 (07:17 -0400)]
Auto-commit of loaddefs files.
Kenichi Handa [Fri, 4 May 2012 10:26:36 +0000 (18:26 +0800)]
Backport fix for Bug#11282 from trunk
Chong Yidong [Fri, 4 May 2012 10:23:00 +0000 (18:23 +0800)]
* select.el (xselect--encode-string): Always use utf-8 for TEXT on Nextstep.
Glenn Morris [Fri, 4 May 2012 10:17:30 +0000 (06:17 -0400)]
Auto-commit of generated files.
Glenn Morris [Fri, 4 May 2012 07:38:33 +0000 (00:38 -0700)]
Small edits for doc/lispref/lists.texi
* lists.texi (List-related Predicates, List Variables): Tweak page-breaks.
(Sets And Lists): Convert inforef to xref.
Glenn Morris [Fri, 4 May 2012 07:29:52 +0000 (00:29 -0700)]
* text.texi (Auto Filling): Don't mention Emacs 19.
Glenn Morris [Fri, 4 May 2012 07:27:29 +0000 (00:27 -0700)]
A belated farewell to documenting Emacs 18 features
* commands.texi (Event Input Misc): Don't mention unread-command-char.
* numbers.texi (Predicates on Numbers): Don't mention Emacs 18.
Glenn Morris [Fri, 4 May 2012 07:24:02 +0000 (00:24 -0700)]
* objects.texi (Process Type, Overlay Type): Tweak page-breaks.
Glenn Morris [Fri, 4 May 2012 07:14:51 +0000 (00:14 -0700)]
Small edits for lispref/intro.texi
* intro.texi (Caveats): Copyedit.
(Lisp History): Convert inforef to xref.
(Lisp History, Printing Notation, Version Info): Improve page-breaks.
Glenn Morris [Fri, 4 May 2012 07:04:40 +0000 (00:04 -0700)]
* elisp.texi (DATE): Forgot to change the month in 2012-04-21 change.
Glenn Morris [Fri, 4 May 2012 06:45:03 +0000 (23:45 -0700)]
Give info files the .info extension
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00354.html
* configure.in (INFO_EXT, INFO_OPTS): New output variables.
* doc/emacs/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
(info, infoclean): Use $INFO_EXT.
($(infodir)/emacs$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
* doc/emacs/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
(INFO_TARGETS): Use $INFO_EXT.
($(infodir)/emacs$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT, and -o.
* doc/lispintro/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
(info, infoclean): Use $INFO_EXT.
(${infodir}/eintr$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
* doc/lispintro/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
(INFO_TARGETS, clean): Use $INFO_EXT.
($(infodir)/eintr$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
* doc/lispref/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
(info, infoclean): Use $INFO_EXT.
($(infodir)/elisp$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
* doc/lispref/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
(info, maintainer-clean): Use $INFO_EXT.
($(infodir)/elisp$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
* doc/misc/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
(INFO_TARGETS): Use $INFO_EXT.
Make all rules generating info files use $INFO_EXT, $INFO_OPT, and -o.
* doc/misc/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
(INFO_TARGETS): Use $INFO_EXT.
Make all rules generating info files use $INFO_EXT, $INFO_OPT, and -o.
Glenn Morris [Fri, 4 May 2012 06:38:36 +0000 (23:38 -0700)]
* patcomp.el, play/bruce.el: Move to obsolete/.
* etc/NEWS: Mention this.
Glenn Morris [Fri, 4 May 2012 06:34:42 +0000 (23:34 -0700)]
Small lispintro edits
* emacs-lisp-intro.texi (Making Errors): Don't mention Emacs 20.
(Void Function, Wrong Type of Argument, Recursion with list)
(Simple Extension): Assume a non-ancient Emacs.
(Void Variable, Switching Buffers): Improve page breaks.
Paul Eggert [Fri, 4 May 2012 06:13:18 +0000 (23:13 -0700)]
Fix minor Y10k bugs.
* lisp/arc-mode.el (archive-unixdate):
* lisp/autoinsert.el (auto-insert-alist):
* lisp/calc/calc-forms.el (math-this-year):
* lisp/gnus/nnweb.el (nnweb-google-parse-1):
* lisp/emacs-lisp/copyright.el (copyright-current-year)
(copyright-update-year, copyright):
* lisp/tar-mode.el (tar-clip-time-string):
* lisp/time.el (display-time-update):
Don't assume years have 4 digits.
Chong Yidong [Fri, 4 May 2012 06:02:23 +0000 (14:02 +0800)]
* iswitchb.el (iswitchb-all-frames): Fix last change.
Chong Yidong [Fri, 4 May 2012 05:14:14 +0000 (13:14 +0800)]
Convert more defvars to defcustoms.
* dos-w32.el (file-name-buffer-file-type-alist)
(direct-print-region-use-command-dot-com):
* ffap.el (ffap-menu-regexp):
* follow.el (follow-debug):
* forms.el (forms--debug):
* iswitchb.el (iswitchb-all-frames):
* ido.el (ido-all-frames):
* mail/feedmail.el (feedmail-mail-send-hook)
(feedmail-mail-send-hook-queued):
* mail/footnote.el (footnote-signature-separator):
* mail/mailabbrev.el (mail-alias-separator-string)
(mail-abbrev-mode-regexp):
* mail/rmail.el (rmail-speedbar-match-folder-regexp):
* progmodes/idlwave.el (idlwave-libinfo-file)
(idlwave-default-completion-case-is-down)
(idlwave-library-routines): Convert defvars to defcustoms.
* mail/rmail.el (rmail-decode-mime-charset):
* progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
(idlwave-shell-fix-inserted-breaks)
(idlwave-shell-activate-alt-keybindings)
(idlwave-shell-use-breakpoint-glyph):
* facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
* doc/lispref/os.texi (Timers): Use defopt for timer-max-repeats.
Paul Eggert [Thu, 3 May 2012 20:04:29 +0000 (13:04 -0700)]
Do not limit current-time-string to years 1000..9999.
* src/editfns.c (TM_YEAR_IN_ASCTIME_RANGE): Remove.
(Fcurrent_time_string): Support any year that is supported by the
underlying localtime representation. Don't use asctime, as it
has undefined behavior for years outside the range -999..9999.
* doc/lispref/os.texi (Time of Day): Do not limit current-time-string
to years 1000..9999.
* etc/NEWS: Do not limit current-time-string to years 1000..9999.
Stefan Monnier [Thu, 3 May 2012 19:54:07 +0000 (15:54 -0400)]
* minibuffer.el (completion--twq-all): Beware completion-ignore-case.
Wilson Snyder [Thu, 3 May 2012 19:23:55 +0000 (15:23 -0400)]
Merge verilog-mode.el from upstream.
* progmodes/verilog-mode.el (font-lock-keywords):
Fix mis-highligting auto. Reported by Craig Barner.
(verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
defines from global name space. Reported by Dan Dever.
(verilog-auto-reset, verilog-auto-reset-widths)
(verilog-auto-tieoff): Support using unbased numbers for
AUTORESET and AUTOTIEOFF.
(verilog-submit-bug-report): Update variable list.
(verilog-read-auto-params): Fix AUTOINPUT regexps containing
parenthesis from not matching. Reported by Michael Rytting.
(verilog-auto-template-lint): Fix hash error when linting modules
with no used templates.
(verilog-warn, verilog-warn-error)
(verilog-warn-fatal): When non-interactive report multiple
warnings before exiting. Suggested by Brad Dobbie.
(verilog-auto-template-lint, verilog-auto-template-warn-unused)
(verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
to report unused template errors. Reported by Brad Dobbie.
(verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
nets, bug438. Reported by Vns Blore.
(verilog-auto-inout-module, verilog-auto-reg)
(verilog-read-decls, verilog-read-sub-decls-sig)
(verilog-signals-edit-wire-reg, verilog-signals-with):
Fix passing of Verilog data types in ANSI input/output ports
such as "output logic" into the AUTOs. Special case "wire" and
"reg" for backwards compatibility presuming Verilog 2001.
(verilog-auto-ascii-enum): Add "auto enum" as alias.
(verilog-preprocess): Fix replication of preprocess output.
Reported by Brad Dobbie.
(verilog-auto-inst-interfaced-ports):
Create verilog-auto-inst-interfaced-ports, bug429.
Reported by Julian Gorfajn.
(verilog-after-save-font-hook)
(verilog-before-save-font-hook): New variable.
(verilog-modi-cache-results, verilog-save-font-mod-hooked)
(verilog-save-font-mods): Wrap disabling fontification, reported
by David Rogoff.
(verilog-do-indent, verilog-pretty-declarations-auto)
(verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
Reported by Pierre-David Pfister.
(verilog-set-auto-endcomments): Fix endtask auto comments outside
of class declarations, bug292. Reported by Kevin Heilman.
(verilog-read-decls): Fix 'parameter type' not appearing in
AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
(verilog-auto-logic): Fix when AUTOLOGIC present to properly do
AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
(verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
Reported by David Kravitz.
* progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
assignment with tests in ifs and for loops.
(verilog-extended-complete-re, verilog-complete-reg): Change so
that DPI inport functions don't look like fuction declarations.
(verilog-pretty-expr): Don't line up assignment
operations to the test and increment in if and for loops
(verilog-extended-complete-re, verilog-complete-reg): Change so
that DPI inport functions don't look like fuction declarations
Glenn Morris [Thu, 3 May 2012 10:20:40 +0000 (06:20 -0400)]
Auto-commit of loaddefs files.
Glenn Morris [Thu, 3 May 2012 10:17:27 +0000 (06:17 -0400)]
Auto-commit of generated files.
Glenn Morris [Thu, 3 May 2012 07:23:27 +0000 (00:23 -0700)]
More page break tweaks for the manual
* doc/emacs/custom.texi (Customization Groups, Custom Themes, Examining):
Improve page breaks.
Glenn Morris [Thu, 3 May 2012 07:12:48 +0000 (00:12 -0700)]
* rmail.texi (Rmail Display): Use example rather than smallexample.
Glenn Morris [Thu, 3 May 2012 07:07:21 +0000 (00:07 -0700)]
* doc/emacs/calendar.texi: Convert inforefs to refs.
Glenn Morris [Thu, 3 May 2012 06:58:28 +0000 (23:58 -0700)]
* doc/emacs/dired.texi (Dired Enter): Improve page break.
Kenichi Handa [Thu, 3 May 2012 06:57:54 +0000 (15:57 +0900)]
merge trunk
Glenn Morris [Thu, 3 May 2012 06:56:05 +0000 (23:56 -0700)]
* doc/emacs/abbrevs.texi (Abbrev Concepts): Copyedits.
Glenn Morris [Thu, 3 May 2012 06:50:59 +0000 (23:50 -0700)]
* maintaining.texi (Registering, Tag Syntax): Tweak line and page breaks.
Glenn Morris [Thu, 3 May 2012 06:50:23 +0000 (23:50 -0700)]
Comment
Glenn Morris [Thu, 3 May 2012 06:43:02 +0000 (23:43 -0700)]
Small edits for programs.texi in Emacs manual
* doc/emacs/programs.texi (Programs, Electric C): Copyedits.
(Program Modes): Add xref to Fortran.
(Left Margin Paren): Remove what was (oddly enough) the only use
of defvar in the entire Emacs manual.
(Hungry Delete): Remove footnote about ancient Emacs version.
(Other C Commands): Use example rather than smallexample.
Glenn Morris [Thu, 3 May 2012 06:22:54 +0000 (23:22 -0700)]
More page break tweaks for the manual
* doc/emacs/text.texi (Pages, Filling, Foldout, Org Mode, HTML Mode)
(Nroff Mode, Enriched Indentation, Table Rows and Columns):
Tweak line and page breaks.
Kenichi Handa [Thu, 3 May 2012 05:47:24 +0000 (14:47 +0900)]
mail/rmailmm.el (rmail-show-mime): Catch an error caused by text decoding, and show a warning message without signalling an error (Bug#11282).
Stefan Monnier [Thu, 3 May 2012 02:39:23 +0000 (22:39 -0400)]
* lisp/emacs-lisp/bytecomp.el
(byte-compile-file-form-custom-declare-variable): Compile all elements,
since cconv.el might have introduced :fun-body, internal-make-closure,
and friends for bytecomp to handle.
* lisp/custom.el (defcustom): Avoid ((λ ..) ..).
Fixes: debbugs:11391
Glenn Morris [Thu, 3 May 2012 02:14:32 +0000 (22:14 -0400)]
Tweaks for doc/emacs/modes.texi
* doc/emacs/modes.texi (Major Modes, Minor Modes):
Reword to improve page-breaks.
(Major Modes): Use example rather than smallexample.
Glenn Morris [Thu, 3 May 2012 02:10:18 +0000 (22:10 -0400)]
* doc/emacs/mule.texi (Output Coding): Reword to improve page-breaks.
Glenn Morris [Thu, 3 May 2012 02:05:45 +0000 (22:05 -0400)]
* doc/emacs/frames.texi (Text-Only Mouse): Fix xref.
Glenn Morris [Thu, 3 May 2012 02:04:07 +0000 (22:04 -0400)]
* doc/emacs/frames.texi (Fonts): Tweak line and page breaks.
Change cross-reference.
Use example rather than smallexample (these examples are not wide,
smallexample saves little vertical space, but makes things harder to
read).
Glenn Morris [Thu, 3 May 2012 01:41:54 +0000 (21:41 -0400)]
Tweak page breaks in doc/emacs/buffers.texi
* doc/emacs/buffers.texi (Buffers, Kill Buffer, Several Buffers)
(Indirect Buffers): Tweak line- and page-breaks.
Glenn Morris [Thu, 3 May 2012 01:22:38 +0000 (21:22 -0400)]
* doc/emacs/fixit.texi (Fixit, Undo): Reword to improve page-breaks.
Glenn Morris [Thu, 3 May 2012 01:13:19 +0000 (21:13 -0400)]
* etc/refcards/README: Update