bpt/emacs.git
12 years agoFixes for pty handling in gdb-mi.el and process.c.
Chong Yidong [Fri, 20 Apr 2012 06:39:29 +0000 (14:39 +0800)]
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.

12 years agoChangeLog updates for last commit.
Eli Zaretskii [Fri, 20 Apr 2012 06:28:32 +0000 (09:28 +0300)]
ChangeLog updates for last commit.

12 years agoDoc fixes in window.el functions.
Eli Zaretskii [Fri, 20 Apr 2012 06:27:11 +0000 (09:27 +0300)]
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.

12 years agoFOR-RELEASE small edits
Glenn Morris [Fri, 20 Apr 2012 04:03:55 +0000 (21:03 -0700)]
FOR-RELEASE small edits

12 years agoSome rough FAQ additions for Emacs 24
Glenn Morris [Fri, 20 Apr 2012 02:19:43 +0000 (22:19 -0400)]
Some rough FAQ additions for Emacs 24

* doc/misc/faq.texi (New in Emacs 24): New section.
(Packages that do not come with Emacs): Mention M-x list-packages.

12 years agoMore small edits for doc/lispref/minibuf.texi
Glenn Morris [Fri, 20 Apr 2012 01:37:14 +0000 (21:37 -0400)]
More small edits for doc/lispref/minibuf.texi

* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
* doc/lispref/minibuf.texi (Completion):
Update "High-Level Completion" description.

* doc/lispref/minibuf.texi (Basic Completion):
No need to describe obarrays here.
Don't mention obsolete `nospace' argument of all-completions.
(Minibuffer Completion, Completion Commands, Reading File Names)
(Completion Variables): Copyedits.
(Completion Commands): Mention parent keymaps.
Remove obsolete minibuffer-local-filename-must-match-map.
(High-Level Completion): Remove read-variable's almost
word-for-word duplication of read-command.

12 years agoDelete the gdb-inferior pty when the gdb process exits.
Chong Yidong [Thu, 19 Apr 2012 08:09:30 +0000 (16:09 +0800)]
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

12 years agoChangeLog fix
Glenn Morris [Thu, 19 Apr 2012 06:05:58 +0000 (23:05 -0700)]
ChangeLog fix

12 years agoMore small edits for doc/lispref/minibuf.texi
Glenn Morris [Thu, 19 Apr 2012 06:04:05 +0000 (23:04 -0700)]
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.

12 years agoShameful typo
Glenn Morris [Thu, 19 Apr 2012 02:44:48 +0000 (19:44 -0700)]
Shameful typo

12 years agoSmall edits for doc/lispref/minibuf.texi
Glenn Morris [Thu, 19 Apr 2012 02:00:23 +0000 (22:00 -0400)]
Small edits for doc/lispref/minibuf.texi

* doc/lispref/minibuf.texi: Standardize metasyntactic variables
("history", etc).
Use Texinfo-recommended form of quote+punctuation.
(Intro to Minibuffers): First minibuffer is #1, not #0.
Mention minibuffer-inactive-mode.
(Text from Minibuffer): Copyedits.
(Minibuffer History, Programmed Completion): Fix @var usage.

12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 18 Apr 2012 11:17:59 +0000 (07:17 -0400)]
Auto-commit of generated files.

12 years agoMore small doc and lispref edits related to processes
Glenn Morris [Wed, 18 Apr 2012 07:21:18 +0000 (00:21 -0700)]
More small doc and lispref edits related to processes

* doc/lispref/processes.texi (Serial Ports, Byte Packing, Bindat Spec)
(Bindat Functions): Copyedits.

* src/process.c (Fset_process_inherit_coding_system_flag)
(Fset_process_query_on_exit_flag): Doc fix (mention return value).
(Fmake_network_process, Fmake_serial_process): Doc fix.

* admin/FOR-RELEASE: Related markup.

12 years agoDocfix for require-final-newline in Lisp manual.
Christopher Schmidt [Wed, 18 Apr 2012 06:20:47 +0000 (14:20 +0800)]
Docfix for require-final-newline in Lisp manual.

* doc/lispref/files.texi (Saving Buffers): Document `visit and `visit-save'
values of require-final-newline.

