1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 20:00:46 -08:00
Commit graph

21372 commits

Author SHA1 Message Date
Glenn Morris
b2096d7233 Add missing defcustom :version tags
* lisp/textmodes/bibtex.el:
Add missing :version tags for new/changed defcustoms.
* etc/NEWS: Related edits.
2012-02-10 00:23:33 -08:00
Glenn Morris
b011fbfe6c Doc fixes for remote-file-name-inhibit-cache
* doc/lispref/files.texi (Magic File Names):
Tweak remote-file-name-inhibit-cache entry.
* lisp/files.el (remote-file-name-inhibit-cache): Doc fixes.
* etc/NEWS: Edits.
2012-02-10 00:08:23 -08:00
Lars Ingebrigtsen
4c7e65bf4f Get the MAIL FROM from the From: header if no domain is configured
* mail/smtpmail.el (smtpmail-user-mail-address): New function.
(smtpmail-via-smtp): Use it, or fall back on the From address.
(smtpmail-send-it): Ditto.
2012-02-09 23:42:12 +01:00
Stefan Monnier
f3934f6fef * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
(byte-compile-tmp-var): New const.
(byte-compile-defvar): Use it to minimize .elc size.
Just use `defvar' rather than simulate it.

Fixes: debbugs:10761
2012-02-09 16:51:03 -05:00
Glenn Morris
cf3aa21bc8 * lisp/files.el (rename-uniquely): Doc fix. (Bug#3806) 2012-02-09 15:27:54 -05:00
Glenn Morris
354998cdb6 Add some custom :version tags
* lisp/progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
Add :version tags.
2012-02-08 23:59:13 -08:00
Glenn Morris
34c071c64b * lisp/progmodes/compile.el (compilation-filter-start): Doc fix.
* etc/NEWS: Related edit.
2012-02-08 23:28:32 -08:00
Glenn Morris
8327412569 Doc fixes for compile.el
* lisp/progmodes/compile.el (compilation-first-column)
(compilation-error-screen-columns): Doc fixes.
* etc/NEWS: Related markup.
2012-02-08 23:24:30 -08:00
Glenn Morris
dab3703d9b Small VC doc fixes
* lisp/vc/log-view.el (log-view-toggle-entry-display):
* lisp/vc/vc.el (vc-merge, vc-pull): Doc fixes.
* etc/NEWS: Condense a few VC entries.
2012-02-08 22:25:18 -08:00
Glenn Morris
3f88cd72e9 Doc fixes for emacsbug.el
* lisp/mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
(report-emacs-bug-can-use-xdg-email):
(report-emacs-bug-insert-to-mailer): Doc fixes.
(report-emacs-bug): Message fix.
* etc/NEWS: Related edit.

* lisp/net/browse-url.el: Comment.
2012-02-08 22:29:41 -05:00
Glenn Morris
d95b247d1d Doc fixes for browse-url
* lisp/net/browse-url.el (browse-url-can-use-xdg-open, browse-url-xdg-open):
Doc fixes.
2012-02-08 22:14:22 -05:00
Glenn Morris
a075a2c5a6 Doc fixes for electric.el
* lisp/electric.el (electric-indent-mode, electric-pair-mode)
(electric-layout-rules, electric-layout-mode): Doc fixes.
(electric-pair-pairs, electric-pair-skip-self): Add :version tags.

* etc/NEWS: Related edits.
2012-02-08 21:40:41 -05:00
Martin Rudalics
ffb6157ecc In server-unselect-display don't inadvertently kill current buffer. (Bug#10729)
* server.el (server-unselect-display): Don't inadvertently kill
the current buffer.  (Bug#10729)
2012-02-08 09:02:17 +01:00
Glenn Morris
34e8a2da58 Shorten SQL mode NEWS entry, moving more details to doc strings
* lisp/progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
(sql-list-table): Doc fixes.
* etc/NEWS: Related edits.
2012-02-07 23:54:09 -08:00
Glenn Morris
b4ac6e8c18 Comment out the unimplemented image-transform-mode
* lisp/image-mode.el (image-transform-minor-mode-map, image-transform-mode):
Comment out (does nothing).

* etc/NEWS: Related edits.

* lisp/image.el: Comment.
2012-02-07 19:45:27 -08:00
Glenn Morris
e1ac4066d1 Minor-mode doc fixes for ARG behavior
* lisp/completion.el (dynamic-completion-mode):
* lisp/dirtrack.el (dirtrack-debug-mode):
* lisp/electric.el (electric-layout-mode):
* lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode):
* lisp/face-remap.el (text-scale-mode, buffer-face-mode):
* lisp/iimage.el (iimage-mode):
* lisp/image-mode.el (image-transform-mode):
* lisp/minibuffer.el (completion-in-region-mode):
* lisp/scroll-lock.el (scroll-lock-mode):
* lisp/simple.el (next-error-follow-minor-mode):
* lisp/tar-mode.el (tar-subfile-mode):
* lisp/tooltip.el (tooltip-mode):
* lisp/vcursor.el (vcursor-use-vcursor-map):
* lisp/wid-browse.el (widget-minor-mode):
* lisp/emulation/tpu-edt.el (tpu-edt-mode):
* lisp/emulation/tpu-extras.el (tpu-cursor-free-mode):
* lisp/international/iso-ascii.el (iso-ascii-mode):
* lisp/language/thai-util.el (thai-word-mode):
* lisp/mail/supercite.el (sc-minor-mode):
* lisp/net/goto-addr.el (goto-address-mode):
* lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
* lisp/progmodes/cwarn.el (cwarn-mode):
* lisp/progmodes/flymake.el (flymake-mode):
* lisp/progmodes/glasses.el (glasses-mode):
* lisp/progmodes/hideshow.el (hs-minor-mode):
* lisp/progmodes/pascal.el (pascal-outline-mode):
* lisp/textmodes/enriched.el (enriched-mode):
* lisp/vc/smerge-mode.el (smerge-mode):
Doc fixes (minor mode argument).

* etc/NEWS: Related markup.
2012-02-07 21:12:24 -05:00
Eli Zaretskii
5e0d957fe0 Fix bug #4673 with Dired when `stat' fails for ".." or other files.
lisp/ls-lisp.el (ls-lisp-sanitize): New function.
 (ls-lisp-insert-directory): Use it to fix or remove any elements
 in file-alist with missing attributes.
