]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 years agoBump version to 24.2.91. emacs-24.2.91
Chong Yidong [Sat, 15 Dec 2012 14:16:02 +0000 (22:16 +0800)]
Bump version to 24.2.91.
Regenerate ldefs-boot.el and AUTHORS.

12 years ago* fns.c (Fcompare_strings): Doc fix.
Chong Yidong [Sat, 15 Dec 2012 13:44:41 +0000 (21:44 +0800)]
* fns.c (Fcompare_strings): Doc fix.

* strings.texi (Text Comparison): Doc fix for compare-strings.

Fixes: debbugs:13081
12 years agosearch.c (search_buffer): Improve a comment.
Kenichi Handa [Sat, 15 Dec 2012 13:04:50 +0000 (22:04 +0900)]
search.c (search_buffer): Improve a comment.

12 years agosearch.c (search_buffer): Improve a comment.
Kenichi Handa [Sat, 15 Dec 2012 12:32:23 +0000 (21:32 +0900)]
search.c (search_buffer): Improve a comment.

12 years agoorg.texi: Don't suggest to buy copies of the Org manual from the FSF
Bastien Guerry [Sat, 15 Dec 2012 05:42:32 +0000 (06:42 +0100)]
org.texi: Don't suggest to buy copies of the Org manual from the FSF

The FSF does not sell copies of the Org manual.  Suggesting that you
can buy copies of the Org manual to support the FSF is misleading.

12 years agoInclude GFDL in org.texi
Glenn Morris [Fri, 14 Dec 2012 17:14:49 +0000 (09:14 -0800)]
Include GFDL in org.texi

* org.texi (copying): Include a copy of the GFDL.
The old text said that it contained one (which was untrue), and
that one should be added if the manual was distributed separately,
which was logically inconsistent.
(GNU Free Documentation License): New section.

