1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-23 04:53:12 -08:00
Commit graph

55431 commits

Author SHA1 Message Date
Chong Yidong
82dcf4e4d8 * dired.el (dired-goto-file): Recognize absolute file name listings.
(dired-goto-file-1): New helper function.
(dired-toggle-read-only): Inhibit warnings.

Fixes: debbugs:7126
2012-03-10 13:20:58 +08:00
David Edmondson
972596ccca mm-uu.el (mm-uu-forward-extract): Be more liberal when extracting forwards as MIME 2012-03-10 02:02:24 +00:00
Michael Albinus
052e28acfc * net/dbus.el: (dbus-property-handler): Return empty array if
there are no properties.
2012-03-09 23:06:09 +01:00
Leo Liu
95d5e396e2 Stricter check for string value in savehist-printable
Fixes: debbugs:10937
2012-03-10 02:09:46 +08:00
Eli Zaretskii
3f018d6d39 Make sure smtpmail produces valid mbox files with Unix EOLs for FCC.
lisp/mail/smtpmail.el (smtpmail-send-it): Bind
 coding-system-for-write to *-unix, so that FCC files are kept in
 valid mbox format.
2012-03-09 13:06:44 +02:00
Glenn Morris
f7fd3d79b7 Another dir-locals iteration
* lisp/files.el (dir-locals-find-file):
Don't check result is regular, readable.
(dir-locals-read-from-file): Demote errors.
2012-03-08 22:21:49 -05:00
Eli Zaretskii
6ff6e72f79 Prevent bidi reordering of rows and keys in the quail layout display.
lisp/international/quail.el (quail-insert-kbd-layout): Insert
 invisible LRM characters before each character in a keyboard
 layout cell, to prevent their reordering by bidi display engine.
 For details, see the discussion in
 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2012-03-08 20:21:07 +02:00
Alan Mackenzie
9cec78342c Make c-mark-defun extend region when repeated, and leave a mark.
Fixes bugs #5525, #10906.
2012-03-08 11:32:57 +00:00
Michael Albinus
5aca4f7140 Fix my email address. 2012-03-08 09:22:16 +01:00
Glenn Morris
9a40b8d45e Undo 2012-03-06T08:22:42Z!rgm@gnu.org
* lisp/files.el (locate-dominating-file, dir-locals-find-file):
Undo 2012-03-06 change.
2012-03-07 22:06:28 -08:00
Katsumi Yamaoka
d9507ec54e mm-uu.el (mm-uu-type-alist): Comment fix by Frank Haun <fh@fhaun.de> 2012-03-08 02:34:26 +00:00
Eli Zaretskii
7a08ed357d Fix direction of keyboard layout display for Arabic input method.
lisp/international/quail.el (quail-help): Force
 bidi-paragraph-direction be left-to-right.  See discussion in
 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
 for the reason.