2012-02-07 19:44:36 +02:00
Alan Mackenzie
98d7371e7a Fix spurious recognition of c-in-knr-argdecl. 2012-02-07 15:19:52 +00:00
Alan Mackenzie
667ced3a2d cc-engine.el (c-forward-objc-directive): Prevent looping in "#pragma mark
@implementation".
2012-02-07 12:01:42 +00:00
Michael Albinus
5b77774d02 * notifications.el (notifications-on-closed-signal): Make `reason'
optional.  (Bug#10744)
2012-02-07 10:06:19 +01:00
Glenn Morris
60d47423d1 Doc updates for define-minor-mode argument behavior
* doc/lispref/modes.texi (Defining Minor Modes):
Expand on args of defined minor modes.
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
Doc fixes for the macro and the mode it defines.
2012-02-07 00:26:54 -08:00
Glenn Morris
dd605cc4a6 Small imagemagick doc fixes
* lisp/image.el (imagemagick-types-inhibit): Doc fix.

* src/image.c (Fimagemagick_types): Doc fix.
2012-02-06 19:46:18 -08:00
Glenn Morris
af008560fe imagemagick-render-type fixes
* src/image.c (imagemagick-render-type): Change it from a lisp object
to an integer.  Move the doc here from the lisp manual.
Treat all values not equal to 0 the same.

* doc/lispref/display.texi (ImageMagick Images):
Move most details of imagemagick-render-type to the variable's doc.

* lisp/cus-start.el (imagemagick-render-type): Add it.
2012-02-06 19:31:29 -08:00
Lars Ingebrigtsen
5cc59a3789 Allow calling C fontification while rendering MIME parts
* progmodes/cc-mode.el
(c-standard-font-lock-fontify-region-function): Set the default at
load time, too, so that `font-lock-fontify-buffer' can be called
without setting up the entire mode first.  This fixes a bug in
`mm-inline-text' with C MIME parts.
2012-02-06 23:08:41 +01:00
Chong Yidong
2d16b285e3 * simple.el (list-processes--refresh): Delete exited processes.
Fixes: debbugs:8094
2012-02-06 22:40:10 +08:00
Chong Yidong
171e9b6ee9 Minor fix for next-single-char-property-change usage.
* lisp/comint.el (comint-next-prompt): next-single-char-property-change
and prev-single-char-property-change never return nil.

Fixes: debbugs:8657
2012-02-06 21:56:40 +08:00
Chong Yidong
9a6dd7472a * lisp/custom.el (defcustom): Doc fix.
Fixes: debbugs:9711
2012-02-06 20:36:31 +08:00
Chong Yidong
983b960204 * cus-edit.el (custom-buffer-create-internal): Improve tooltip message. 2012-02-06 00:30:51 +08:00
Chong Yidong
4aab9006dd * cus-edit.el (custom-display): Add a customization type tag. 2012-02-06 00:12:05 +08:00
Chong Yidong
5c2a252fad Fix custom-variable-reset-backup's use of customized-value property.
* cus-edit.el (custom-variable-reset-backup): Quote the value
before storing it in the customized-value property.

Fixes: debbugs:6712
2012-02-05 23:50:36 +08:00
Chong Yidong
aa4589a7cf Fix how the `character' custom type handles space chars.
* lisp/wid-edit.el (widget-field-value-get): New optional arg to
suppress trailing whitespace truncation.
(character): Use it.

