bpt/emacs.git
12 years agoTweaks for doc/emacs/modes.texi
Glenn Morris [Thu, 3 May 2012 02:14:32 +0000 (22:14 -0400)]
Tweaks for doc/emacs/modes.texi

* doc/emacs/modes.texi (Major Modes, Minor Modes):
Reword to improve page-breaks.
(Major Modes): Use example rather than smallexample.

12 years ago* doc/emacs/mule.texi (Output Coding): Reword to improve page-breaks.
Glenn Morris [Thu, 3 May 2012 02:10:18 +0000 (22:10 -0400)]
* doc/emacs/mule.texi (Output Coding): Reword to improve page-breaks.

12 years ago* doc/emacs/frames.texi (Text-Only Mouse): Fix xref.
Glenn Morris [Thu, 3 May 2012 02:05:45 +0000 (22:05 -0400)]
* doc/emacs/frames.texi (Text-Only Mouse): Fix xref.

12 years ago* doc/emacs/frames.texi (Fonts): Tweak line and page breaks.
Glenn Morris [Thu, 3 May 2012 02:04:07 +0000 (22:04 -0400)]
* doc/emacs/frames.texi (Fonts): Tweak line and page breaks.
Change cross-reference.
Use example rather than smallexample (these examples are not wide,
smallexample saves little vertical space, but makes things harder to
read).

12 years agoTweak page breaks in doc/emacs/buffers.texi
Glenn Morris [Thu, 3 May 2012 01:41:54 +0000 (21:41 -0400)]
Tweak page breaks in doc/emacs/buffers.texi

* doc/emacs/buffers.texi (Buffers, Kill Buffer, Several Buffers)
(Indirect Buffers): Tweak line- and page-breaks.

12 years ago* doc/emacs/fixit.texi (Fixit, Undo): Reword to improve page-breaks.
Glenn Morris [Thu, 3 May 2012 01:22:38 +0000 (21:22 -0400)]
* doc/emacs/fixit.texi (Fixit, Undo): Reword to improve page-breaks.

12 years ago* etc/refcards/README: Update
Glenn Morris [Thu, 3 May 2012 01:13:19 +0000 (21:13 -0400)]
* etc/refcards/README: Update

12 years ago* doc/lispintro/emacs-lisp-intro.texi: Update GNU Press contact details.
Glenn Morris [Thu, 3 May 2012 01:11:42 +0000 (21:11 -0400)]
* doc/lispintro/emacs-lisp-intro.texi: Update GNU Press contact details.

12 years agoBackport 2012-05-02T11:33:49Z!lekktu@gmail.com from trunk
Chong Yidong [Wed, 2 May 2012 13:06:50 +0000 (21:06 +0800)]
Backport 2012-05-02T11:33:49Z!lekktu@gmail.com from trunk

12 years agoBackport Bug#11374 fix from trunk
Chong Yidong [Wed, 2 May 2012 13:06:08 +0000 (21:06 +0800)]
Backport Bug#11374 fix from trunk

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

12 years agoAdd NUL-termination to some uses of strncpy.
Jim Meyering [Wed, 2 May 2012 10:12:13 +0000 (18:12 +0800)]
Add NUL-termination to some uses of strncpy.

* lib-src/pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
NUL-terminate the error buffer.

