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

55457 commits

Author SHA1 Message Date
Chong Yidong
5d1ac394e1 Adapt nXML mode to Emacs 24 completion scheme.
* lisp/nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET.
(nxml-completion-at-point-function): New function.
(nxml-mode): Use it.
(nxml-bind-meta-tab-to-complete-flag): Default to t.

Fixes: debbugs:6776
2012-03-12 11:58:20 +08:00
Chong Yidong
292112ed3b Load a package's generated autoloads file before byte compiling it.
* lisp/emacs-lisp/package.el (package-unpack, package-unpack-single):
Load generated autoloads file before byte compiling.
(package--make-autoloads-and-compile): New helper fun.

Fixes: debbugs:10970
2012-03-12 11:03:16 +08:00
Christopher Schmidt
4098f8f73c * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error. 2012-03-12 10:41:22 +08:00
David Engster
da4189812b * semantic/wisent/javascript.el (js-mode): Define `js-mode' as
child-mode of `javascript-mode' (bug #8445).
2012-03-11 21:29:14 +01:00
Michael Albinus
8d815e3c6a Fix previous patch. 2012-03-11 19:02:48 +01:00
Michael Albinus
8f75469172 * autorevert.el (auto-revert-handler): Ensure, that
file-readable-p is applied only for local files or in
auto-revert-tail-mode.
2012-03-11 18:58:16 +01:00
Andreas Schwab
ad0bf5b6db * server.el (server-eval-at): Handle non-tcp connections. Decode
result string.
2012-03-11 18:54:16 +01:00
Andreas Schwab
e29ab36b48 Define -print-nonl client command
* lib-src/emacsclient.c (main): Handle -print-nonl command.

* lisp/server.el (server-msg-size): New constant.
(server-reply-print): New function.
(server-eval-and-print): Use it.
(server-eval-at): Use server-quote-arg and server-unquote-arg.
Handle -print-nonl.
2012-03-11 18:53:07 +01:00
Christopher Schmidt
de5939bafc * ibuffer.el (ibuffer-redisplay): Remove gratuitous error.
Fixes: debbugs:10987
2012-03-12 01:31:44 +08:00
Chong Yidong
397a688f21 * simple.el (goto-line): Doc fix.
Fixes: debbugs:9938
2012-03-12 00:57:04 +08:00
Chong Yidong
d3760c4b0a Further doc fix for save-window-excursion. 2012-03-12 00:16:50 +08:00
Chong Yidong
2cc775f91d Doc fixes for save-window-excursion.
* lisp/subr.el (save-window-excursion): Doc fix.

* doc/lispref/windows.texi (Window Configurations): save-window-excursion is
now a macro.

* doc/lispref/display.texi (Temporary Displays): with-output-to-temp-buffer is
now a macro.

Fixes: debbugs:9979
2012-03-12 00:10:07 +08:00
Chong Yidong
0c93eabf35 * dabbrev.el (dabbrev--find-expansion): Update progress reporter. 2012-03-11 23:45:44 +08:00
Chong Yidong
091006330e Allow url-http to handle expired keepalive connections.
* lisp/url/url-http.el (url-http-end-of-document-sentinel): Handle
keepalive expiry by calling url-http again.
(url-http): New arg, for the above.

Fixes: debbugs:10223
2012-03-11 23:12:26 +08:00
Martin Rudalics
c491fa4190 In split-window-below fix handling of split-window-keep-point (Bug#10971).
* window.el (split-window-below): Fix bug in case where
split-window-keep-point is nil (Bug#10971).
2012-03-11 14:30:30 +01:00
Juri Linkov
300e8fa562 * lisp/replace.el (replace-highlight): Set isearch-word to nil unconditionally.
Fixes: debbugs:10887
2012-03-11 12:27:53 +02:00
Devon Sean McCullough
179f69112d Bugfix for url-http-find-free-connection.
* lisp/url/url-http.el (url-http-find-free-connection): Don't pass a nil
argument to url-http-mark-connection-as-busy.

Fixes: debbugs:10891
2012-03-11 17:43:01 +08:00
Eli Zaretskii
dbf6c5a160 Allow ^substr, substr=, ~word in mairix searches via the form widget.
lisp/net/mairix.el (mairix-replace-invalid-chars): Rename from
 mairix-replace-illegal-chars; all callers changed.  Don't remove
 ^, ~, and = characters: they are meaningful in mairix search
 specs.
 (mairix-widget-create-query): Add usage information about mairix
 search forms: negating words, searching for substrings, etc.
2012-03-10 16:36:42 +02:00
Jae-hyeon Park
b9e501dee8 * international/fontset.el (font-encoding-alist): Add an entry for ksx1001.
Fixes: debbugs:5667
2012-03-10 17:45:06 +08:00
Richard M. Stallman
1694e6c1bb sendmail mode quoting bug fix. 2012-03-10 04:11:22 -05:00
Richard M. Stallman
607e855510 mail-utils.el: multibyte chars should be quoted. 2012-03-10 04:02:06 -05:00
Richard M. Stallman
de3bc99a8d rmail.el: If view buffer gets lost with the real text, don't save
the Rmail file as just one message.
2012-03-10 03:54:24 -05:00
Richard M. Stallman
92795c9142 Make epa-mail-encrypt cope with read-only text. 2012-03-10 03:43:27 -05:00
Chong Yidong
699bd04ed6 Add delete-forward-char to CUA remappings.
* lisp/emulation/cua-rect.el (cua--init-rectangles):
* lisp/emulation/cua-base.el (cua--init-keymaps): Add delete-forward-char to remappings.

Fixes: debbugs:9666
2012-03-10 16:26:45 +08:00
Martin Rudalics
570a171480 Fix speedbar highlighting bug.
* lisp/speedbar.el (speedbar-unhighlight-one-tag-line): Avoid
unhighlighting due to frame switching.

Fixes: debbugs:10275
2012-03-10 15:58:54 +08:00
Chong Yidong
7a2c7ca7ca Give completion field overlays high priority.
* lisp/minibuffer.el (completion-in-region, completion-help-at-point):
Give the completion field overlay a high priority.

Fixes: debbugs:6830
2012-03-10 15:08:51 +08:00
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