1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
Commit graph

55629 commits

Author SHA1 Message Date
Eli Zaretskii
91af76bf30 Resurrect encoding of replies by Rmail which was lost in 2012-04-11T21:37:13Z!monnier@iro.umontreal.ca.
lisp/mail/rmail.el (rmail-yank-current-message): Use the encoding of
 the yanked message in preference to the default value of
 buffer-file-coding-system.
2012-04-30 15:50:12 +03:00
Martin Rudalics
d9558cadd4 Fix entry in display-buffer--action-function-custom-type 2012-04-30 11:09:26 +02:00
Alan Mackenzie
09affde083 Update CC Mode version to 5.32.3. 2012-04-27 17:49:31 +00:00
Chong Yidong
9723e05aa3 Bump version to 24.0.96.
Regenerate AUTHORS and ldefs-boot.el.
2012-04-28 00:33:57 +08:00
Chong Yidong
c5bb756916 Fix for tool-bar confusion in read-key.
* lisp/subr.el (read-key): Avoid running filter function when setting
up temporary tool bar entries.

Fixes: debbugs:9922
2012-04-27 10:24:38 +08:00
Bastien Guerry
5e0e5e3676 org-ctags.el (org-ctags-new-topic-template): Fix the option default value back again.
This option was changed by error in this commit:
http://git.savannah.gnu.org/cgit/emacs.git/diff/lisp/org/org-protocol.el?h=emacs-24&id=0fc749f9

I first overwrote this change by error, then backported it
into Org git repo, then backported the error back into Emacs.