Fixes: debbugs:2689
2012-02-05 23:33:30 +08:00
Chong Yidong
eeb6cc88a9 Fix presentation of type-mismatched customization widgets.
* lisp/cus-edit.el (custom-variable-value-create): For mismatched
types, show the current value.

Fixes: debbugs:7600
2012-02-05 21:41:50 +08:00
Andreas Schwab
1ff980ae49 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
* progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2012-02-05 09:06:37 +01:00
Chong Yidong
03988c98df Updates to Macros and Customization chapters of Lisp manual.
* doc/lispref/customize.texi (Common Keywords): Minor clarifications.
Document custom-unlispify-remove-prefixes.
(Variable Definitions): Backquotes in defcustom seem to work fine
now.  Various other copyedits.

* doc/lispref/macros.texi (Expansion): Minor clarification.
(Backquote): Move node to eval.texi.
(Defining Macros): Move an example from Backquote node.
(Argument Evaluation): No need to mention Pascal.
(Indenting Macros): Add xref to Defining Macros.

* doc/lispref/eval.texi (Backquote): Move from macros.texi.

* lisp/custom.el (defcustom): Doc fix.
2012-02-05 14:44:47 +08:00
Glenn Morris
f8cdeef0bc * lisp/font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook. 2012-02-04 18:27:35 -08:00
Juanma Barranquero
0696d25514 lisp/emacs-lisp/pp.el: Do not reimplement common macros; use `looking-at-p'.
(pp-to-string): Use `with-temp-buffer'.
(pp-buffer): Use `ignore-errors', `looking-at-p'.
(pp-last-sexp): Use `looking-at-p'.
2012-02-05 03:09:35 +01:00
Glenn Morris
8f05da4228 Document revert-buffer-in-progress-p
* doc/lispref/backups.texi (Reverting): Mention revert-buffer-in-progress-p.
* lisp/files.el (revert-buffer): Doc fix (mention revert-buffer-in-progress-p).
* etc/NEWS: Related markup.
2012-02-04 14:04:12 -08:00
Glenn Morris
f160676e2d ert-x trivia
* lisp/emacs-lisp/ert-x.el (ert-simulate-command):
Check deferred-action-list (which is obsolete) is bound.

* etc/NEWS: Related markup.
2012-02-04 13:18:46 -08:00
Glenn Morris
c7291ad983 with-wrapper-hook doc clarifications
* doc/lispref/modes.texi (Running Hooks): Try to clarify with-wrapper-hook.
* lisp/subr.el (with-wrapper-hook): Doc fixes.
2012-02-04 12:59:54 -08:00
Glenn Morris
34c9999804 Try to document filter-buffer-substring changes
* doc/lispref/text.texi (Buffer Contents):
Update filter-buffer-substring description.

* lisp/simple.el (filter-buffer-substring-functions)
(buffer-substring-filters, filter-buffer-substring): Doc fixes.

* etc/NEWS: Related edits.
2012-02-04 11:48:06 -08:00
Lars Ljung
6283a7d3f4 Fix bug #10523 with bad value of eshell-windows-shell-file.
lisp/eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
 anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
2012-02-04 11:57:09 +02:00
Leo Liu
e96e30135e Fix dead link in smie.el
http://debbugs.gnu.org/10711
2012-02-04 16:43:26 +08:00
Glenn Morris
987a0a161a * lisp/isearch.el (isearch-update): Doc fix. 2012-02-03 21:10:22 -05:00
Glenn Morris
82ff1d1360 * lisp/image.el (image-extension-data): Add obsolete alias. 2012-02-03 21:09:34 -05:00
Glenn Morris
ea32ef4651 * lisp/facemenu.el (list-colors-display): Doc fix (minor rephrasing). 2012-02-03 20:00:51 -05:00
Glenn Morris
8ded50f24a * lisp/ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key). 2012-02-03 19:59:58 -05:00
Glenn Morris
eea14f31d1 Document animated image API
* doc/lispref/display.texi (GIF Images): Mention animation.
Remove commented-out old example of animation.
(Animated Images): New subsection.
* doc/lispref/elisp.texi (Top):
* doc/lispref/vol1.texi (Top):
* doc/lispref/vol2.texi (Top): Add Animated Images menu entry.

* lisp/image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.

* lisp/image.el (image-animated-p): Doc fix.  Use image-animated-types.
(image-animate-timeout): Doc fix.

* etc/NEWS: Markup.
2012-02-03 00:44:30 -08:00
Juanma Barranquero
9f6e692e64 lisp/ChangeLog: Fix typos. 2012-02-02 13:24:30 +01:00
Kenichi Handa
ba1d2c3e92 merge trunk 2012-02-02 18:12:08 +09:00
Kenichi Handa
c5d3843c34 Fix previous change for Bug#6988. 2012-02-02 18:07:29 +09:00