12 years ago* lisp/progmodes/grep.el (grep, rgrep): Doc fix.
Chong Yidong [Wed, 18 Apr 2012 06:04:51 +0000 (14:04 +0800)]
* lisp/progmodes/grep.el (grep, rgrep): Doc fix.

Fixes: debbugs:11268

12 years agoMore process-related doc and manual small edits
Glenn Morris [Wed, 18 Apr 2012 03:48:43 +0000 (20:48 -0700)]
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.

12 years ago* configure.in: Don't use the -R option (Bug#11251).
Ludovic Courtès [Wed, 18 Apr 2012 02:14:53 +0000 (10:14 +0800)]
* configure.in: Don't use the -R option (Bug#11251).

12 years agolisp/subr.el: Update comment.
Juanma Barranquero [Tue, 17 Apr 2012 16:24:44 +0000 (18:24 +0200)]
lisp/subr.el: Update comment.

12 years agoFix bug #11261 with cursor movement in a continued line when header line is present.
Eli Zaretskii [Tue, 17 Apr 2012 15:25:17 +0000 (18:25 +0300)]
Fix bug #11261 with cursor movement in a continued line when header line is present.

 src/xdisp.c (string_buffer_position_lim): Limit starting position to BEGV.
 (set_cursor_from_row): If called for a mode-line or header-line
 row, return zero immediately.
 (try_cursor_movement): If inside continuation line, don't back up
 farther than the first row after the header line, if any.  Don't
 consider the header-line row as "partially visible", even if
 MATRIX_ROW_PARTIALLY_VISIBLE_P returns non-zero.

12 years ago* emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
Chong Yidong [Tue, 17 Apr 2012 15:07:21 +0000 (23:07 +0800)]
* emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.

12 years agoImprove description of :advertised-binding in Lisp manual.
Chong Yidong [Tue, 17 Apr 2012 05:58:34 +0000 (13:58 +0800)]
Improve description of :advertised-binding in Lisp manual.

* doc/lispref/keymaps.texi (Menu Bar): Move most of the :advertised-binding
description to help.texi.

* doc/lispref/help.texi (Keys in Documentation): Mention :advertised-binding.

12 years agoCC Mode: Ensure searching for keywords is case sensitive.
Alan Mackenzie [Mon, 16 Apr 2012 20:01:44 +0000 (20:01 +0000)]
CC Mode: Ensure searching for keywords is case sensitive.

12 years ago* mail/sendmail.el (mail-bury): Call return action with the right Rmail buffer.
Chong Yidong [Mon, 16 Apr 2012 10:11:45 +0000 (18:11 +0800)]
* mail/sendmail.el (mail-bury): Call return action with the right Rmail buffer.

Fixes: debbugs:11242

12 years ago* processes.texi (Accepting Output): Discourage use of `millisec' argument.
Glenn Morris [Mon, 16 Apr 2012 00:55:06 +0000 (17:55 -0700)]
* processes.texi (Accepting Output): Discourage use of `millisec' argument.

12 years agoMore small edits for doc/lispref/processes.texi
Glenn Morris [Mon, 16 Apr 2012 00:50:58 +0000 (17:50 -0700)]
More small edits for doc/lispref/processes.texi

* doc/lispref/processes.texi (Process Information, Input to Processes)
(Signals to Processes, Output from Processes, Process Buffers)
(Filter Functions, Decoding Output): Copyedits.

12 years agoMove "emacsclient -t -n" handling from emacsclient.c to server.el.
Chong Yidong [Sun, 15 Apr 2012 08:49:24 +0000 (16:49 +0800)]
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

12 years ago* doc/emacs/misc.texi (emacsclient Options): More clarifications.
Chong Yidong [Sun, 15 Apr 2012 07:21:23 +0000 (15:21 +0800)]
* doc/emacs/misc.texi (emacsclient Options): More clarifications.

12 years agoMore small edits for doc/lispref/processes.texi
Glenn Morris [Sun, 15 Apr 2012 01:58:41 +0000 (18:58 -0700)]
More small edits for doc/lispref/processes.texi

* doc/lispref/processes.texi (Asynchronous Processes, Deleting Processes):
Copyedits.
(Asynchronous Processes): Update some example output.

12 years agoDoc and manual fixes related to processes
Glenn Morris [Sun, 15 Apr 2012 01:37:16 +0000 (18:37 -0700)]
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.