This is now fixed.
2012-04-26 22:46:10 +02:00
Glenn Morris
cdb45185ee ChangeLog fix 2012-04-26 14:57:49 -04:00
Bastien Guerry
2f885dcacb Sync with Org git commit 374c56b. 2012-04-26 19:30:04 +02:00
Bastien Guerry
3959f36938 lisp/org/ChangeLog: remove references to files that are not in the directory. 2012-04-26 18:57:34 +02:00
Andreas Schwab
c4347ab9e5 Fixes: debbugs:11344
* vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2012-04-26 11:27:37 +02:00
Chong Yidong
acb71f1dad Ensure that X selection convertors properly encode returned strings.
Though not itself a regression, this bug was exposed by the support
for MULTIPLE selections, which is new to Emacs 24 (see Bug#11315).

* lisp/select.el (xselect--encode-string): New function, split from
xselect-convert-to-string.
(xselect-convert-to-string): Use it.
(xselect-convert-to-filename, xselect-convert-to-os)
(xselect-convert-to-host, xselect-convert-to-user): Ensure that
returned strings are properly encoded.
2012-04-24 13:34:50 +08:00
Chong Yidong
d55486c7f8 * simple.el (delete-active-region): Move to killing custom group. 2012-04-22 15:19:29 +08:00
Bastien Guerry
d6d0cf1f18 Remove wrong ChangeLog entry in lisp/org/ChangeLog.
Thanks to Stephen Berman for pointing this.
2012-04-22 01:06:59 +02:00
Andreas Schwab
581b67880c * progmodes/which-func.el (which-func-current): Quote %
characters for mode-line processing.
2012-04-21 20:25:20 +02:00
Chong Yidong
18edb22d4f Fix xml.el regression introduced by 2012-01-27 change.
* lisp/xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
reaching eob.

Fixes: debbugs:11286
2012-04-21 17:53:37 +08:00
Andreas Schwab
7b9946cfd9 * gnus.el (debbugs-gnu): Don't override existing autoload definition. 2012-04-21 09:55:02 +02:00
Glenn Morris
ed99f8ff2e Comment fix 2012-04-20 20:32:15 -04:00
Paul Eggert
4b932ea214 Fix logic for returning to and yanking from Rmail buffer.
* mail/rmail.el (rmail-start-mail):
Pass (rmail-mail-return...) for the return-action.
Pass (rmail-yank-current-message...) for the yank-action.
(rmail-yank-current-message): New function.
(rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
(rmail-reply): Likewise.
(rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.

* mail/sendmail.el (mail-bury): Choose the first rmail-mode
buffer, not the last.  Reject temp buffers.  Use the rmail-mode
buffer, not newbuf.
2012-04-20 12:17:59 -07:00
Eli Zaretskii
9ee9f4709c Fix bug #11279 with sending command blocks to GDB.
lisp/progmodes/gdb-mi.el (gdb-control-level): New variable.
 (gdb): Make it buffer-local and init to zero.
 (gdb-control-commands-regexp): New variable.
 (gdb-send): Don't wrap in "-interpreter-exec console" if
 gdb-control-level is positive.  Increment gdb-control-level
 whenever the command matches gdb-control-commands-regexp, and
 decrement it each time the command is "end".  (Bug#11279)
2012-04-20 13:09:40 +03:00
Martin Rudalics
feeb6f5345 Improve fix for resizing minibuffer windows. 2012-04-20 11:59:10 +02:00
Chong Yidong
71bd2d79dd * lisp/startup.el: Fix typo. 2012-04-20 17:41:27 +08:00
Martin Rudalics
41cfe0cb4c Fix resizing of minibuffer windows (Bug#11276).
* window.el (adjust-window-trailing-edge, enlarge-window)
(shrink-window, window-resize):
* mouse.el (mouse-drag-line): Fix resizing of minibuffer
windows (Bug#11276).
2012-04-20 10:49:24 +02:00
Dan Nicolaescu
540710130b Fix sysfs battery display.
* battery.el (battery-echo-area-format): Display remaining time
for sysfs backend too (Bug#11269).
(battery-linux-sysfs): Fix conditional for the charge.
2012-04-20 15:32:35 +08:00
Chong Yidong
8912063b46 Fix last change.
* lisp/progmodes/gdb-mi.el (gdb-inferior-io-sentinel): Don't do
anything if gdb process is killed.
2012-04-20 15:13:25 +08:00
Chong Yidong
f30d612a7a Fixes for pty handling in gdb-mi.el and process.c.
* lisp/progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
(gdb-inferior-io--init-proc): New function.
(gdb-init-1): Use it.
(gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
responsible for allocating a new pty and hooking it to gdb when
the old pty gets an EIO due to process exit.
(gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
(gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
(gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.

* src/process.c (wait_reading_process_output): If EIO occurs on a pty,
set the status to "failed" and ensure that sentinel is run.

* doc/lispref/processes.texi (Asynchronous Processes): Mention nil
argument to start-process.
2012-04-20 14:39:29 +08:00
Eli Zaretskii
cd0f830c21 ChangeLog updates for last commit. 2012-04-20 09:28:32 +03:00
Eli Zaretskii
2116e93c7c Doc fixes in window.el functions.
lisp/window.el (window-min-size, window-sizable, window-min-delta)
 (window-max-delta, window--resizable, window-resizable)
 (window-total-size, window-full-height-p, window-full-width-p)
 (window-in-direction, window--resize-mini-window, window-resize)
 (window--resize-child-windows-normal)
 (window--resize-child-windows, window--resize-siblings)
 (window--resize-this-window, adjust-window-trailing-edge)
 (enlarge-window, shrink-window): Doc fixes.
2012-04-20 09:27:11 +03:00
Chong Yidong
b668fa6eb0 Delete the gdb-inferior pty when the gdb process exits.
* lisp/progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
function to call delete-process on the gdb-inferior buffer's pty.
(gdb-reset): Use it, instead of relying on kill-buffer to kill the
pty process.
(gdb-update): New arg to suppress talking to the gdb process.
(gdb-done-or-error): Use it.
(gdb-stopped-functions): Rename from gdb-stopped-hooks.
(gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
sentinel not being called.

* lisp/comint.el (make-comint-in-buffer, comint-exec): Doc fix.

Fixes: debbugs:11273
2012-04-19 16:09:30 +08:00
Glenn Morris
c0ea08d2d1 More small edits for doc/lispref/minibuf.texi
* doc/lispref/minibuf.texi (Object from Minibuffer):
Remove overly pedantic paragraph.
(Minibuffer History): Copyedits.  Add face-name-history.
(Initial Input, Yes-or-No Queries, Multiple Queries)
(Minibuffer Windows, Minibuffer Misc): Copyedits.
(Yes-or-No Queries): Tweak example.
(Minibuffer Commands): Add next-complete-history-element.
(Minibuffer Misc): Mention minibuffer-message-timeout, and
minibuffer-inactive-mode.

* doc/lispref/minibuf.texi (Minibuffers):
* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
Fix minibuffer subsection order.

* lisp/subr.el: Comment.
2012-04-18 23:04:05 -07:00
Chong Yidong
d02766abd7 * lisp/progmodes/grep.el (grep, rgrep): Doc fix.
Fixes: debbugs:11268
2012-04-18 14:04:51 +08:00
Glenn Morris
016a35dfa7 More process-related doc and manual small edits
* doc/lispref/processes.texi (Output from Processes, Filter Functions):
Mention waiting-for-user-input-p.
(Sentinels, Query Before Exit, System Processes, Transaction Queues):
(Network Servers, Datagrams, Network Processes, Network Options)
(Network Feature Testing, Serial Ports): Copyedits.
(Network): Add encrypted network overview paragraph.
Cross-reference the Emacs-GnuTLS manual.  Use @acronym.

* lisp/net/network-stream.el (open-network-stream): Doc fix.

* src/process.c (Fset_process_inherit_coding_system_flag)
(Fset_process_query_on_exit_flag): Doc fix (mention return value).
(Fmake_network_process): Doc fix.
2012-04-17 20:48:43 -07:00
Juanma Barranquero
8eae3a58fc lisp/subr.el: Update comment. 2012-04-17 18:24:44 +02:00
Chong Yidong
2c070447bf * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos. 2012-04-17 23:07:21 +08:00
Alan Mackenzie
f0f6bc351b CC Mode: Ensure searching for keywords is case sensitive. 2012-04-16 20:01:44 +00:00
Chong Yidong
4fc2c72a6f * mail/sendmail.el (mail-bury): Call return action with the right Rmail buffer.
Fixes: debbugs:11242
2012-04-16 18:11:45 +08:00
Chong Yidong
9a864fa27d Move "emacsclient -t -n" handling from emacsclient.c to server.el.
Fix its buggy logic for the Windows case (regression from 23.4).

* lib-src/emacsclient.c (decode_options): Move -t -n corner case handling
into server.el.

* lisp/server.el (server-process-filter): Handle corner case where both
tty and nowait options are present.

Fixes: debbugs:11102
2012-04-15 16:49:24 +08:00
Glenn Morris
e153c13643 Doc and manual fixes related to processes
* doc/lispref/processes.texi (Processes, Subprocess Creation, Shell Arguments):
(Synchronous Processes): Copyedits.
(Subprocess Creation): Discourage modifying exec-path directly.
(Synchronous Processes): Update some example output.
(Process Information): Fix typo.
(Bindat Spec): Use Texinfo-recommended form of quote+punctuation.

* lisp/simple.el (process-file-side-effects): Doc fix.
2012-04-14 18:37:16 -07:00
Glenn Morris
ca7d96c81a * lisp/international/mule-cmds.el (set-language-environment): Doc fix. 2012-04-14 11:14:01 -07:00
Stefan Monnier
9c2d6a4ab2 Avoid the use of ((lambda ...) ...) in lexical-binding code.
* emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall.

Fixes: debbugs:11241
2012-04-14 08:48:27 -04:00
Chong Yidong
9557e2beb2 Fix for C-x C-x in cua-selection-mode.
* emulation/cua-base.el (cua-exchange-point-and-mark): Just call
exchange-point-and-mark if cua-enable-cua-keys is nil.

Fixes: debbugs:11191
2012-04-13 15:10:11 +08:00
Lars Magne Ingebrigtsen
d11f2f381a gnus-msg.el (gnus-inews-insert-gcc): `C-x m' on a non-group line fixup 2012-04-12 22:38:08 +00:00
Chong Yidong
81927dd2a4 New Lisp manual nodes, Applying Customizations and Custom Themes.
* doc/lispref/customize.texi (Applying Customizations):
(Custom Themes): New nodes.

* doc/lispref/display.texi (Defining Faces): Reference custom-set-faces.

* doc/lispref/modes.texi (Defining Minor Modes, Defining Minor Modes):
* doc/lispref/os.texi (Startup Summary): Copyedits.

* doc/emacs/custom.texi (Creating Custom Themes): Add reference to Custom
Themes node in Lisp manual.

* lisp/custom.el (custom-theme-set-variables): Doc fix.
2012-04-12 22:50:58 +08:00
Glenn Morris
8edb942b9f Doc and manual fixes related to mule
* doc/emacs/mule.texi (International): Copyedits.
(International Chars): Update C-x = example output.
(Disabling Multibyte): Rename from "Enabling Multibyte".
Clarify what "unibyte: t" does, and mode-line description.
(Unibyte Mode): Update for "Disabling Multibyte" node name change.
Use Texinfo recommended convention for quotes+punctuation.

* doc/emacs/custom.texi (Specifying File Variables):
Fix "unibyte" description.
Update for "Disabling Multibyte" node name change.

* doc/emacs/emacs.texi: Update for "Disabling Multibyte" node name change.

* doc/lispref/loading.texi (Loading Non-ASCII):
"unibyte:" can also be at the end.

* lisp/international/mule.el (set-auto-coding-for-load): Doc fix.
2012-04-11 21:09:15 -04:00
Lars Magne Ingebrigtsen
dc2ab667ae gnus-art.el (article-wash-html): Fix non-ASCII characters when washing HTML (bug#7410).
gnus-msg.el (gnus-inews-insert-gcc): Protect against when we don't have a group name.
gnus-start.el (gnus-read-newsrc-el-file): Protect against broken .newsrc.el files.
2012-04-11 22:31:16 +00:00
Stefan Monnier
4517fe3a47 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
Reported by Noah Friedman.  Backport from trunk.
2012-04-11 17:41:58 -04:00
Alan Mackenzie
57f845ee63 Make imenu work again for Objective C Mode. 2012-04-11 18:09:10 +00:00
Alan Mackenzie
0de3da9f2f Correct two search limits in c-before-change-check_<>-operators. 2012-04-11 15:32:30 +00:00
Bastien Guerry
801a68c874 Sync with Org 7.8.09 (bugfix release) 2012-04-11 12:59:50 +02:00
Stefan Monnier
ede141ac13 * lisp/startup.el (command-line-1): Inhibit splash from daemon.
Fixes: debbugs:10996
2012-04-10 13:53:31 -04:00
Andreas Schwab
d0203d6144 * international/characters.el: Fix sorting. 2012-04-10 14:21:28 +02:00