1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-14 16:50:58 +00:00
Commit Graph

104768 Commits

Author SHA1 Message Date
Paul Eggert
9af5ed8756 * buffer.c (compare_overlays): Don't assume args differ (Bug#6830). 2012-03-12 01:27:25 -07:00
Kenichi Handa
4b05d72231 international/quail.el (quail-insert-kbd-layout): Surround each row by LRO and PDF instead of inserting many LRMs. Pad the left and right of each non-spacing marks. Insert invisible space between lower and upper characters to prevent composition. 2012-03-12 16:42:02 +09:00
Chong Yidong
d1f55f1668 Rename inhibit_window_configuration_change_hook to inhibit_lisp_code.
This is a tweak to 2012-02-23T07:28:21Z!cyd@gnu.org, suggested by Stefan.

* eval.c (inhibit_lisp_code): Rename from
inhibit_window_configuration_change_hook; move from window.c.

* xfns.c (unwind_create_frame_1, Fx_create_frame):
* window.c (run_window_configuration_change_hook)
(syms_of_window): Callers changed.
2012-03-12 14:34:32 +08:00
Stefan Monnier
dbbc2e69e4 * lisp/minibuffer.el (minibuffer-complete): Don't get confused when the
function is run twice via different commands.
(complete-with-action): Fix docstring.

Fixes: debbugs:10958
2012-03-12 00:10:59 -04:00
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
413df97302 * keymap.c (Fkey_description): Doc fix.
Fixes: debbugs:9700
2012-03-12 01:08:10 +08:00
Chong Yidong
397a688f21 * simple.el (goto-line): Doc fix.
Fixes: debbugs:9938
2012-03-12 00:57:04 +08:00
Chong Yidong
66c5eebd41 * src/editfns.c (Fconstrain_to_field): Doc fix.
* doc/lispref/text.texi (Fields): Minor copyedit.

Fixes: debbugs:9452
2012-03-12 00:27:36 +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
Andreas Schwab
2b84f674cc * emacsclient.c (main): Handle multiple messages in a single
datagram.
2012-03-11 12:49:59 +01:00
Andreas Schwab
6b0c89847a Don't access freed memory in emacsclient
* emacsclient.c (socket_name): Add const.
(get_server_config): Add parameter config_file, use it instead of
global server_file.
(set_tcp_socket): Add parameter local_server_file, pass it down to
get_server_config.
(set_local_socket): Add parameter local_socket_name, use it
instead of global socket_name.
(set_socket): Adjust calls to set_local_socket and set_tcp_socket.
Don't clobber global server_file or socket_name.
(main): No longer reset server_file or socket_name.
2012-03-11 12:15:25 +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
Eli Zaretskii
83a96c0872 Warn against using `length' to compute display width of a string.
doc/lispref/strings.texi (String Basics):
 doc/lispref/sequences.texi (Sequence Functions): Mention that `length' is
 not appropriate for computing the string width on display; add a
 cross-reference to the description of `string-width'.  (Bug#10978)
2012-03-10 11:55:54 +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
Eli Zaretskii
589ce07027 Fix the change in 2012-03-10T02:20:41Z!cyd@gnu.org, for bug #10450.
doc/misc/info.texi (Expert Info): Move the index entry for "Texinfo" from
 "Getting Started" to this node.
2012-03-10 11:40:05 +02:00
Eli Zaretskii
310a820fc0 Minor change of wording in ELisp manual's "Autoloading" node.
doc/lispref/eval.texi (Autoloading): Minor change of wording.
2012-03-10 11:30:21 +02: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
1de11f569d * frame.c (other_visible_frames): Don't assume selected frame is visible.
Fixes: debbugs:10955
2012-03-10 15:46:07 +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
Chong Yidong
8ae818e48e * doc/misc/flymake.texi: Mention the Automake COMPILE variable.
Fixes: debbugs:8715
2012-03-10 12:10:21 +08:00
Chong Yidong
bc44be50ba * loading.texi (Autoload): Explicitly state which forms are processed specially.
Fixes: debbugs:7783
2012-03-10 12:00:13 +08:00
Chong Yidong
83ef8187f4 Fixes for Mouse Menu node.
* doc/lispref/keymaps.texi (Mouse Menus): Describe non-toolkit behavior as the
non-default situation.  Describe one-submenu exception.

* doc/lispref/nonascii.texi (Character Properties): Copyedits.

Fixes: debbugs:7695
2012-03-10 11:27:10 +08:00
Chong Yidong
a53925272e * doc/misc/info.texi (Getting Started): Add an index entry.
Fixes: debbugs:10450
2012-03-10 10:20:41 +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
Stefan Monnier
cae0700001 * src/buffer.c (compare_overlays): Avoid qsort's instability.
Fixes: debbugs:6830
2012-03-09 11:46:25 -05:00
Mohsen BANAN
4f96ea3f4f Update the Persian input methods.
leim/quail/persian.el: Update which includes: (1) full compliance to
 ISIRI-6219, forbiden characters were eliminated and missing
 characters were added; (2) layer 3 of ISIRI-9147 is now
 implemented with a '\' prefix; (3) double entry of characters
 which were postfixed with 'h' is now supported; (4) lots of
 comment and additional pointers have been added.
2012-03-09 14:18:25 +02: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