12 years agoFix bug #12621 with crashes on MS-Windows in LookupAccountSid.
Eli Zaretskii [Fri, 14 Dec 2012 09:09:36 +0000 (11:09 +0200)]
Fix bug #12621 with crashes on MS-Windows in LookupAccountSid.

 src/w32.c (get_name_and_id): Always pass NULL as the first argument
 of lookup_account_sid.  Avoids crashes with UNC file names that
 refer to DFS domains, not to specific machine names.  (Bug#12621)
 Remove now unused argument FNAME; all callers changed.
 (get_file_owner_and_group): Remove now unused argument FNAME; all
 callers changed.

12 years agoFix typos in documentation. (Sync with Org maint commit 82db0a.)
Bastien Guerry [Thu, 13 Dec 2012 11:02:41 +0000 (12:02 +0100)]
Fix typos in documentation.  (Sync with Org maint commit 82db0a.)

Also fix bzg@gnu.org email address in the ChangeLog.

12 years agoAdd wisent manual to build process
Glenn Morris [Thu, 13 Dec 2012 04:47:14 +0000 (20:47 -0800)]
Add wisent manual to build process

* doc/misc/wisent.texi: Small edits.  Set copyright to FSF, update license to
GFDL 1.3+.

* doc/misc/Makefile.in (INFO_TARGETS, DVI_TARGETS, PDF_TARGETS): Add wisent.
(wisent, $(buildinfodir)/wisent$(INFO_EXT), wisent.dvi, wisent.pdf):
New targets.

* doc/misc/makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add wisent.
($(infodir)/wisent$(INFO_EXT), wisent.dvi): New targets.

* info/dir: wisent.

12 years agoImport wisent manual from CEDET trunk
Eric M. Ludlam [Thu, 13 Dec 2012 04:44:07 +0000 (20:44 -0800)]
Import wisent manual from CEDET trunk

Ref
http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00419.html
and preceding discussion

Imported from
bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/trunk
doc/texi/semantic/wisent.texi

bzr log shows (very) tiny change from authors with assignments:
David Engster <dengste@eml.cc>

and from:
emacsman@users.sourceforge.net

12 years agoAdd bovine manual to build process
Glenn Morris [Thu, 13 Dec 2012 04:25:50 +0000 (20:25 -0800)]
Add bovine manual to build process

* doc/misc/bovine.texi: Small edits.  Set copyright to FSF, update license to
GFDL 1.3+, remove empty index.

* doc/misc/Makefile.in (INFO_TARGETS, DVI_TARGETS, PDF_TARGETS): Add bovine.
(bovine, $(buildinfodir)/bovine$(INFO_EXT), bovine.dvi, bovine.pdf):
New targets.

* doc/misc/makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add bovine.
($(infodir)/bovine$(INFO_EXT), bovine.dvi): New targets.

* info/dir: Add bovine.

12 years agoImport bovine manual from CEDET trunk
Eric M. Ludlam [Thu, 13 Dec 2012 04:19:48 +0000 (20:19 -0800)]
Import bovine manual from CEDET trunk

Ref
http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00419.html
and preceding discussion

Imported from
bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/trunk
doc/texi/semantic/bovine.texi

12 years agoflymake.texi fix for flymake-buildfile-dirs (bug#13148)
Glenn Morris [Wed, 12 Dec 2012 18:37:52 +0000 (13:37 -0500)]
flymake.texi fix for flymake-buildfile-dirs (bug#13148)

* doc/misc/flymake.texi (Customizable variables, Locating the buildfile):
Remove refs to flymake-buildfile-dirs, removed 2007-07-20.

12 years ago* Makefile.in (install-info): Use `${MAKE} -s' for echo-info.
Andreas Schwab [Wed, 12 Dec 2012 17:52:01 +0000 (18:52 +0100)]
* Makefile.in (install-info): Use `${MAKE} -s' for echo-info.
(uninstall): Likewise.

12 years agoAdd srecode manual to build process
Glenn Morris [Wed, 12 Dec 2012 17:19:20 +0000 (09:19 -0800)]
Add srecode manual to build process

* doc/misc/srecode.texi: Small edits.  Set copyright to FSF, add explicit
GFDL 1.3+ license, fix up index.

* doc/misc/Makefile.in (INFO_TARGETS, DVI_TARGETS, PDF_TARGETS): Add srecode.
(srecode, $(buildinfodir)/srecode$(INFO_EXT), srecode.dvi)
(srecode.pdf): New targets.

* doc/misc/makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add srecode.
($(infodir)/srecode$(INFO_EXT), srecode.dvi): New targets.

* info/dir: Add srecode.

12 years agoImport srecode manual from CEDET trunk
Eric M. Ludlam [Wed, 12 Dec 2012 17:15:25 +0000 (09:15 -0800)]
Import srecode manual from CEDET trunk

Ref
http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00419.html
and preceding discussion

Imported from
bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/trunk
doc/texi/srecode.texi

bzr log shows (very) tiny changes from authors with assignments:
Alex Ott <ottalex@users.sourceforge.net>
David Engster <dengste@eml.cc>
Vincent Belaïche <vincentb1@users.sourceforge.net>

and from:
emacsman@users.sourceforge.net
scymtym@users.sourceforge.net

Fixes: debbugs:9966
12 years agoMerge upstream Org (from commit 488eea)
Bastien Guerry [Wed, 12 Dec 2012 16:47:07 +0000 (17:47 +0100)]
Merge upstream Org (from commit 488eea)

12 years agoMake CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
Alan Mackenzie [Tue, 11 Dec 2012 19:06:57 +0000 (19:06 +0000)]
Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
cc-engine.el (c-backward-comments): Add code to work around
`forward-comment' not recognizing ^M as whitespace.

12 years agoBackport spelling fix from trunk
Glenn Morris [Tue, 11 Dec 2012 18:43:57 +0000 (13:43 -0500)]
Backport spelling fix from trunk

12 years agoFix for install-info in non-English locales (tiny change)
Nicolas Avrutin [Tue, 11 Dec 2012 18:37:53 +0000 (13:37 -0500)]
Fix for install-info in non-English locales (tiny change)

* Makefile.in (install-info, uninstall):
Ensure make's messages about changing directories are in English.

Fixes: debbugs:13142
12 years agoFix bug #13084 with crashes during search.
Eli Zaretskii [Tue, 11 Dec 2012 15:30:45 +0000 (17:30 +0200)]
Fix bug #13084 with crashes during search.

 src/search.c (search_buffer): Check the inverse translations of each
 character in pattern when the buffer being searched is unibyte.

12 years ago* progmodes/python.el (python-skeleton-class)
Fabián Ezequiel Gallina [Tue, 11 Dec 2012 07:22:55 +0000 (04:22 -0300)]
* progmodes/python.el (python-skeleton-class)
(python-skeleton-def): Do not add space after defun name.

12 years ago* fileio.c (Fverify_visited_file_modtime): Don't read uninitialized st.st_size.
Paul Eggert [Mon, 10 Dec 2012 23:16:28 +0000 (15:16 -0800)]
* fileio.c (Fverify_visited_file_modtime): Don't read uninitialized st.st_size.

12 years ago* fileio.c (Fvisited_file_modtime): Return (-1 ...) for nonexistent
Paul Eggert [Mon, 10 Dec 2012 21:58:01 +0000 (13:58 -0800)]
* fileio.c (Fvisited_file_modtime): Return (-1 ...) for nonexistent

files, fixing a regression from 24.2.

12 years agoMove fix for bug#12993 to trunk
Daniel Colascione [Mon, 10 Dec 2012 17:55:03 +0000 (09:55 -0800)]
Move fix for bug#12993 to trunk

12 years agoAuto-commit of generated files.
Glenn Morris [Mon, 10 Dec 2012 12:17:35 +0000 (07:17 -0500)]
Auto-commit of generated files.

12 years agoCompile Windows resources into cygw32 Emacs
Daniel Colascione [Mon, 10 Dec 2012 07:11:21 +0000 (23:11 -0800)]
Compile Windows resources into cygw32 Emacs

12 years ago* doc/lispref/control.texi (Pattern maching case statement): New node.
Stefan Monnier [Sun, 9 Dec 2012 15:36:46 +0000 (10:36 -0500)]
* doc/lispref/control.texi (Pattern maching case statement): New node.

12 years ago* simple.el (set-mark-default-inactive): Mark for removal after 24.3.
Chong Yidong [Sun, 9 Dec 2012 03:44:59 +0000 (11:44 +0800)]
* simple.el (set-mark-default-inactive): Mark for removal after 24.3.

12 years ago* nsterm.m (fd_handler:): FD_ZERO fds.
Jan Djärv [Sat, 8 Dec 2012 19:02:30 +0000 (20:02 +0100)]
* nsterm.m (fd_handler:): FD_ZERO fds.

Fixes: debbugs:13103
12 years agoFix incompatibilities with 64-bit Windows builds.
Fabrice Popineau [Sat, 8 Dec 2012 12:06:46 +0000 (14:06 +0200)]
Fix incompatibilities with 64-bit Windows builds.

 src/w32fns.c (cache_system_info): Cast sysinfo_cache.dwPageSize to
 DWORD_PTR, for compatibility with 64-bit builds.
 src/w32.c (_PROCESS_MEMORY_COUNTERS_EX):
 (GetProcessWorkingSetSize_Proc, get_process_working_set_size)
 (system_process_attributes): Use SIZE_T rather than DWORD, for
 compatibility with 64-bit builds.

12 years ago* lisp/simple.el (just-one-space): Doc fix.
Dani Moncayo [Sat, 8 Dec 2012 03:25:28 +0000 (11:25 +0800)]
* lisp/simple.el (just-one-space): Doc fix.
* doc/emacs/killing.texi (Deletion): Doc fix.

Fixes: debbugs:12748
12 years ago* lread.c (Vload_source_file_function): Doc fix.
Christopher Schmidt [Sat, 8 Dec 2012 03:16:45 +0000 (11:16 +0800)]
* lread.c (Vload_source_file_function): Doc fix.

Fixes: debbugs:11647
12 years agoFix insertion of " inside @smallexample.
Eli Zaretskii [Fri, 7 Dec 2012 15:52:40 +0000 (17:52 +0200)]
Fix insertion of " inside @smallexample.

 lisp/textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".

12 years agoFix bug #13108 introduced by the fix to bug #12930.
Eli Zaretskii [Fri, 7 Dec 2012 15:28:20 +0000 (17:28 +0200)]
Fix bug #13108 introduced by the fix to bug #12930.

 src/indent.c (Fvertical_motion): If a display string will be
 displayed on the left or the right margin, don't consider it as a
 factor in cursor positioning.

12 years agoReword doc-string of Fcompare_buffer_substrings.
Martin Rudalics [Fri, 7 Dec 2012 09:45:03 +0000 (10:45 +0100)]
Reword doc-string of Fcompare_buffer_substrings.

* editfns.c (Fcompare_buffer_substrings): Reword doc-string.

12 years ago* lisp/hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
Le Wang [Fri, 7 Dec 2012 05:00:04 +0000 (00:00 -0500)]
* lisp/hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
narrowed buffer.

Fixes: debbugs:12361
12 years ago* lisp/emacs-lisp/debug.el (debug): Fix hard-coded frame counts.
Michael Heerdegen [Fri, 7 Dec 2012 04:31:24 +0000 (23:31 -0500)]
* lisp/emacs-lisp/debug.el (debug): Fix hard-coded frame counts.
Virtually backported from trunk.

Fixes: debbugs:10025
12 years agolisp/vc/vc-hooks.el (vc-state): Doc fix.
Juanma Barranquero [Fri, 7 Dec 2012 03:55:40 +0000 (04:55 +0100)]
lisp/vc/vc-hooks.el (vc-state): Doc fix.

12 years agoFurther rmail.el fix for bug#13066
Glenn Morris [Thu, 6 Dec 2012 21:41:32 +0000 (16:41 -0500)]
Further rmail.el fix for bug#13066

* lisp/mail/rmail.el (rmail-maybe-display-summary):
Preserve buffer, in case select-window changes it.

12 years ago* lisp/emacs-lisp/cl.el, lisp/emacs-lisp/cl-lib.el: Move cl-unload-function and
Stefan Monnier [Thu, 6 Dec 2012 21:08:50 +0000 (16:08 -0500)]
* lisp/emacs-lisp/cl.el, lisp/emacs-lisp/cl-lib.el: Move cl-unload-function and
cl-load-hook where they belong.

12 years ago* doc/lispref/customize.texi (Variable Definitions): Mention the default :group
Stefan Monnier [Thu, 6 Dec 2012 18:26:11 +0000 (13:26 -0500)]
* doc/lispref/customize.texi (Variable Definitions): Mention the default :group
for defcustoms.

Fixes: debbugs:13093
12 years ago* ffap.el (ffap-replace-file-component): Fix typo.
Chong Yidong [Thu, 6 Dec 2012 03:04:21 +0000 (11:04 +0800)]
* ffap.el (ffap-replace-file-component): Fix typo.

12 years agoFix minor whitespace issues after "." in manual.
Paul Eggert [Wed, 5 Dec 2012 22:27:56 +0000 (14:27 -0800)]
Fix minor whitespace issues after "." in manual.

Be more systematic about using "@." (not ".") at end of sentence that
ends in a capital letter, and about appending "@:" after non-ends of
sentences that end in a lower case letter followed by "." followed by
whitespace.  Omit unnecessary use of "@:" and "@.".  Similarly for "?"
and "!".  Be more consistent about putting a comma after "i.e." and
"e.g."; this is the typical American style and it's easier to code in
Texinfo.

Fixes: debbugs:12973
12 years agoDon't pass un-encoded file name to mkstemp.
Eli Zaretskii [Wed, 5 Dec 2012 17:39:39 +0000 (19:39 +0200)]
Don't pass un-encoded file name to mkstemp.

 src/callproc.c (Fcall_process_region): Encode expanded temp file
 pattern before passing it to mkstemp or mktemp.

12 years agoFix one part of bug #13079 with temporary files in call-process-region.
Eli Zaretskii [Wed, 5 Dec 2012 17:10:00 +0000 (19:10 +0200)]
Fix one part of bug #13079 with temporary files in call-process-region.

 src/callproc.c (Fcall_process_region) [!HAVE_MKSTEMP]: If mktemp
 fails, signal an error instead of continuing with an empty
 string.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 5 Dec 2012 12:20:55 +0000 (07:20 -0500)]
Auto-commit of loaddefs files.

12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 5 Dec 2012 12:17:30 +0000 (07:17 -0500)]
Auto-commit of generated files.

12 years ago* lisp/progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
Stefan Monnier [Wed, 5 Dec 2012 05:30:58 +0000 (00:30 -0500)]
* lisp/progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
fix open-paren-like token test.

Fixes: debbugs:12785
12 years agoRevert dumb change
Glenn Morris [Wed, 5 Dec 2012 04:05:57 +0000 (20:05 -0800)]
Revert dumb change

12 years agoMinor fixes for Lisp manual.
Chong Yidong [Wed, 5 Dec 2012 03:52:08 +0000 (11:52 +0800)]
Minor fixes for Lisp manual.

* lists.texi (Plist Access): Move put example to Symbol Plists.

* symbols.texi (Standard Properties): Fix typo.

12 years ago* configure.ac (MAKEINFO, EGREP, CC): Quote, in case of spaces in file names.
Glenn Morris [Wed, 5 Dec 2012 02:17:03 +0000 (21:17 -0500)]
* configure.ac (MAKEINFO, EGREP, CC): Quote, in case of spaces in file names.

12 years ago* configure.ac: Handle info/ files with or without ".info" extension.
Glenn Morris [Wed, 5 Dec 2012 02:13:40 +0000 (21:13 -0500)]
* configure.ac: Handle info/ files with or without ".info" extension.

12 years agoFix another instance of bug #12933 with non-ASCII file names on Windows.
Eli Zaretskii [Tue, 4 Dec 2012 18:48:01 +0000 (20:48 +0200)]
Fix another instance of bug #12933 with non-ASCII file names on Windows.

 src/fileio.c (file_name_as_directory, directory_file_name) [DOS_NT]:
 Encode the file name before passing it to dostounix_filename, in
 case it will downcase it (under w32-downcase-file-names).

12 years agormail-new-summary fix for bug#13066
Glenn Morris [Tue, 4 Dec 2012 18:08:01 +0000 (13:08 -0500)]
rmail-new-summary fix for bug#13066

* lisp/mail/rmailsum.el (rmail-new-summary):
Tweak for rmail-maybe-display-summary changing buffer.

12 years ago* lisp/info.el (Info-fontify-node): Don't hide the last newline.
Juri Linkov [Mon, 3 Dec 2012 23:38:56 +0000 (01:38 +0200)]
* lisp/info.el (Info-fontify-node): Don't hide the last newline.

Fixes: debbugs:12272
12 years agodoc/emacs/vc1-xtra.texi (General VC Options): Remove reference to `vc-path'.
Juanma Barranquero [Mon, 3 Dec 2012 01:45:26 +0000 (02:45 +0100)]
doc/emacs/vc1-xtra.texi (General VC Options): Remove reference to `vc-path'.

12 years ago* tramp.texi (Top, Obtaining Tramp): Replace CVS by Git.
Michael Albinus [Sun, 2 Dec 2012 15:33:17 +0000 (16:33 +0100)]
* tramp.texi (Top, Obtaining Tramp): Replace CVS by Git.
(External methods): Fix typo.

12 years ago* gnus-sum.el (gnus-summary-mode-map): Bind gnus-summary-widget-forward
Andreas Schwab [Sun, 2 Dec 2012 11:45:36 +0000 (12:45 +0100)]
* gnus-sum.el (gnus-summary-mode-map): Bind gnus-summary-widget-forward
to TAB, not [tab].
(gnus-summary-article-map): Likewise.

12 years ago* gnus-sync.el (gnus-sync-newsrc-offsets): Restore definition.
Andreas Schwab [Sun, 2 Dec 2012 10:55:08 +0000 (11:55 +0100)]
* gnus-sync.el (gnus-sync-newsrc-offsets): Restore definition.
(gnus-sync-save): Use correct format for gnus-sync-newsrc-loader.

12 years agoLisp manual improvements for plists and symbol plists.
Chong Yidong [Sun, 2 Dec 2012 09:14:16 +0000 (17:14 +0800)]
Lisp manual improvements for plists and symbol plists.

* doc/lispref/commands.texi (Using Interactive): Fix index entry.

* doc/lispref/customize.texi (Variable Definitions):
* doc/lispref/display.texi (Defining Faces):
* doc/lispref/sequences.texi (Char-Tables): Fix xref.

* doc/lispref/lists.texi (Property Lists): Move here from symbols.texi.
(Plist Access): Rename from Other Plists.

* doc/lispref/symbols.texi (Symbol Properties): New node.
(Symbol Plists): Make it a subsection under Symbol Properties.
(Standard Properties): New node.

12 years agoDocument the conversion of kbd into a function.
Chong Yidong [Sun, 2 Dec 2012 07:13:44 +0000 (15:13 +0800)]
Document the conversion of kbd into a function.

* doc/emacs/custom.texi (Init Rebinding): kbd is now a function.

* doc/lispref/keymaps.texi (Key Sequences): kbd is now a function.

Fixes: debbugs:13052
12 years ago* lisp/files.el (dir-locals-read-from-file): Check file non-empty
Leo Liu [Sat, 1 Dec 2012 15:45:38 +0000 (23:45 +0800)]
* lisp/files.el (dir-locals-read-from-file): Check file non-empty
before reading.

Fixes: debbugs:13038
12 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 1 Dec 2012 12:17:48 +0000 (07:17 -0500)]
Auto-commit of loaddefs files.

12 years agoFix the MSDOS build.
Eli Zaretskii [Sat, 1 Dec 2012 11:50:05 +0000 (13:50 +0200)]
Fix the MSDOS build.

 msdos/sed1v2.inp: Dump emacs.exe and copy to b-emacs.exe before
 generating leim-list.el.

12 years ago* fileio.c (Vauto_save_list_file_name): Minor doc fix.
Chong Yidong [Sat, 1 Dec 2012 01:49:48 +0000 (09:49 +0800)]
* fileio.c (Vauto_save_list_file_name): Minor doc fix.

12 years ago* doc/misc/rcirc.texi (Notices): Fix typo.
Glenn Morris [Fri, 30 Nov 2012 23:50:49 +0000 (18:50 -0500)]
* doc/misc/rcirc.texi (Notices): Fix typo.

12 years agoFix compilation problems with 64-bit MSVC compiler.
Fabrice Popineau [Fri, 30 Nov 2012 15:14:22 +0000 (17:14 +0200)]
Fix compilation problems with 64-bit MSVC compiler.

 src/w32fns.c: Remove prototype of atof.
 (syspage_mask): Declared DWORD_PTR, for compatibility with 64-bit
 builds.
 (file_dialog_callback): Declared UINT_PTR.
 src/w32common.h (syspage_mask): Declare DWORD_PTR, for compatibility
 with 64-bit builds.
 src/w32.c (FILE_DEVICE_FILE_SYSTEM, METHOD_BUFFERED)
 (FILE_ANY_ACCESS, CTL_CODE) [_MSC_VER]: Define only if not already
 defined.

12 years agoFix for jka-compr-compression-info-list not including version extension
Glenn Morris [Wed, 28 Nov 2012 08:37:38 +0000 (00:37 -0800)]
Fix for jka-compr-compression-info-list not including version extension

* lisp/jka-cmpr-hook.el (jka-compr-get-compression-info):
Remove any version extension before checking filename.
(jka-compr-compression-info-list): Belated :version bump.

Fixes: debbugs:13006
12 years ago* simple.el (transient-mark-mode): Doc fix.
Chong Yidong [Wed, 28 Nov 2012 07:16:45 +0000 (15:16 +0800)]
* simple.el (transient-mark-mode): Doc fix.

Fixes: debbugs:11523
12 years agoBuffer Menu doc fixes.
Chong Yidong [Wed, 28 Nov 2012 07:12:56 +0000 (15:12 +0800)]
Buffer Menu doc fixes.
* buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
(buffer-menu): Doc fix.

Fixes: debbugs:12294
12 years ago* src/data.c (Fboundp): Doc fix re lexical-binding.
Glenn Morris [Tue, 27 Nov 2012 20:45:30 +0000 (15:45 -0500)]
* src/data.c (Fboundp): Doc fix re lexical-binding.

12 years ago* src/data.c (Fsymbol_value): Doc fix re lexical-binding.
Glenn Morris [Tue, 27 Nov 2012 20:41:52 +0000 (15:41 -0500)]
* src/data.c (Fsymbol_value): Doc fix re lexical-binding.

12 years agodiary-header-line-format: Use keybinding of diary-show-all-entries in the diary buffer
Roland Winkler [Tue, 27 Nov 2012 15:40:49 +0000 (09:40 -0600)]
diary-header-line-format: Use keybinding of diary-show-all-entries in the diary buffer

12 years ago* net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
Michael Albinus [Tue, 27 Nov 2012 14:55:25 +0000 (15:55 +0100)]
* net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
"<STDIN>".  This is binary safe.

12 years ago* lisp/textmodes/table.el (table-insert): Don't use `symbol-name' on
Stefan Monnier [Tue, 27 Nov 2012 02:06:19 +0000 (21:06 -0500)]
* lisp/textmodes/table.el (table-insert): Don't use `symbol-name' on
lexically scoped variables.

Fixes: debbugs:13005
12 years agovc-hooks.el workaround for bug#11490
Glenn Morris [Mon, 26 Nov 2012 23:50:12 +0000 (18:50 -0500)]
vc-hooks.el workaround for bug#11490

* vc/vc-hooks.el (vc-mistrust-permissions): Default to t, to avoid data-loss.

12 years ago* progmodes/python.el:
Fabián Ezequiel Gallina [Mon, 26 Nov 2012 23:31:06 +0000 (20:31 -0300)]
* progmodes/python.el:
(python-indent-guess-indent-offset): If indentation is guessed
make python-indent-offset variable buffer local.

12 years agoFix Imenu regression.
Fabián Ezequiel Gallina [Mon, 26 Nov 2012 21:45:58 +0000 (18:45 -0300)]
Fix Imenu regression.
* progmodes/python.el:
(python-nav-beginning-of-defun): Fix forward movement when
statement(s) separates point from defun.
(python-imenu-prev-index-position): New function.

12 years agoDon't crash if internal-char-font is called on non-GUI frames.
Eli Zaretskii [Mon, 26 Nov 2012 17:46:35 +0000 (19:46 +0200)]
Don't crash if internal-char-font is called on non-GUI frames.

 src/fontset.c (Finternal_char_font): Return nil on non-GUI frames.
 (Bug#11964)

12 years agoFix last commit's log entry.
Eli Zaretskii [Mon, 26 Nov 2012 17:12:44 +0000 (19:12 +0200)]
Fix last commit's log entry.

Fixes: debbugs:12989
12 years agoPartial fix for bug #12989 with buffer-file-type annoyances.
Eli Zaretskii [Mon, 26 Nov 2012 17:09:04 +0000 (19:09 +0200)]
Partial fix for bug #12989 with buffer-file-type annoyances.

 lisp/subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
 lisp/dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
 Don't set buffer-file-type.  Return nil.

12 years ago* lisp/hippie-exp.el (hippie-expand-try-functions-list): Re-autoload it.
Glenn Morris [Mon, 26 Nov 2012 01:41:00 +0000 (17:41 -0800)]
* lisp/hippie-exp.el (hippie-expand-try-functions-list): Re-autoload it.

Fixes: debbugs:12982
12 years agoFix bug #11964 with crashes inside internal-char-font on non-GUI frames.
Eli Zaretskii [Sun, 25 Nov 2012 16:28:38 +0000 (18:28 +0200)]
Fix bug #11964 with crashes inside internal-char-font on non-GUI frames.

 lips/descr-text.el (describe-char-padded-string): Call
 internal-char-font only on GUI frames.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 25 Nov 2012 12:23:32 +0000 (07:23 -0500)]
Auto-commit of loaddefs files.

12 years agoAuto-commit of generated files.
Glenn Morris [Sun, 25 Nov 2012 12:19:00 +0000 (07:19 -0500)]
Auto-commit of generated files.

12 years ago* buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
Andreas Schwab [Sat, 24 Nov 2012 23:07:13 +0000 (00:07 +0100)]
* buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
and obsoletion message.

12 years ago* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
Stefan Monnier [Sat, 24 Nov 2012 21:34:28 +0000 (16:34 -0500)]
* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
the constructs to keep outside of the `cl-block'.

Fixes: debbugs:12977
12 years agoFix the MS-Windows build broken by absence of the *.manifest files.
Eli Zaretskii [Sat, 24 Nov 2012 16:58:28 +0000 (18:58 +0200)]
Fix the MS-Windows build broken by absence of the *.manifest files.

 make-dist (nt): Adjust to changes in names of the *.manifest files.

12 years agoBump version to 24.2.90. emacs-24.2.90
Chong Yidong [Sat, 24 Nov 2012 15:31:31 +0000 (23:31 +0800)]
Bump version to 24.2.90.
Regenerate AUTHORS and ldefs-boot.el.

12 years agoMinor update to make-tarball.txt.
Chong Yidong [Sat, 24 Nov 2012 15:24:40 +0000 (23:24 +0800)]
Minor update to make-tarball.txt.

12 years agoRevert recent change for Bug#8855.
Paul Eggert [Sat, 24 Nov 2012 08:24:11 +0000 (00:24 -0800)]
Revert recent change for Bug#8855.

As reported by Harald Hanche-Olsen in
<http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00445.html>
the change introduces a further bug, of creating lots of zombie
processes in some cases.  Further work is needed to come up with a
better fix for Bug#8855.

12 years agoFix follow-mouse clicks on undraggable mode/header lines.
Chong Yidong [Sat, 24 Nov 2012 08:15:00 +0000 (16:15 +0800)]
Fix follow-mouse clicks on undraggable mode/header lines.

* mouse.el (mouse-drag-line): Even if the line is not draggable,
keep reading until we get the up-event anyway, in order to process
the up-event for mouse-1-click-follows-link.

Fixes: debbugs:12971
12 years agoFix assertion violations when clicking on Info bread-crumbs.
Eli Zaretskii [Sat, 24 Nov 2012 07:25:52 +0000 (09:25 +0200)]
Fix assertion violations when clicking on Info bread-crumbs.

 src/xdisp.c (draw_glyphs): Don't draw in mouse face if mouse
 highlighting on the frame was cleared.  Prevents assertion
 violations when repeatedly clicking on the "Top" link of the
 "bread-crumbs" in Info buffers.

12 years agoFix ChangeLog entries for the last commit.
Eli Zaretskii [Sat, 24 Nov 2012 06:24:13 +0000 (08:24 +0200)]
Fix ChangeLog entries for the last commit.

12 years agoFix a race condition with glib (Bug#8855).
Paul Eggert [Fri, 23 Nov 2012 22:20:31 +0000 (14:20 -0800)]
Fix a race condition with glib (Bug#8855).
This is a backport from the trunk, consisting of:

2012-11-17  Eli Zaretskii  <eliz@gnu.org>

* nt/inc/sys/wait.h: New file, with prototype of waitpid and
definitions of macros it needs.
* nt/inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
(sys_wait): Remove prototype.
* nt/config.nt (HAVE_SYS_WAIT_H): Define to 1.
* src/w32proc.c (create_child): Don't clip the PID of the child
process to fit into an Emacs integer, as this is no longer a
restriction.
(waitpid): Rename from sys_wait.  Emulate a Posix 'waitpid' by
reaping only the process specified by PID argument, if that is
positive.  Use PID instead of dead_child to know which process to
reap.  Wait for the child to die only if WNOHANG is not in
OPTIONS.
(sys_select): Don't set dead_child.
* src/sysdep.c (wait_for_termination_1): Remove the WINDOWSNT portion,
as it is no longer needed.
* src/process.c (waitpid, WUNTRACED) [!WNOHANG]: Remove definitions,
no longer needed.
(record_child_status_change): Remove the setting of
record_at_most_one_child for the !WNOHANG case.

2012-11-03  Paul Eggert  <eggert@cs.ucla.edu>

Fix a race condition that causes Emacs to mess up glib (Bug#8855).
This is a backport from the trunk.
The symptom is a diagnostic "GLib-WARNING **: In call to
g_spawn_sync(), exit status of a child process was requested but
SIGCHLD action was set to SIG_IGN and ECHILD was received by
waitpid(), so exit status can't be returned."  The diagnostic
is partly wrong, as the SIGCHLD action is not set to SIG_IGN.
The real bug is a race condition between Emacs and glib: Emacs
does a waitpid (-1, ...) and reaps glib's subprocess by mistake,
so that glib can't find it.  Work around the bug by invoking
waitpid only on subprocesses that Emacs itself creates.
* src/process.c (create_process, record_child_status_change):
Don't use special value -1 in pid field, as the caller now must
know the pid rather than having the callee infer it.  The
inference was sometimes incorrect anyway, due to another race.
(create_process): Set new 'alive' member if child is created.
(process_status_retrieved): New function.
(record_child_status_change): Use it.
Accept negative 1st argument, which means to wait for the
processes that Emacs already knows about.  Move special-case code
for DOS_NT (which lacks WNOHANG) here, from caller.  Keep track of
processes that have already been waited for, by testing and
clearing new 'alive' member.
(CAN_HANDLE_MULTIPLE_CHILDREN): Remove, as record_child_status_change
now does this internally.
(handle_child_signal): Let record_child_status_change do all
the work, since we do not want to reap all exited child processes,
only the child processes that Emacs itself created.
* src/process.h (Lisp_Process): New boolean member 'alive'.

12 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
Stefan Monnier [Fri, 23 Nov 2012 21:49:13 +0000 (16:49 -0500)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
lexical-binding.

Fixes: debbugs:12938
12 years agolisp/image-mode.el (image-transform-check-size): Use assertions only
Wolfgang Jenkner [Fri, 23 Nov 2012 17:41:01 +0000 (18:41 +0100)]
lisp/image-mode.el (image-transform-check-size): Use assertions only
for images of type imagemagick.

Otherwise no error, image-transform-fit-to-{width,height} is
silently ignored, as before.  Doc fix.

12 years agoCorrect and reword recent changes to window.texi.
Martin Rudalics [Fri, 23 Nov 2012 14:39:07 +0000 (15:39 +0100)]
Correct and reword recent changes to window.texi.

* windows.texi (Basic Windows): Fix typo.
(Windows and Frames): Fix example.  Move description of
window-in-direction here.
(Recombining Windows): Fix example.
(Buffers and Windows): Fix description of
replace-buffer-in-windows.
(Switching Buffers): Reword.
(Display Action Functions): Minor adjustments.
(Choosing Window Options): Minor fixes.
(Window History): Minor rewording.
(Dedicated Windows): Correct and reword part describing how
dedicatedness affects functions removing buffers or windows.
* buffers.texi (The Buffer List): Fix description of
bury-buffer.

12 years ago* modes.texi (%-Constructs): Fix statement about mode construct padding.
Chong Yidong [Fri, 23 Nov 2012 08:32:43 +0000 (16:32 +0800)]
* modes.texi (%-Constructs): Fix statement about mode construct padding.

Fixes: debbugs:12866