12 years agodoc/lispref/anti.texi small edits
Glenn Morris [Sat, 14 Apr 2012 20:43:11 +0000 (13:43 -0700)]
doc/lispref/anti.texi small edits

* doc/lispref/anti.texi (Antinews): Copyedits.  Don't @dfn anything here.
open-network-stream does exist in Emacs 23, but is simpler.

* admin/FOR-RELEASE: Related markup.

12 years ago* doc/emacs/msdog.texi (Windows Printing): It doesn't set printer-name.
Glenn Morris [Sat, 14 Apr 2012 20:24:45 +0000 (13:24 -0700)]
* doc/emacs/msdog.texi (Windows Printing): It doesn't set printer-name.
* admin/FOR-RELEASE: Related edit.

Ref http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00402.html

12 years agoRemove outdated sentence from doc/emacs/mule.texi.
Glenn Morris [Sat, 14 Apr 2012 19:33:33 +0000 (12:33 -0700)]
Remove outdated sentence from doc/emacs/mule.texi.
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00403.html

12 years agoMore small edits for doc/emacs/mule.texi
Glenn Morris [Sat, 14 Apr 2012 19:20:25 +0000 (12:20 -0700)]
More small edits for doc/emacs/mule.texi

* doc/emacs/mule.texi (Language Environments): Move font info to "Fontsets".
(Fontsets): Move intlfonts etc here from "Language Environments".
Copyedits.
(Defining Fontsets, Modifying Fontsets, Undisplayable Characters)
(Unibyte Mode, Charsets, Bidirectional Editing): Copyedits.

* admin/FOR-RELEASE: Related markup.

12 years ago* lisp/international/mule-cmds.el (set-language-environment): Doc fix.
Glenn Morris [Sat, 14 Apr 2012 18:14:01 +0000 (11:14 -0700)]
* lisp/international/mule-cmds.el (set-language-environment): Doc fix.

12 years agoAvoid the use of ((lambda ...) ...) in lexical-binding code.
Stefan Monnier [Sat, 14 Apr 2012 12:48:27 +0000 (08:48 -0400)]
Avoid the use of ((lambda ...) ...) in lexical-binding code.
* emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall.

Fixes: debbugs:11241

12 years ago* doc/emacs/glossary.texi (Glossary): Standardize on "text terminal" terminology.
Chong Yidong [Sat, 14 Apr 2012 08:25:06 +0000 (16:25 +0800)]
* doc/emacs/glossary.texi (Glossary): Standardize on "text terminal" terminology.
All callers changed.

12 years ago* doc/emacs/misc.texi (emacsclient Options): Document "client frame" concept
Chong Yidong [Sat, 14 Apr 2012 04:48:50 +0000 (12:48 +0800)]
* doc/emacs/misc.texi (emacsclient Options): Document "client frame" concept
and its effect on C-x C-c more carefully.

12 years agodoc/emacs trivia
Glenn Morris [Sat, 14 Apr 2012 02:42:22 +0000 (19:42 -0700)]
doc/emacs trivia

* doc/emacs/frames.texi (Scroll Bars):
* doc/emacs/glossary.texi (Glossary):
Use consistent case for "X Window System".

12 years agoMore small edits for doc/emacs/mule.texi
Glenn Morris [Sat, 14 Apr 2012 02:40:49 +0000 (19:40 -0700)]
More small edits for doc/emacs/mule.texi

* doc/emacs/mule.texi (Select Input Method, Coding Systems):
State command names in kbd tables.
(Recognize Coding): Add cross-ref.
(Output Coding): Don't mention message mode in particular.
(Text Coding, Communication Coding, File Name Coding, Terminal Coding):
Copyedits.

12 years ago* lread.c (lisp_file_lexically_bound_p): Fix hang at ";-*-\n".
Atsuo Ohki [Fri, 13 Apr 2012 18:08:18 +0000 (14:08 -0400)]
* lread.c (lisp_file_lexically_bound_p): Fix hang at ";-*-\n".

Fixes: debbugs:11238

12 years agoFix for C-x C-x in cua-selection-mode.
Chong Yidong [Fri, 13 Apr 2012 07:10:11 +0000 (15:10 +0800)]
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