* src/w32font.c (fill_in_logfont): NUL-terminate a string (Bug#11372).

12 years ago* Makefile.in (uninstall): Remove useless-use-of-for.
Glenn Morris [Wed, 2 May 2012 07:01:36 +0000 (00:01 -0700)]
* Makefile.in (uninstall): Remove useless-use-of-for.
For some reason it caused problems on an old Solaris.

12 years agoMakefile.in fix for systems without /bin/install or somesuch
Glenn Morris [Wed, 2 May 2012 06:53:21 +0000 (23:53 -0700)]
Makefile.in fix for systems without /bin/install or somesuch

* Makefile.in (install-arch-indep, uninstall):
Ensure that INSTALL-type commands are run from top-level.

12 years ago* Makefile.in (INFO_FILES): Add emacs-gnutls;
Glenn Morris [Wed, 2 May 2012 06:46:34 +0000 (23:46 -0700)]
* Makefile.in (INFO_FILES): Add emacs-gnutls;
accidentally omitted from 2012-04-12 backport from trunk.
(Do not merge to trunk.)

12 years agoFix some info/dir entries
Glenn Morris [Wed, 2 May 2012 01:22:26 +0000 (21:22 -0400)]
Fix some info/dir entries

* doc/misc/emacs-gnutls.texi, doc/misc/ert.texi, doc/misc/org.texi:
Fix dircategory, direntry to match info/dir.

* doc/misc/viper.texi: Make direntry shorter (also it is no longer "newest").

* info/dir: Make some entries consistent with the source texi files.

12 years ago* configure.in (LIBS_TERMCAP): Fix netbsd logic, broken 2012-03-04.
Glenn Morris [Wed, 2 May 2012 00:11:24 +0000 (20:11 -0400)]
* configure.in (LIBS_TERMCAP): Fix netbsd logic, broken 2012-03-04.

Ref http://debbugs.gnu.org/6190

12 years agoOnly print the edition number of the manuals in the TeX version
Glenn Morris [Tue, 1 May 2012 07:38:15 +0000 (00:38 -0700)]
Only print the edition number of the manuals in the TeX version

Frankly, I think the edition conveys little to no information.
The version number of Emacs is much more relevant.
No-one seems to know what the rules are for updating the edition anyway...

* doc/emacs/emacs.texi (@copying): Only print EDITION in the TeX version.

* doc/lispref/elisp.texi (@copying):
* doc/lispref/intro.texi (Introduction): Only print VERSION in the TeX version.

12 years agoResurrect encoding of replies by Rmail which was lost in 2012-04-11T21:37:13Z!monnier...
Eli Zaretskii [Mon, 30 Apr 2012 12:50:12 +0000 (15:50 +0300)]
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.

12 years agoFix entry in display-buffer--action-function-custom-type
Martin Rudalics [Mon, 30 Apr 2012 09:09:26 +0000 (11:09 +0200)]
Fix entry in display-buffer--action-function-custom-type

12 years agoRegenerate etc/refcards/*.pdf
Glenn Morris [Mon, 30 Apr 2012 07:46:03 +0000 (00:46 -0700)]
Regenerate etc/refcards/*.pdf

12 years ago* doc/emacs/search.texi (Regexp Search): Just say "Emacs".
Glenn Morris [Mon, 30 Apr 2012 06:53:56 +0000 (23:53 -0700)]
* doc/emacs/search.texi (Regexp Search): Just say "Emacs".

12 years agoTweak page break in display.texi
Glenn Morris [Mon, 30 Apr 2012 06:51:44 +0000 (23:51 -0700)]
Tweak page break in display.texi

* doc/emacs/display.texi (Auto Scrolling):
Reword to avoid repetition and improve page break.

12 years agoFix bug #11367 with assertion violation during vertical motion in egg.el.
Eli Zaretskii [Sun, 29 Apr 2012 17:19:08 +0000 (20:19 +0300)]
Fix bug #11367 with assertion violation during vertical motion in egg.el.

 src/xdisp.c (pos_visible_p): If already at a newline from the
 display string before the 'while' loop, don't walk back the glyphs
 from it3.glyph_row.  Solves assertion violation when the display
 string begins with a newline (egg.el).

12 years ago* doc/lispref/text.texi (Change Hooks): Minor fix for after-change-functions.
Chong Yidong [Sun, 29 Apr 2012 06:56:58 +0000 (14:56 +0800)]
* doc/lispref/text.texi (Change Hooks): Minor fix for after-change-functions.

12 years agoRemove some overfull lines in doc/misc/faq
Glenn Morris [Sat, 28 Apr 2012 19:04:01 +0000 (12:04 -0700)]
Remove some overfull lines in doc/misc/faq

* doc/misc/faq.texi: (File-name conventions):
Shorten section name to avoid overfull line.
(How to add fonts): Use smallexample to avoid overfull lines.

12 years ago* doc/misc/faq.texi: Convert @inforefs to @xrefs.
Glenn Morris [Sat, 28 Apr 2012 18:43:55 +0000 (11:43 -0700)]
* doc/misc/faq.texi: Convert @inforefs to @xrefs.
Fix some malformed cross-references.

12 years ago* emacs-lisp-intro.texi (Syntax): Reword to avoid underfull hbox.
Glenn Morris [Sat, 28 Apr 2012 18:26:17 +0000 (11:26 -0700)]
* emacs-lisp-intro.texi (Syntax): Reword to avoid underfull hbox.

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

12 years agoReword some doc/lispref to remove/reduce some overly long/short lines.
Glenn Morris [Sat, 28 Apr 2012 08:05:01 +0000 (01:05 -0700)]
Reword some doc/lispref to remove/reduce some overly long/short lines.

* package.texi (Packaging Basics):
* loading.texi (Autoload):
* files.texi (Magic File Names):
Reword to remove/reduce some overly long/short lines.

12 years agoReword some doc/emacs to remove/reduce some overly long/short lines.
Glenn Morris [Sat, 28 Apr 2012 07:45:03 +0000 (00:45 -0700)]
Reword some doc/emacs to remove/reduce some overly long/short lines.

* xresources.texi (Resources):
* mule.texi (Language Environments):
* misc.texi (Amusements):
* maintaining.texi (VC Change Log):
* frames.texi (Fonts):
* custom.texi (Specifying File Variables, Minibuffer Maps):
* cmdargs.texi (Initial Options):
* building.texi (Flymake):
Reword to remove/reduce some overly long/short lines.

12 years agoUpdate CC Mode version to 5.32.3.
Alan Mackenzie [Fri, 27 Apr 2012 17:49:31 +0000 (17:49 +0000)]
Update CC Mode version to 5.32.3.

12 years agoBump version to 24.0.96.
Chong Yidong [Fri, 27 Apr 2012 16:33:57 +0000 (00:33 +0800)]
Bump version to 24.0.96.
Regenerate AUTHORS and ldefs-boot.el.

12 years agoFix for tool-bar confusion in read-key.
Chong Yidong [Fri, 27 Apr 2012 02:24:38 +0000 (10:24 +0800)]
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

12 years agoAdd NEWS entry pointing to ORG-NEWS.
Chong Yidong [Fri, 27 Apr 2012 02:15:51 +0000 (10:15 +0800)]
Add NEWS entry pointing to ORG-NEWS.

Delete non-Emacs-24 specific items from ORG-NEWS (since standalone Org
mode has its own NEWS, these are not necessary).

12 years agoFix previous change
Glenn Morris [Fri, 27 Apr 2012 00:23:54 +0000 (20:23 -0400)]
Fix previous change

12 years ago* doc/emacs/emacs.texi: Some fixes for detailed menu.
Glenn Morris [Fri, 27 Apr 2012 00:20:02 +0000 (20:20 -0400)]
* doc/emacs/emacs.texi: Some fixes for detailed menu.

12 years agoorg-ctags.el (org-ctags-new-topic-template): Fix the option default value back again.
Bastien Guerry [Thu, 26 Apr 2012 20:46:10 +0000 (22:46 +0200)]
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.

12 years agoChangeLog fix
Glenn Morris [Thu, 26 Apr 2012 18:57:49 +0000 (14:57 -0400)]
ChangeLog fix

12 years agoChangeLog fix
Glenn Morris [Thu, 26 Apr 2012 18:10:02 +0000 (14:10 -0400)]
ChangeLog fix

12 years agoSome menu fixes for doc/lispref
Glenn Morris [Thu, 26 Apr 2012 17:56:38 +0000 (13:56 -0400)]
Some menu fixes for doc/lispref

* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
Some fixes for detailed menu.

* doc/lispref/modes.texi (Major Modes, Auto-Indentation):
* doc/lispref/buffers.texi (Buffers): Some fixes for menu descriptions.

12 years agoSync with Org git commit 374c56b.
Bastien Guerry [Thu, 26 Apr 2012 17:30:04 +0000 (19:30 +0200)]
Sync with Org git commit 374c56b.

12 years agoetc/ORG-NEWS: New file documenting changes between Org 6.34 and current one.
Bastien Guerry [Thu, 26 Apr 2012 17:02:36 +0000 (19:02 +0200)]
etc/ORG-NEWS: New file documenting changes between Org 6.34 and current one.

12 years agolisp/org/ChangeLog: remove references to files that are not in the directory.
Bastien Guerry [Thu, 26 Apr 2012 16:57:34 +0000 (18:57 +0200)]
lisp/org/ChangeLog: remove references to files that are not in the directory.

12 years agoFixes: debbugs:11344
Andreas Schwab [Thu, 26 Apr 2012 09:27:37 +0000 (11:27 +0200)]
Fixes: debbugs:11344

* vc/vc-git.el (vc-git-state): Fix regexp matching diff output.

12 years agoDeprecate the ((lambda ...) ...) form.
Stefan Monnier [Thu, 26 Apr 2012 03:06:36 +0000 (23:06 -0400)]
Deprecate the ((lambda ...) ...) form.
* doc/lispref/functions.texi (Simple Lambda, Argument List):
* doc/lispref/eval.texi (Function Indirection): Avoid deprecated form.

12 years agoAdd "et al." to authors for emacs and elisp manuals.
Glenn Morris [Thu, 26 Apr 2012 00:48:08 +0000 (20:48 -0400)]
Add "et al." to authors for emacs and elisp manuals.

This seems only fair, since there have been a large number of
contributors since the original ones.

* doc/emacs/emacs.texi:
* doc/lispref/book-spine.texi, doc/lispref/elisp.texi, doc/lispref/vol1.texi:
* doc/lispref/vol2.texi:
Add "et al." to authors.

12 years agoUse Texinfo recommended convention for quotes+punctuation.
Glenn Morris [Thu, 26 Apr 2012 00:31:47 +0000 (20:31 -0400)]
Use Texinfo recommended convention for quotes+punctuation.

12 years agoBetter indexing of "base direction" of paragraphs in the user manual.
Eli Zaretskii [Wed, 25 Apr 2012 08:30:59 +0000 (11:30 +0300)]
Better indexing of "base direction" of paragraphs in the user manual.

 doc/emacs/mule.texi (Bidirectional Editing): Improve indexing.  Minor
 wording tweaks.

12 years agoEnsure that X selection convertors properly encode returned strings.
Chong Yidong [Tue, 24 Apr 2012 05:34:50 +0000 (13:34 +0800)]
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.

12 years ago* src/xselect.c (x_convert_selection): Initialize a pointer.
Chong Yidong [Tue, 24 Apr 2012 02:58:26 +0000 (10:58 +0800)]
* src/xselect.c (x_convert_selection): Initialize a pointer.

Fixes: debbugs:11315

12 years agoAvoid assertion violation when scrolling minibuffer windows.
Eli Zaretskii [Mon, 23 Apr 2012 16:22:23 +0000 (19:22 +0300)]
Avoid assertion violation when scrolling minibuffer windows.

 src/xdisp.c (pos_visible_p): If the window start position is beyond
 ZV, start the display from buffer beginning.  Prevents assertion
 violation in init_iterator when the minibuffer window is scrolled
 via the scroll bar.
 src/window.c (window_scroll_pixel_based): Likewise.

12 years agoFix last fix.
Chong Yidong [Mon, 23 Apr 2012 03:44:13 +0000 (11:44 +0800)]
Fix last fix.

12 years agoDoc fixes for where-is-internal.
Chong Yidong [Mon, 23 Apr 2012 03:11:28 +0000 (11:11 +0800)]
Doc fixes for where-is-internal.

* doc/lispref/keymaps.texi (Scanning Keymaps): Fix description of
NO-REMAP arg to where-is-internal.

* src/keymap.c (where_is_internal): Doc fix (Bug#10872).

12 years ago* simple.el (delete-active-region): Move to killing custom group.
Chong Yidong [Sun, 22 Apr 2012 07:19:29 +0000 (15:19 +0800)]
* simple.el (delete-active-region): Move to killing custom group.

12 years agoRemove wrong ChangeLog entry in lisp/org/ChangeLog.
Bastien Guerry [Sat, 21 Apr 2012 23:06:59 +0000 (01:06 +0200)]
Remove wrong ChangeLog entry in lisp/org/ChangeLog.

Thanks to Stephen Berman for pointing this.

12 years ago* doc/lispref/macros.texi (Indenting Macros): Fix typo.
Glenn Morris [Sat, 21 Apr 2012 19:34:05 +0000 (12:34 -0700)]
* doc/lispref/macros.texi (Indenting Macros): Fix typo.

12 years agoMore small edits for doc/lispref/windows.texi
Glenn Morris [Sat, 21 Apr 2012 19:31:05 +0000 (12:31 -0700)]
More small edits for doc/lispref/windows.texi

* doc/lispref/windows.texi (Textual Scrolling, Coordinates and Windows)
(Window Configurations, Window Parameters, Window Hooks): Copyedits.
(Textual Scrolling): Mention recenter-redisplay, recenter-top-bottom,
and recenter-positions.  Remove recenter example.

* admin/FOR-RELEASE: Related markup.

12 years ago* progmodes/which-func.el (which-func-current): Quote %
Andreas Schwab [Sat, 21 Apr 2012 18:25:20 +0000 (20:25 +0200)]
* progmodes/which-func.el (which-func-current): Quote %
characters for mode-line processing.

12 years agoFix xml.el regression introduced by 2012-01-27 change.
Chong Yidong [Sat, 21 Apr 2012 09:53:37 +0000 (17:53 +0800)]
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

12 years ago* gnus.el (debbugs-gnu): Don't override existing autoload definition.
Andreas Schwab [Sat, 21 Apr 2012 07:55:02 +0000 (09:55 +0200)]
* gnus.el (debbugs-gnu): Don't override existing autoload definition.

12 years agoMore small edits for doc/lispref/windows.texi
Glenn Morris [Sat, 21 Apr 2012 02:15:27 +0000 (22:15 -0400)]
More small edits for doc/lispref/windows.texi

* doc/lispref/windows.texi (Cyclic Window Ordering, Window History)
(Dedicated Windows, Quitting Windows, Window Configurations): Copyedits.
(Window Start and End): Remove pointless example.
Remove cross-reference to deleted count-lines content.

12 years agoSmall edits for doc/lispref/windows.texi
Glenn Morris [Sat, 21 Apr 2012 01:49:43 +0000 (21:49 -0400)]
Small edits for doc/lispref/windows.texi

* doc/lispref/windows.texi (Basic Windows, Windows and Frames, Window Sizes)
(Resizing Windows, Deleting Windows, Selecting Windows)
(Choosing Window Options, Horizontal Scrolling): Copyedits.
(Splitting Windows, Deleting Windows): Fix ignore-window-parameters logic.
(Selecting Windows, Choosing Window Options): Markup fixes.

12 years agoStandardize case of "GTK+" in a few manuals
Glenn Morris [Sat, 21 Apr 2012 00:52:08 +0000 (20:52 -0400)]
Standardize case of "GTK+" in a few manuals

12 years agoBump lispref version
Glenn Morris [Sat, 21 Apr 2012 00:46:58 +0000 (20:46 -0400)]
Bump lispref version

* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
Bump VERSION and DATE (in case we forgoet to do it later).
I don't know what VERSION means, but it should be bigger than before.
Note that README no longer mentions these.

12 years agoComment fix
Glenn Morris [Sat, 21 Apr 2012 00:32:15 +0000 (20:32 -0400)]
Comment fix

12 years agolispref minibuf.texi small edit
Glenn Morris [Sat, 21 Apr 2012 00:14:11 +0000 (20:14 -0400)]
lispref minibuf.texi small edit

* doc/lispref/minibuf.texi (Intro to Minibuffers):
Tweak discussion of resizing minibuffer window.

12 years agoSmall faq edits
Glenn Morris [Sat, 21 Apr 2012 00:06:14 +0000 (20:06 -0400)]
Small faq edits

* doc/misc/faq.texi (Major packages and programs): Remove section.
There is no point listing 6 packages (cf etc/MORE.STUFF).
(Finding Emacs and related packages): Move "Spell-checkers" here.

12 years agoComment for doc/emacs/mule.texi
Glenn Morris [Fri, 20 Apr 2012 23:55:04 +0000 (19:55 -0400)]
Comment for doc/emacs/mule.texi

12 years agoFix FOR-RELEASE typo
Glenn Morris [Fri, 20 Apr 2012 21:36:34 +0000 (17:36 -0400)]
Fix FOR-RELEASE typo

12 years agoFix logic for returning to and yanking from Rmail buffer.
Paul Eggert [Fri, 20 Apr 2012 19:17:59 +0000 (12:17 -0700)]
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.

12 years agofileio.c fix for bug#11245
Glenn Morris [Fri, 20 Apr 2012 17:34:51 +0000 (13:34 -0400)]
fileio.c fix for bug#11245

* src/fileio.c (Fcopy_file, Fset_file_selinux_context):
Ignore ENOTSUP failures from setfilecon functions.

12 years agoFix bug #11288 with overrunning array limits.
Eli Zaretskii [Fri, 20 Apr 2012 14:08:55 +0000 (17:08 +0300)]
Fix bug #11288 with overrunning array limits.

 src/dispnew.c (swap_glyph_pointers, copy_row_except_pointers): Don't
 overrun array limits of glyph row's used[] array.

12 years agoFix bug #11279 with sending command blocks to GDB.
Eli Zaretskii [Fri, 20 Apr 2012 10:09:40 +0000 (13:09 +0300)]
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)

12 years agoImprove fix for resizing minibuffer windows.
Martin Rudalics [Fri, 20 Apr 2012 09:59:10 +0000 (11:59 +0200)]
Improve fix for resizing minibuffer windows.

12 years ago* lisp/startup.el: Fix typo.
Chong Yidong [Fri, 20 Apr 2012 09:41:27 +0000 (17:41 +0800)]
* lisp/startup.el: Fix typo.

12 years agoFix resizing of minibuffer windows (Bug#11276).
Martin Rudalics [Fri, 20 Apr 2012 08:49:24 +0000 (10:49 +0200)]
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).

12 years ago* etc/CONTRIBUTE: Expand a bit on copyright assignments.
Glenn Morris [Fri, 20 Apr 2012 07:49:19 +0000 (00:49 -0700)]
* etc/CONTRIBUTE: Expand a bit on copyright assignments.

12 years ago* MORE.STUFF: General update.
Glenn Morris [Fri, 20 Apr 2012 07:37:20 +0000 (00:37 -0700)]
* MORE.STUFF: General update.
Mention list-packages.
Remove many old/outdated URLs.

12 years agoFix sysfs battery display.
Dan Nicolaescu [Fri, 20 Apr 2012 07:32:35 +0000 (15:32 +0800)]
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.

12 years agoFix last change.
Chong Yidong [Fri, 20 Apr 2012 07:13:25 +0000 (15:13 +0800)]
Fix last change.

* lisp/progmodes/gdb-mi.el (gdb-inferior-io-sentinel): Don't do
anything if gdb process is killed.

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.