2012-03-07 20:48:07 +02:00
Michael Albinus
6612a28444 Avoid superfluous registering of signals. (Bug#10807)
* notifications.el (notifications-on-action-object)
(notifications-on-close-object): New defvars.
(notifications-on-action-signal, notifications-on-closed-signal):
Unregister the signal if not needed any longer.
(notifications-notify): Register `notifications-action-signal' or
`notifications-closed-signal', if :on-action or :on-close has been
passed as argument.
2012-03-07 08:48:16 +01:00
Chong Yidong
78e8b10a3e * cus-start.el: Avoid x-select-enable-clipboard-manager warning on non-X platforms. 2012-03-07 13:53:51 +08:00
Glenn Morris
69481eb82d pc-win.el doc fix for bug#10783
* lisp/term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
(x-disown-selection-internal, x-get-selection-internal):
Doc fix (add arglist signatures).
2012-03-06 14:48:46 -05:00
Kaushik Srenevasan
133b8e1120 Small gdb-breakpoints fix (tiny change)
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00753.html

* lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
Handle breakpoints with no "type".
2012-03-06 00:37:38 -08:00
Glenn Morris
99a8306435 Tweak previous dir-locals-find-file change
* lisp/files.el (locate-dominating-file): Add optional predicate argument.
(dir-locals-find-file): Make use of above change.
2012-03-06 00:22:42 -08:00
Glenn Morris
2e86d8576c Comment. 2012-03-05 22:02:44 -05:00
Thien-Thi Nguyen
17798e786e * lisp/info.el (Info-insert-dir): Also try "dir.gz".
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00005.html
2012-03-05 22:00:52 -05:00
Glenn Morris
8f2114eef3 dir-locals-find-file tweak for "odd" .dir-locals.el (bug#10928)
* lisp/files.el (dir-locals-find-file):
Ignore non-readable or non-regular files.
2012-03-05 21:50:28 -05:00
Glenn Morris
eb18244605 * lisp/files.el (locate-dominating-file): Doc fix. 2012-03-05 21:31:32 -05:00
Adam Spiers
2467932310 calendar-set-mode-line fix (tiny change)
* lisp/calendar/calendar.el (calendar-set-mode-line):
`getenv' returns a string.

Fixes: debbugs:10951
2012-03-05 21:18:29 -05:00
Leo Liu
109aa8a95e * lisp/simple.el (backward-delete-char-untabify): Constrain point to
field.

Fixes: debbugs:10939
2012-03-05 23:53:34 +08:00
Leo Liu
01d972a90b * lisp/eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key. 2012-03-05 18:44:31 +08:00
Chong Yidong
10607bea34 Tweaks to count-words and count-words-region behavior.
In particular, make count-words more analogous to the existing
count-lines function.

* lisp/simple.el (count-words): If called from Lisp, return the word
count, for symmetry with `count-lines'.  Arglist changed.
(count-words--message): Args changed.  Consolidate counting code
from count-words and count-words-region.
(count-words-region): Caller changed.
(count-lines-region): Make it an obsolete alias.
2012-03-05 14:10:11 +08:00
Thierry Volpiatto
ee30fbcdd3 gnus-msg.el (gnus-msg-mail): Call `message-mail' correctly when Gnus isn't running (bug#10897). 2012-03-04 22:19:10 +00:00
Tassilo Horn
5dd11cfee6 * saveplace.el (save-place-to-alist)
(save-place-ignore-files-regexp): Allow value nil to disable this
 feature.
2012-03-04 17:56:21 +01:00
Chong Yidong
c349f4e6ff Another tweak to default face handling in face-spec-reset-face.
* lisp/faces.el (face-spec-reset-face): For the default face, reset the
attributes to default values.

Fixes: debbugs:10748
2012-03-04 23:03:51 +08:00
Michael Albinus
db976e3cd8 Fix typo. 2012-03-04 15:12:18 +01:00
Michael Albinus
a41a6cf444 * notifications.el: Fix previous patch. 2012-03-04 14:43:13 +01:00
Lars Magne Ingebrigtsen
e627be4c9d Fix up the emacsbug query-once logic from the previous patch
* mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
previous patch: Check `message-send-mail-function', and not the
default function.

Fixes: debbugs:10897
2012-03-04 14:34:33 +01:00
Michael Albinus
ebeabff47e * notifications.el (notifications-unique-name): New defvar.
(notifications-on-action-signal, notifications-on-closed-signal):
Check for unique service name of incoming event.
(top): Register for signals with wildcard service name.
(notifications-notify): Remember daemon unique service name.
2012-03-04 12:21:31 +01:00
Chong Yidong
e24b21b447 * lisp/emacs-lisp/package.el: Bump package version to 1.0.
Fixes: debbugs:10838
2012-03-04 17:45:01 +08:00
Chong Yidong
c1ca42b4fb * cus-start.el: Make x-select-enable-clipboard-manager customizable. 2012-03-04 14:55:06 +08:00
Glenn Morris
ea16568d87 Checked lispref/abbrevs.texi
* doc/lispref/abbrevs.texi: Small copyedits throughout.
(Abbrev Mode): Remove this section, folding it into the top-level.
(Abbrev Tables): Don't mention irrelevant return values.
(Abbrev Expansion): Add cross-ref for wrapper hooks.
(Standard Abbrev Tables): Emacs Lisp mode now has its own table.
(Abbrev Table Properties): Update nil :regexp description.

* lisp/abbrev.el (copy-abbrev-table, abbrev-table-p)
(abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
(expand-abbrev, define-abbrev-table): Doc fixes.

* admin/FOR-RELEASE: Related markup.
2012-03-03 18:45:04 -08:00
Lars Magne Ingebrigtsen
a1e7225c98 net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag. 2012-03-04 00:15:34 +00:00
Lars Magne Ingebrigtsen
fbae463706 Further `sendmail-query-once' cleanups for sending bug reports
* mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
`message-default-send-mail-function' and not `send-mail-function'
when doing the prompting for `sendmail-query-once' before sending
in Message buffers.

Fixes: debbugs:10897
2012-03-03 15:43:03 +01:00
Alan Mackenzie
56d093a9c8 Depessimize the handling of very large macros. 2012-03-02 22:16:21 +00:00
Michael Albinus
817e5c3dfc * jka-compr.el (jka-compr-call-process): Apply
`file-accessible-directory-p' only when the default directory is
not remote.
2012-03-02 16:29:28 +01:00
Glenn Morris
eec1549a6b Auto-commit of loaddefs files. 2012-03-01 06:18:19 -05:00
Michael Albinus
99a54f2128 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.

* vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
Add "PAGER=" to `process-environment'.
2012-03-01 10:01:08 +01:00
Michael Albinus
a032a70212 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
access of FILE2, if FILE1 does not exist.
2012-03-01 09:33:50 +01:00
Michael Mauger
f6561e1f9a 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
* progmodes/sql.el: Bug fix
	(sql-get-login-ext): Save login values in globals.
	(sql-get-login): Use new version of `sql-get-login-ext'.
	(sql-interactive-mode): Set global `sql-connection' to nil.
	(sql-connect): Set global values for connection.
	(sql-product-interactive): Save global values as buffer local.
2012-03-01 00:01:22 -05:00
Leo Liu
2d44d9cc70 Reset sys to nil in define-abbrevs
Otherwise all abbrevs after are regarded as system ones and not saved
to disk, causing data loss.
2012-02-29 23:05:42 +08:00
Juanma Barranquero
bf7f9bc5e2 Fix ChangeLog typos. 2012-02-28 13:36:39 +01:00
thierry volpiatto
96b4930127 * lisp/files.el (file-equal-p): renamed from `files-equal-p'.
Now return nil when one or both files doesn't exists.
(file-subdir-of-p): Now only top directory must exists,
return nil if it doesn't.
(copy-directory): No need to test with `file-subdir-of-p' after creating dir.
* tramp.el (tramp-file-name-for-operation): Rename `files-equal-p' to `file-equal-p'.
* files.texi: Rename `files-equal-p' to `file-equal-p'.
2012-02-28 10:28:52 +01:00
Glenn Morris
44e97401cd Standardize possessive apostrophe usage in manuals, docs, and comments
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
2012-02-28 00:17:21 -08:00
Chong Yidong
ecf5f74e6b Fix M-x in Viper mode.
* lisp/emulation/viper-cmd.el (viper-intercept-ESC-key): Fix
key-binding lookup for ESC key.

Fixes: debbugs:9146
2012-02-27 21:14:36 +08:00
Chong Yidong
9c62cd0479 Bump version to 24.0.94 2012-02-27 11:20:00 +08:00
Chong Yidong
c98c62764a * font-lock.el (font-lock-specified-p): Rename from font-lock-spec-present.
Callers changed.
2012-02-27 10:34:12 +08:00