12 years ago* doc/lispref/customize.texi (Custom Themes): Also document load-theme etc.
Chong Yidong [Fri, 13 Apr 2012 04:18:40 +0000 (12:18 +0800)]
* doc/lispref/customize.texi (Custom Themes): Also document load-theme etc.

12 years agoMore small edits for doc/emacs/mule.texi
Glenn Morris [Fri, 13 Apr 2012 03:59:27 +0000 (20:59 -0700)]
More small edits for doc/emacs/mule.texi

* mule.texi (Select Input Method, Coding Systems, Recognize Coding):
Copyedits.
(Coding Systems): Mac OS X apparently uses newlines for EOL.
(Recognize Coding): Remove old auto-coding-regexp-alist example.
auto-coding-functions does not override coding: tags.
Remove rmail-decode-mime-charset; it no longer has any effect.

12 years ago* doc/misc/Makefile.in: Replace non-portable use of $< in emacs-gnutls rules.
Glenn Morris [Fri, 13 Apr 2012 00:01:59 +0000 (20:01 -0400)]
* doc/misc/Makefile.in: Replace non-portable use of $< in emacs-gnutls rules.

12 years agoBackport addition of emacs-gnutls manual from trunk
Teodor Zlatanov [Thu, 12 Apr 2012 23:59:47 +0000 (19:59 -0400)]
Backport addition of emacs-gnutls manual from trunk

12 years agognus-msg.el (gnus-inews-insert-gcc): `C-x m' on a non-group line fixup
Lars Magne Ingebrigtsen [Thu, 12 Apr 2012 22:38:08 +0000 (22:38 +0000)]
gnus-msg.el (gnus-inews-insert-gcc): `C-x m' on a non-group line fixup

12 years agolib-src/emacsclient.c (decode_options) [WINDOWSNT]: Fix typo in 2011-12-04T17:13...
Juanma Barranquero [Thu, 12 Apr 2012 18:22:06 +0000 (20:22 +0200)]
lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Fix typo in 2011-12-04T17:13:01Z!lekktu@gmail.com.
Call ttyname instead of passing its address.

12 years agoNew Lisp manual nodes, Applying Customizations and Custom Themes.
Chong Yidong [Thu, 12 Apr 2012 14:50:58 +0000 (22:50 +0800)]
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.

12 years ago* doc/emacs/mule.texi (Input Methods): Copyedits.
Glenn Morris [Thu, 12 Apr 2012 05:18:15 +0000 (22:18 -0700)]
* doc/emacs/mule.texi (Input Methods): Copyedits.
Use "^" for the postfix example, because it is less confusing inside
Info's `quotes'.

12 years ago* doc/emacs/mule.texi (Language Environments): Copyedits.
Glenn Morris [Thu, 12 Apr 2012 04:23:34 +0000 (21:23 -0700)]
* doc/emacs/mule.texi (Language Environments): Copyedits.

12 years agoDoc and manual fixes related to mule
Glenn Morris [Thu, 12 Apr 2012 01:09:15 +0000 (21:09 -0400)]
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.

12 years agognus-art.el (article-wash-html): Fix non-ASCII characters when washing HTML (bug...
Lars Magne Ingebrigtsen [Wed, 11 Apr 2012 22:31:16 +0000 (22:31 +0000)]
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.

12 years ago* imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
Stefan Monnier [Wed, 11 Apr 2012 21:41:58 +0000 (17:41 -0400)]
* imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
Reported by Noah Friedman.  Backport from trunk.

12 years agoMake imenu work again for Objective C Mode.
Alan Mackenzie [Wed, 11 Apr 2012 18:09:10 +0000 (18:09 +0000)]
Make imenu work again for Objective C Mode.

12 years agoCorrect two search limits in c-before-change-check_<>-operators.
Alan Mackenzie [Wed, 11 Apr 2012 15:32:30 +0000 (15:32 +0000)]
Correct two search limits in c-before-change-check_<>-operators.

12 years agocc-mode.texi: (c-offsets-alist): Correct a typo.
Alan Mackenzie [Wed, 11 Apr 2012 15:24:20 +0000 (15:24 +0000)]
cc-mode.texi: (c-offsets-alist): Correct a typo.

12 years agoSync with Org 7.8.09 (bugfix release)
Bastien Guerry [Wed, 11 Apr 2012 10:59:50 +0000 (12:59 +0200)]
Sync with Org 7.8.09 (bugfix release)

12 years ago* nt/makefile.w32-in: Fix typo (Bug#10261).
Dani Moncayo [Wed, 11 Apr 2012 06:33:51 +0000 (14:33 +0800)]
* nt/makefile.w32-in: Fix typo (Bug#10261).

12 years ago* lisp/startup.el (command-line-1): Inhibit splash from daemon.
Stefan Monnier [Tue, 10 Apr 2012 17:53:31 +0000 (13:53 -0400)]
* lisp/startup.el (command-line-1): Inhibit splash from daemon.

Fixes: debbugs:10996

12 years ago* international/characters.el: Fix sorting.
Andreas Schwab [Tue, 10 Apr 2012 12:21:28 +0000 (14:21 +0200)]
* international/characters.el: Fix sorting.

12 years agoAdd more missing case pairs.
Eli Zaretskii [Tue, 10 Apr 2012 11:39:33 +0000 (14:39 +0300)]
Add more missing case pairs.

 lisp/international/characters.el: Add more missing Latin case pairs.

12 years agoCopy changes from trunk 2012-04-09T18:12:40Z!schwab@linux-m68k.org to fix letter...
Andreas Schwab [Tue, 10 Apr 2012 10:52:51 +0000 (13:52 +0300)]
Copy changes from trunk 2012-04-09T18:12:40Z!schwab@linux-m68k.org to fix letter-case pairs.

 lisp/international/characters.el: Recover lost case pairs.

12 years agoMerge 2012-04-09 GnuTLS fix from trunk
Chong Yidong [Tue, 10 Apr 2012 08:00:43 +0000 (16:00 +0800)]
Merge 2012-04-09 GnuTLS fix from trunk

12 years agodoc/lispref markup fixes
Glenn Morris [Tue, 10 Apr 2012 07:34:53 +0000 (00:34 -0700)]
doc/lispref markup fixes

* strings.texi (Case Tables):
* objects.texi (General Escape Syntax):
* keymaps.texi (Key Sequences): Use @acronym with "ASCII".

12 years ago* lisp/files.el (dir-locals-set-class-variables): Doc fix.
Glenn Morris [Tue, 10 Apr 2012 07:13:54 +0000 (00:13 -0700)]
* lisp/files.el (dir-locals-set-class-variables): Doc fix.

12 years agoIn doc/lispref, use @file for buffers, per the Texinfo manual.
Glenn Morris [Tue, 10 Apr 2012 07:11:23 +0000 (00:11 -0700)]
In doc/lispref, use @file for buffers, per the Texinfo manual.
It renders the same as @samp, so there is no visible change in most cases.

12 years ago* lispref/compile.texi (Compiler Errors): Add missing space in buffer name.
Glenn Morris [Tue, 10 Apr 2012 07:04:40 +0000 (00:04 -0700)]
* lispref/compile.texi (Compiler Errors): Add missing space in buffer name.

12 years agoIn doc/emacs, use @file for buffers, per the Texinfo manual.
Glenn Morris [Tue, 10 Apr 2012 06:54:43 +0000 (23:54 -0700)]
In doc/emacs, use @file for buffers, per the Texinfo manual.
It renders the same as @samp, so there is no visible change in most cases.

12 years agoentering.texi tweak
Glenn Morris [Tue, 10 Apr 2012 06:35:54 +0000 (23:35 -0700)]
entering.texi tweak

* doc/emacs/entering.texi (Entering Emacs):
Do not mention initial-buffer-choice = t.

12 years agoFix bug #11209 with case conversion of u+0178.
Eli Zaretskii [Mon, 9 Apr 2012 17:28:36 +0000 (20:28 +0300)]
Fix bug #11209 with case conversion of u+0178.

 lisp/international/characters.el: Add set-case-syntax-pair call for
 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
 counterpart.

12 years agoFix bug #11208 with inaccurate doc string of shell-command-on-region.
Eli Zaretskii [Mon, 9 Apr 2012 16:56:35 +0000 (19:56 +0300)]
Fix bug #11208 with inaccurate doc string of shell-command-on-region.

 lisp/simple.el (shell-command-on-region): Doc fix.

12 years agoFix wording of comment in the last commit.
Eli Zaretskii [Mon, 9 Apr 2012 12:46:34 +0000 (15:46 +0300)]
Fix wording of comment in the last commit.

12 years agoFix bug #11199 with killing a line at EOB that was bidi-reordered.
Eli Zaretskii [Mon, 9 Apr 2012 12:28:45 +0000 (15:28 +0300)]
Fix bug #11199 with killing a line at EOB that was bidi-reordered.

 src/xdisp.c (find_last_unchanged_at_beg_row): Don't consider a row
 "unchanged" if its end.pos is beyond ZV.

12 years ago* nsterm.m (constrainFrameRect): Always constrain when there is only
Jan Djärv [Mon, 9 Apr 2012 10:01:04 +0000 (12:01 +0200)]
* nsterm.m (constrainFrameRect): Always constrain when there is only
one screen.

Fixes: debbugs:10962

12 years ago* lisp/calendar/holidays.el (calendar-check-holidays): Doc fix.
Glenn Morris [Mon, 9 Apr 2012 07:11:39 +0000 (00:11 -0700)]
* lisp/calendar/holidays.el (calendar-check-holidays): Doc fix.

12 years agoSupport Hebrew spell-checking in ispell.el.
Eli Zaretskii [Sun, 8 Apr 2012 17:13:15 +0000 (20:13 +0300)]
Support Hebrew spell-checking in ispell.el.

 lisp/textmodes/ispell.el (ispell-dictionary-base-alist): Add data for Hebrew.

12 years ago* doc/lispref/processes.texi (Query Before Exit): Remove obsolete function
Chong Yidong [Sun, 8 Apr 2012 13:30:26 +0000 (21:30 +0800)]
* doc/lispref/processes.texi (Query Before Exit): Remove obsolete function
process-kill-without-query.

Fixes: debbugs:11190

12 years ago* lisp/net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change.
Chong Yidong [Sun, 8 Apr 2012 13:20:43 +0000 (21:20 +0800)]
* lisp/net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change.

Fixes: debbugs:11192

12 years agoUse @env for environment variables in texinfo manuals
Glenn Morris [Sun, 8 Apr 2012 02:07:16 +0000 (19:07 -0700)]
Use @env for environment variables in texinfo manuals

It renders the same as @code, so in many cases this change is entirely cosmetic.

* doc/emacs/misc.texi (Gnus Startup):
* doc/lispref/files.texi, doc/lispref/frames.texi:
* doc/lispref/loading.texi, doc/lispref/os.texi, doc/lispref/processes.texi:
Use @env for environment variables.

12 years agoReplace non-portable use of $< in ordinary make rules
Glenn Morris [Sat, 7 Apr 2012 19:23:53 +0000 (12:23 -0700)]
Replace non-portable use of $< in ordinary make rules

Ref: http://lists.gnu.org/archive/html/help-gnu-emacs/2012-04/msg00074.html

* emacs/Makefile.in, lispintro/Makefile.in, lispref/Makefile.in:
* misc/Makefile.in: Replace non-portable use of $< in ordinary rules.

12 years ago* lisp/pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
Glenn Morris [Sat, 7 Apr 2012 18:52:43 +0000 (11:52 -0700)]
* lisp/pcmpl-rpm.el (pcomplete/rpm): Handle -qf.

Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00165.html

12 years agoetc/TODO: Update bidi-related items.
Eli Zaretskii [Sat, 7 Apr 2012 14:57:25 +0000 (17:57 +0300)]
etc/TODO: Update bidi-related items.

12 years agoFix bug #11182 with the effect of typing '?' in Shell mode.
Eli Zaretskii [Sat, 7 Apr 2012 08:12:04 +0000 (11:12 +0300)]
Fix bug #11182 with the effect of typing '?' in Shell mode.

 lisp/minibuffer.el (completion-in-region-mode-map): Bind
 completion-help-at-point to M-? rather than ?.

12 years agoWarning comments about subtleties of fetching characters from buffers/strings.
Eli Zaretskii [Fri, 6 Apr 2012 13:10:30 +0000 (16:10 +0300)]
Warning comments about subtleties of fetching characters from buffers/strings.

 src/buffer.h (FETCH_CHAR, FETCH_MULTIBYTE_CHAR):
 src/character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Add comments
 about subtle differences between FETCH_CHAR* and STRING_CHAR*
 macros related to unification of CJK characters.  For the details,
 see the discussion following the message here:
 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11073#14.

12 years ago* doc/lispref/minibuf.texi (Programmed Completion): Document metadata method.
Chong Yidong [Fri, 6 Apr 2012 06:39:35 +0000 (14:39 +0800)]
* doc/lispref/minibuf.texi (Programmed Completion): Document metadata method.
(Completion Variables): Document completion-category-overrides.

12 years agoauth.texi (Secret Service API): Adjust @samp to @code for collection names
Teodor Zlatanov [Fri, 6 Apr 2012 01:56:38 +0000 (01:56 +0000)]
auth.texi (Secret Service API): Adjust @samp to @code for collection names

12 years ago`shrink-window' doc fix
Lars Magne Ingebrigtsen [Thu, 5 Apr 2012 22:26:20 +0000 (00:26 +0200)]
`shrink-window' doc fix

* window.el (shrink-window): Mention the `window-min-height'
variable in the doc string.

12 years agoUpdate lispref antinews menu descriptions per comment in anti.texi
Glenn Morris [Thu, 5 Apr 2012 18:32:38 +0000 (14:32 -0400)]
Update lispref antinews menu descriptions per comment in anti.texi

12 years agoFix a typo in doc/lispref/anti.texi.
Eli Zaretskii [Thu, 5 Apr 2012 16:52:56 +0000 (19:52 +0300)]
Fix a typo in doc/lispref/anti.texi.

12 years ago* doc/lispref/anti.texi (Antinews): Rewrite for Emacs 23.
Chong Yidong [Thu, 5 Apr 2012 14:47:41 +0000 (22:47 +0800)]
* doc/lispref/anti.texi (Antinews): Rewrite for Emacs 23.

* etc/NEWS: Some minor rearrangement.

12 years agoauth.texi (Secret Service API): Edit further and give examples.
Teodor Zlatanov [Thu, 5 Apr 2012 13:55:55 +0000 (13:55 +0000)]
auth.texi (Secret Service API): Edit further and give examples.

12 years agoFix typo in color.el.
Bastien Guerry [Thu, 5 Apr 2012 07:29:19 +0000 (09:29 +0200)]
Fix typo in color.el.

Thanks to Brad Town for spotting this.

12 years agoNEWS typo fix and punctuation tweaks
Glenn Morris [Thu, 5 Apr 2012 06:54:40 +0000 (23:54 -0700)]
NEWS typo fix and punctuation tweaks

12 years agoNEWS copyedits. Remove +++/--- lines.
Chong Yidong [Thu, 5 Apr 2012 04:29:22 +0000 (12:29 +0800)]
NEWS copyedits.  Remove +++/--- lines.

12 years agoMore anchors for internal Glossary links.
Glenn Morris [Thu, 5 Apr 2012 00:28:06 +0000 (20:28 -0400)]
More anchors for internal Glossary links.

12 years ago* doc/emacs/glossary.texi (Glossary): Use anchors for internal cross-refs
Glenn Morris [Thu, 5 Apr 2012 00:14:04 +0000 (20:14 -0400)]
* doc/emacs/glossary.texi (Glossary): Use anchors for internal cross-refs

12 years agoMarkup fixes for auth.texi
Glenn Morris [Wed, 4 Apr 2012 20:44:56 +0000 (16:44 -0400)]
Markup fixes for auth.texi

* doc/misc/auth.texi (Help for users, Help for developers)
(GnuPG and EasyPG Assistant Configuration): Markup fixes.

12 years agoauth.texi small edits
Glenn Morris [Wed, 4 Apr 2012 20:36:33 +0000 (16:36 -0400)]
auth.texi small edits

* doc/misc/auth.texi (Secret Service API): Copyedits.
(Help for developers): Fill in some missing function doc-strings.

12 years ago* lisp/server.el (server--on-display-p): New function.
Stefan Monnier [Wed, 4 Apr 2012 17:13:00 +0000 (13:13 -0400)]
* lisp/server.el (server--on-display-p): New function.
(server--on-display-p): Use it.

12 years ago* lisp/ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p.
Gabor Vida [Wed, 4 Apr 2012 16:22:09 +0000 (12:22 -0400)]
* lisp/ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p.

Fixes: debbugs:11145