]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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
12 years agoFix cursor display when several display strings follow each other.
Eli Zaretskii [Fri, 23 Nov 2012 08:27:05 +0000 (10:27 +0200)]
Fix cursor display when several display strings follow each other.

 src/xdisp.c (set_cursor_from_row): Skip step 2 only if point is not
 between bpos_covered and bpos_max.  This fixes cursor display when
 several display strings follow each other.

12 years ago* lisp/dired.el (dired-mark): Add optional arg `interactive'.
Juri Linkov [Fri, 23 Nov 2012 07:59:43 +0000 (09:59 +0200)]
* lisp/dired.el (dired-mark): Add optional arg `interactive'.
Check for `use-region-p' if `interactive' is non-nil.
(dired-unmark, dired-flag-file-deletion): Add optional arg
`interactive'.  Call `dired-mark' with the arg `interactive'.

Fixes: debbugs:10624
12 years ago* faces.el (color-defined-p): Doc fix.
Chong Yidong [Fri, 23 Nov 2012 07:56:27 +0000 (15:56 +0800)]
* faces.el (color-defined-p): Doc fix.

Fixes: debbugs:12853
12 years agoFix pgx in .gdbinit when CHECK_LISP_OBJECT_TYPE is defined.
Eli Zaretskii [Fri, 23 Nov 2012 07:54:33 +0000 (09:54 +0200)]
Fix pgx in .gdbinit when CHECK_LISP_OBJECT_TYPE is defined.

 src/.gdbinit (pgx): If the glyph's object is a string, display the
 pointer to string data, rather than the value of the string object
 itself (which barfs under CHECK_LISP_OBJECT_TYPE).

12 years ago* lisp/wdired.el: Revert 2012-10-17 change partly and replace it with
Juri Linkov [Fri, 23 Nov 2012 07:28:37 +0000 (09:28 +0200)]
* lisp/wdired.el: Revert 2012-10-17 change partly and replace it with
Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
(wdired-finish-edit): Add marks for new file names to
`wdired-old-marks'.  Restore marks using `dired-mark-remembered'
after `revert-buffer'.
(wdired-do-renames): Remove calls to `dired-remove-file',
`dired-add-file', `dired-add-entry'.

Fixes: debbugs:11795
12 years agoBump CC Mode's version number to 5.32.4.
Alan Mackenzie [Wed, 21 Nov 2012 20:47:09 +0000 (20:47 +0000)]
Bump CC Mode's version number to 5.32.4.

12 years agoFix bugs in the CC Mode state cache. Enhance a debugging mechanism.
Alan Mackenzie [Wed, 21 Nov 2012 20:41:03 +0000 (20:41 +0000)]
Fix bugs in the CC Mode state cache.  Enhance a debugging mechanism.

12 years agoFix bug #12930 with vertical-motion through a display string.
Eli Zaretskii [Wed, 21 Nov 2012 19:28:14 +0000 (21:28 +0200)]
Fix bug #12930 with vertical-motion through a display string.

 src/indent.c (Fvertical_motion): If the starting position is covered
 by a display string, return to one position before that, to avoid
 overshooting it inside move_it_to.

12 years ago* doc/lispref/debugging.texi (Profiling): Make it more clear
Stefan Monnier [Wed, 21 Nov 2012 14:14:42 +0000 (09:14 -0500)]
* doc/lispref/debugging.texi (Profiling): Make it more clear
that --enable-profiling is about profiling the C code.

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

12 years agoAdd a bit more about profiling to the lispref
Glenn Morris [Wed, 21 Nov 2012 01:52:03 +0000 (20:52 -0500)]
Add a bit more about profiling to the lispref

* doc/lispref/debugging.texi (Profiling):
Add some basic information about the profile report buffer.
(Debugging): Mention profiling in the introduction.

12 years ago* doc/lispref/debugging.texi (Profiling) [!tex]: Mention --enable-profiling.
Glenn Morris [Wed, 21 Nov 2012 01:32:09 +0000 (20:32 -0500)]
* doc/lispref/debugging.texi (Profiling) [!tex]: Mention --enable-profiling.

12 years ago* configure.ac (--enable-profiling): Doc fix.
Glenn Morris [Wed, 21 Nov 2012 01:22:09 +0000 (20:22 -0500)]
* configure.ac (--enable-profiling): Doc fix.

12 years agoBackport: Rename cygwin_convert_path* to cygwin_convert_file_name*
Daniel Colascione [Tue, 20 Nov 2012 19:28:53 +0000 (11:28 -0800)]
Backport: Rename cygwin_convert_path* to cygwin_convert_file_name*

12 years agoFix bug #12927 with scrolling under hl-line-mode and scroll-conservatively.
Eli Zaretskii [Tue, 20 Nov 2012 17:44:04 +0000 (19:44 +0200)]
Fix bug #12927 with scrolling under hl-line-mode and scroll-conservatively.

 lisp/simple.el (line-move): Don't call line-move-partial if
 scroll-conservatively is in effect.

12 years agoFix !ifdef in nmake.defs.
Eli Zaretskii [Tue, 20 Nov 2012 17:13:10 +0000 (19:13 +0200)]
Fix !ifdef in nmake.defs.

 nt/nmake.defs: Use !if, not !ifdef.  See
 http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
 for the details.

12 years agoYet more fixes for bug #12878 with MSVC build.
Eli Zaretskii [Tue, 20 Nov 2012 17:07:55 +0000 (19:07 +0200)]
Yet more fixes for bug #12878 with MSVC build.

 nt/inc/stdint.h (INTPTR_MIN): Define for MSVC.

12 years agoFix non-GTK builds on Cygwin
Ken Brown [Tue, 20 Nov 2012 13:26:40 +0000 (08:26 -0500)]
Fix non-GTK builds on Cygwin

* src/emacs.c (main): Set the G_SLICE environment variable for all
  Cygwin builds, not just GTK builds.  See
  https://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00368.html.

12 years ago* trampver.el:
Michael Albinus [Tue, 20 Nov 2012 09:29:47 +0000 (10:29 +0100)]
* trampver.el:
* trampver.texi: Downgrade version to 2.2.6-24.3, in order to
distinguish from trunk.

Don't merge with trunk, please.

12 years agoFix typos in previous
Glenn Morris [Tue, 20 Nov 2012 08:47:57 +0000 (00:47 -0800)]
Fix typos in previous

12 years agoNEWS fix
Glenn Morris [Tue, 20 Nov 2012 08:39:41 +0000 (00:39 -0800)]
NEWS fix
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00377.html

12 years agoMake a start on a Profiling section in the lispref
Glenn Morris [Tue, 20 Nov 2012 08:02:54 +0000 (00:02 -0800)]
Make a start on a Profiling section in the lispref

* doc/lispref/debugging.texi (Profiling): New section, in progress.
* doc/lispref/tips.texi (Compilation Tips): Move profiling to separate section.
* doc/lispref/elisp.texi: Add Profiling to detailed menu.

12 years ago* lisp/emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
Stefan Monnier [Mon, 19 Nov 2012 20:57:36 +0000 (15:57 -0500)]
* lisp/emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
non-symbols for compiler macros (yet).

12 years ago* lisp/eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
Stefan Monnier [Mon, 19 Nov 2012 19:22:07 +0000 (14:22 -0500)]
* lisp/eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
Fallback on completion-at-point rather than
pcomplete-expand-and-complete, and only if pcomplete actually failed.
(eshell-cmpl-initialize): Setup completion-at-point.
* lisp/pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.

12 years agoMore fixes for bug #12878 with MS-Windows MSVC build.
Eli Zaretskii [Mon, 19 Nov 2012 17:34:21 +0000 (19:34 +0200)]
More fixes for bug #12878 with MS-Windows MSVC build.

 src/xdisp.c (start_hourglass) [HAVE_NTGUI]: Don't mix declaration of
 w32_note_current_window with code.  (Backport from trunk.)
 src/w32.c (FILE_DEVICE_FILE_SYSTEM, METHOD_BUFFERED)
 (FILE_ANY_ACCESS, CTL_CODE, FSCTL_GET_REPARSE_POINT) [_MSC_VER]:
 Define for the MSVC compiler.
 src/w32term.h (EnumSystemLocalesW) [_MSC_VER]: Add a missing
 semi-colon.

 nt/inc/stdint.h (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.

12 years ago* lisp/emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
Stefan Monnier [Mon, 19 Nov 2012 17:02:20 +0000 (12:02 -0500)]
* lisp/emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.

12 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
Michael Albinus [Mon, 19 Nov 2012 15:25:10 +0000 (16:25 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
are remote, check out-of-band property for both.

12 years ago* lisp/window.el (switch-to-buffer): Re-add the warning that was lost in the
Stefan Monnier [Mon, 19 Nov 2012 03:16:03 +0000 (22:16 -0500)]
* lisp/window.el (switch-to-buffer): Re-add the warning that was lost in the
code rewrite.

12 years agoMore minor time fixes.
Paul Eggert [Sun, 18 Nov 2012 17:10:35 +0000 (09:10 -0800)]
More minor time fixes.

* calendar/time-date.el: Commentary fix.
* net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
too much other code depends on (0 0) time stamps.
* net/tramp.el (tramp-time-less-p, tramp-time-subtract):
Add a couple of FIXME comments.

12 years agoPrevent crashes on MS-Windows when w32-downcase-file-names is non-nil.
Eli Zaretskii [Sun, 18 Nov 2012 16:43:36 +0000 (18:43 +0200)]
Prevent crashes on MS-Windows when w32-downcase-file-names is non-nil.

 src/fileio.c (Fsubstitute_in_file_name, Ffile_name_directory)
 (Fexpand_file_name) [DOS_NT]: Pass encoded file name to
 dostounix_filename.  Prevents crashes down the road, because
 dostounix_filename assumes it gets a unibyte string.  Reported by
 Michel de Ruiter <michel@sentient.nl>, see
 http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00017.html

12 years agoFix example for Display Action Functions.
Martin Rudalics [Sun, 18 Nov 2012 11:34:36 +0000 (12:34 +0100)]
Fix example for Display Action Functions.

* windows.texi (Display Action Functions): Fix recently added
example.  Suggested by Michael Heerdegen.

12 years agoEmacs manual fixes regarding automatic scrolling.
Dani Moncayo [Sun, 18 Nov 2012 06:27:43 +0000 (14:27 +0800)]
Emacs manual fixes regarding automatic scrolling.

* display.texi (Auto Scrolling): Fix some inaccuracies, plus
clarifications.
(Horizontal Scrolling): Clarifications.

Fixes: debbugs:12865
12 years agoMinor cleanup for times as lists of four integers.
Paul Eggert [Sun, 18 Nov 2012 02:13:19 +0000 (18:13 -0800)]
Minor cleanup for times as lists of four integers.

* doc/lispref/os.texi (Time Parsing): Time values can now be four integers.
* lisp/files.el (dir-locals-directory-cache):
* lisp/ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
Doc fixes.
* lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
* lisp/ps-bdf.el (bdf-file-newer-than-time):
Process four-integers time stamps, not two.  Doc fixes.

12 years agoNEWS tweak
Glenn Morris [Sun, 18 Nov 2012 01:45:44 +0000 (17:45 -0800)]
NEWS tweak

12 years ago* lisp/image.el (insert-image, insert-sliced-image): Doc fix.
Glenn Morris [Sun, 18 Nov 2012 01:43:32 +0000 (17:43 -0800)]
* lisp/image.el (insert-image, insert-sliced-image): Doc fix.

12 years agoDocument eager macro expansion
Glenn Morris [Sun, 18 Nov 2012 01:38:42 +0000 (17:38 -0800)]
Document eager macro expansion

* doc/lispref/loading.texi (How Programs Do Loading): Add eager macro expansion.
* doc/lispref/macros.texi (Expansion): Mention eager macro expansion.

* etc/NEWS: Related edit.

12 years ago* minibuf.texi (Basic Completion): Mention completion-table-with-quoting
Glenn Morris [Sat, 17 Nov 2012 23:29:29 +0000 (15:29 -0800)]
* minibuf.texi (Basic Completion): Mention completion-table-with-quoting

12 years agoAdd some cindex entries for previous change
Glenn Morris [Sat, 17 Nov 2012 23:24:36 +0000 (15:24 -0800)]
Add some cindex entries for previous change

12 years ago* minibuf.texi (Basic Completion): Mention misc completion-table funcs.
Glenn Morris [Sat, 17 Nov 2012 22:45:24 +0000 (14:45 -0800)]
* minibuf.texi (Basic Completion): Mention misc completion-table funcs.

* etc/NEWS: Related edit.

12 years agoFix bug #12878 with compilation failure with Visual C++ 11.0.
Eli Zaretskii [Sat, 17 Nov 2012 18:51:06 +0000 (20:51 +0200)]
Fix bug #12878 with compilation failure with Visual C++ 11.0.

 src/w32select.c: Include w32common.h before w32term.h, so that
 windows.h gets included before w32term.h uses some of its
 features, see below.
 src/w32term.h (LOCALE_ENUMPROCA, LOCALE_ENUMPROCW) [_MSC_VER]: New
 typedefs.
 (EnumSystemLocalesA, EnumSystemLocalesW) [_MSC_VER]: New
 prototypes.
 (EnumSystemLocales) [_MSC_VER]: Define if undefined.

12 years ago* nsterm.m (hold_event): Set send_appdefined to YES.
Jan Djärv [Sat, 17 Nov 2012 15:28:56 +0000 (16:28 +0100)]
* nsterm.m (hold_event): Set send_appdefined to YES.
(ns_select): Return at once if events are held (Bug#12834).

12 years ago* minibuf.texi (Programmed Completion): Doc fix for metadata request.
Leo Liu [Sat, 17 Nov 2012 07:45:52 +0000 (15:45 +0800)]
* minibuf.texi (Programmed Completion): Doc fix for metadata request.

Fixes: debbugs:12850
12 years ago* lisp/emacs-lisp/syntax.el (syntax-propertize-function): Doc fix.
Chong Yidong [Sat, 17 Nov 2012 07:33:01 +0000 (15:33 +0800)]
* lisp/emacs-lisp/syntax.el (syntax-propertize-function): Doc fix.

Fixes: debbugs:12810
12 years agoFix for vc-svn-merge-news.
Chong Yidong [Sat, 17 Nov 2012 07:06:57 +0000 (15:06 +0800)]
Fix for vc-svn-merge-news.

* vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
response when the target file is in a subdirectory.

Fixes: debbugs:12757
12 years ago* url-parse.el (url-path-and-query): Minor doc fix.
Chong Yidong [Sat, 17 Nov 2012 06:48:51 +0000 (14:48 +0800)]
* url-parse.el (url-path-and-query): Minor doc fix.

12 years ago* mark.texi (Disabled Transient Mark): Doc fixes.
Dani Moncayo [Sat, 17 Nov 2012 06:38:05 +0000 (14:38 +0800)]
* mark.texi (Disabled Transient Mark): Doc fixes.

Fixes: debbugs:12746
12 years ago* filecache.el (file-cache-add-file-list): Doc fix.
Chong Yidong [Sat, 17 Nov 2012 06:09:49 +0000 (14:09 +0800)]
* filecache.el (file-cache-add-file-list): Doc fix.

Fixes: debbugs:12694
12 years ago* frames.texi (Display Action Functions): Mention pop-up-frame-parameters.
Glenn Morris [Sat, 17 Nov 2012 03:33:34 +0000 (19:33 -0800)]
* frames.texi (Display Action Functions): Mention pop-up-frame-parameters.

* etc/NEWS: Related markup.

12 years ago* display.texi (Temporary Displays): Document with-temp-buffer-window.
Glenn Morris [Sat, 17 Nov 2012 02:29:58 +0000 (21:29 -0500)]
* display.texi (Temporary Displays): Document with-temp-buffer-window.

* etc/NEWS: Related edit.

12 years agoReword previous with-temp-buffer-window doc fixes
Glenn Morris [Sat, 17 Nov 2012 02:03:58 +0000 (21:03 -0500)]
Reword previous with-temp-buffer-window doc fixes

* lisp/window.el (with-temp-buffer-window):
Reword the doc to be more similar to with-output-to-temp-buffer.

* lisp/subr.el (with-output-to-temp-buffer):
Add doc xref to with-temp-buffer-window.

12 years agoDocument fit-frame-to-buffer
Glenn Morris [Sat, 17 Nov 2012 01:33:26 +0000 (20:33 -0500)]
Document fit-frame-to-buffer

* doc/lispref/frames.texi (Size and Position): Add fit-frame-to-buffer command.
* doc/lispref/windows.texi (Resizing Windows): Add fit-frame-to-buffer option.
(Window Sizes): Add vindex for window-min-height, window-min-width.

* etc/NEWS: Related markup.

12 years agoUse set-face-underline rather than the alias set-face-underline-p
Glenn Morris [Sat, 17 Nov 2012 01:29:24 +0000 (20:29 -0500)]
Use set-face-underline rather than the alias set-face-underline-p

* lisp/woman.el (woman-non-underline-faces):
* lisp/emacs-lisp/cl-lib.el (face-underline-p):
Use set-face-underline rather than the alias set-face-underline-p.

12 years ago* lisp/window.el (with-temp-buffer-window): Doc fix.
Glenn Morris [Sat, 17 Nov 2012 01:26:24 +0000 (20:26 -0500)]
* lisp/window.el (with-temp-buffer-window): Doc fix.

12 years ago* src/unexelf.c (ELFSIZE) [__NetBSD__ && _LP64]: Set to 64
enami tsugutomo [Fri, 16 Nov 2012 18:41:00 +0000 (13:41 -0500)]
* src/unexelf.c (ELFSIZE) [__NetBSD__ && _LP64]: Set to 64
Needed following 2012-10-20 change.

Fixes: debbugs:12902
12 years ago* lisp/emacs-lisp/cl-lib.el: Set more meaningful version number.
Stefan Monnier [Fri, 16 Nov 2012 15:59:40 +0000 (10:59 -0500)]
* lisp/emacs-lisp/cl-lib.el: Set more meaningful version number.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Fri, 16 Nov 2012 12:17:47 +0000 (07:17 -0500)]
Auto-commit of loaddefs files.

12 years agoFix some display-buffer related issues.
Martin Rudalics [Fri, 16 Nov 2012 10:29:48 +0000 (11:29 +0100)]
Fix some display-buffer related issues.

* window.el (enlarge-window, shrink-window): Don't mention return
value in doc-string (Bug#12896).
(window--display-buffer): Don't resize frames - it won't work
with all window managers and defeat pop-up-frame-alist.
(display-buffer-alist): In doc-string explain that CONDITION can
be a function and which arguments are passed to it (Bug#12854).
(display-buffer-assq-regexp): New argument ACTION.  Handle lambda
expressions (Bug#12854).
(display-buffer): Pass ACTION argument to
display-buffer-assq-regexp.

* windows.texi (Choosing Window): Rewrite description of
display-buffer-alist (Bug#12167).
(Display Action Functions): Mention inhibit-switch-frame.  Fix
description of display-buffer-below-selected.  Reorder actions.
Add example (Bug#12848).

12 years ago[Gnus] Don't score by headers when scoring by body
Jan Tatarik [Fri, 16 Nov 2012 09:44:35 +0000 (10:44 +0100)]
[Gnus] Don't score by headers when scoring by body

* gnus-score.el (gnus-score-body):
* gnus-logic.el (gnus-advanced-body): Don't score by headers when
scoring by body.

12 years agoDoc fixes related to fit-frame-to-buffer
Glenn Morris [Fri, 16 Nov 2012 08:31:20 +0000 (00:31 -0800)]
Doc fixes related to fit-frame-to-buffer

* lisp/window.el (fit-frame-to-buffer-bottom-margin)
(fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.

* etc/NEWS: Related edit.

12 years agoNEWS potential FIXME
Glenn Morris [Fri, 16 Nov 2012 08:00:15 +0000 (00:00 -0800)]
NEWS potential FIXME

12 years agocl.texi flet clarification
Glenn Morris [Fri, 16 Nov 2012 07:43:24 +0000 (23:43 -0800)]
cl.texi flet clarification

* doc/misc/cl.texi (Function Bindings): Clarify that cl-flet is lexical.
(Obsolete Macros): Move example here from Function Bindings.

* etc/NEWS: Related edit.

12 years ago* lisp/faces.el (face-underline-p): Use face-attribute-specified-or.
Glenn Morris [Fri, 16 Nov 2012 02:44:02 +0000 (21:44 -0500)]
* lisp/faces.el (face-underline-p): Use face-attribute-specified-or.

12 years ago* src/editfns.c (Fmessage): Mention message-log-max. (Bug#12849)
Glenn Morris [Fri, 16 Nov 2012 02:40:54 +0000 (21:40 -0500)]
* src/editfns.c (Fmessage): Mention message-log-max.  (Bug#12849)

12 years agolisp/emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
Juanma Barranquero [Thu, 15 Nov 2012 21:01:25 +0000 (22:01 +0100)]
lisp/emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.

12 years ago* lisp/emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring.
Stefan Monnier [Thu, 15 Nov 2012 18:35:05 +0000 (13:35 -0500)]
* lisp/emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring.

Fixes: debbugs:12895
12 years ago* src/eval.c (Finteractive_p): Revert lexbind-merge mishap.
Stefan Monnier [Thu, 15 Nov 2012 17:17:23 +0000 (12:17 -0500)]
* src/eval.c (Finteractive_p): Revert lexbind-merge mishap.

12 years ago* doc/lispref/keymaps.texi (Translation Keymaps): Backport subsection
Stefan Monnier [Thu, 15 Nov 2012 14:20:45 +0000 (09:20 -0500)]
* doc/lispref/keymaps.texi (Translation Keymaps): Backport subsection
"Interaction with normal keymaps".

Fixes: debbugs:12868
12 years ago* lisp/eshell/em-cmpl.el (eshell-pcomplete): New command.
Glenn Morris [Thu, 15 Nov 2012 07:59:46 +0000 (23:59 -0800)]
* lisp/eshell/em-cmpl.el (eshell-pcomplete): New command.
(eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.

Fixes: debbugs:12838
12 years agoFixes related to face underlining
Glenn Morris [Thu, 15 Nov 2012 07:30:46 +0000 (23:30 -0800)]
Fixes related to face underlining

* lisp/faces.el (face-underline-p): Doc fix.  Handle :underline being
things other than `t' (a string, a list).
(face-inverse-video-p): Doc fix.
(set-face-underline): Rename it back from set-face-underline-p.
Doc fix.  Allow interactive input of values other than t.
(read-face-attribute): Apply formatting to :underline,
since like :box and :stipple it can take list values.

* doc/lispref/display.texi (Face Attributes): Fix :underline COLOR description.
(Attribute Functions): Update for set-face-underline rename.
Tweak descriptions of face-underline-p, face-inverse-video-p.

* etc/NEWS: Related edit.

12 years agoansi-term escape-char fix
Glenn Morris [Thu, 15 Nov 2012 06:17:56 +0000 (22:17 -0800)]
ansi-term escape-char fix

* lisp/term.el (ansi-term): Don't let C-x escape-char binding
clobber the more standard C-c binding.

Fixes: debbugs:12842
12 years ago* display.texi (Face Attributes): Fix :underline COLOR description.
Glenn Morris [Thu, 15 Nov 2012 06:13:46 +0000 (22:13 -0800)]
* display.texi (Face Attributes): Fix :underline COLOR description.

12 years ago* subr.el (set-temporary-overlay-map): Fix previous doc fix (don't quote `t')
Glenn Morris [Thu, 15 Nov 2012 06:12:46 +0000 (22:12 -0800)]
* subr.el (set-temporary-overlay-map): Fix previous doc fix (don't quote `t')

12 years agoBackport fix for bug#12879 from trunk
Stefan Monnier [Thu, 15 Nov 2012 01:27:52 +0000 (20:27 -0500)]
Backport fix for bug#12879 from trunk

* lisp/emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments

12 years agoMerge bug fixes from CEDET upstream.
David Engster [Wed, 14 Nov 2012 20:20:20 +0000 (21:20 +0100)]
Merge bug fixes from CEDET upstream.

* semantic/symref/list.el (semantic-symref-symbol): Use
  `semantic-complete-read-tag-project' instead of
  `semantic-complete-read-tag-buffer-deep', since the latter is not
  working correctly.

* semantic/symref.el (semantic-symref-result-get-tags): Use
  `find-buffer-visiting' to follow symbolic links.

* semantic/fw.el (semantic-find-file-noselect): Always set
  `enable-local-variables' to `:safe' when loading files.

12 years agoClean up w32 timer thread code in the hope of solving bug #12832.
Eli Zaretskii [Wed, 14 Nov 2012 16:41:43 +0000 (18:41 +0200)]
Clean up w32 timer thread code in the hope of solving bug #12832.

 src/w32proc.c (timer_loop): Make sure SuspendThread and ResumeThread
 use the same value of thread handle.
 (start_timer_thread): If the timer thread exited (due to error),
 clean up by closing the two handles it used.  Duplicate the caller
 thread's handle here, so it gets duplicated only once, when
 launching the timer thread.  Set priority of the timer thread, not
 the caller thread.
 (getitimer): Don't duplicate the caller thread's handle here.

12 years agoDocument set-temporary-overlay-map
Glenn Morris [Wed, 14 Nov 2012 08:45:50 +0000 (00:45 -0800)]
Document set-temporary-overlay-map

* doc/lispref/keymaps.texi (Active Keymaps, Searching Keymaps)
(Controlling Active Maps): Document set-temporary-overlay-map.

* etc/NEWS: Related markup.

12 years ago* lisp/subr.el (set-temporary-overlay-map): Doc fix.
Glenn Morris [Wed, 14 Nov 2012 08:29:25 +0000 (00:29 -0800)]
* lisp/subr.el (set-temporary-overlay-map): Doc fix.

* etc/NEWS: Related edit.

12 years ago* doc/lispref/keymaps.texi (Searching Keymaps, Tool Bar): Untabify examples
Glenn Morris [Wed, 14 Nov 2012 08:18:12 +0000 (00:18 -0800)]
* doc/lispref/keymaps.texi (Searching Keymaps, Tool Bar): Untabify examples
so they align better in info.

12 years ago* doc/misc/erc.texi: Use @code{nil} rather than just "nil".
Glenn Morris [Tue, 13 Nov 2012 08:16:58 +0000 (00:16 -0800)]
* doc/misc/erc.texi: Use @code{nil} rather than just "nil".

12 years agoDocument erc-lurker-hide-list
Glenn Morris [Tue, 13 Nov 2012 08:14:15 +0000 (00:14 -0800)]
Document erc-lurker-hide-list

* doc/misc/erc.texi (Options): Make a start by adding erc-hide-list,
erc-lurker-hide-list.

* etc/NEWS: Related edit.

12 years ago* doc/misc/erc.texi (Connecting): Add brief section on passwords.
Glenn Morris [Tue, 13 Nov 2012 08:05:42 +0000 (00:05 -0800)]
* doc/misc/erc.texi (Connecting): Add brief section on passwords.

* etc/NEWS: Related edit.

12 years ago* nsterm.m (hold_event): Send SIGIO to make sure ns_read_socket is
Jan Djärv [Tue, 13 Nov 2012 07:56:15 +0000 (08:56 +0100)]
* nsterm.m (hold_event): Send SIGIO to make sure ns_read_socket is
called.

Fixes: debbugs:12834
12 years agoPreserve window-point-insertion-type when copying window-point markers. (Bug#12588)
Martin Rudalics [Tue, 13 Nov 2012 07:40:07 +0000 (08:40 +0100)]
Preserve window-point-insertion-type when copying window-point markers. (Bug#12588)

* window.el (record-window-buffer)
(display-buffer-record-window): When copying the markers to
window-point preserve window-point-insertion-type. (Bug#12588)

12 years agoDocument new erc module "notifications"
Glenn Morris [Tue, 13 Nov 2012 03:40:44 +0000 (19:40 -0800)]
Document new erc module "notifications"

* doc/misc/erc.texi (Modules): Undocument obsolete "hecomplete".
Add "notifications".

* lisp/erc/erc.el (erc-modules): Add "notifications".  Tweak "hecomplete" doc.

* etc/NEWS: Related edit.

12 years agoRemove placeholder ses.el NEWS entry
Glenn Morris [Tue, 13 Nov 2012 03:16:17 +0000 (19:16 -0800)]
Remove placeholder ses.el NEWS entry
Will move to trunk NEWS, since emacs-24 version is apparently
not-ready-for-use; ref
http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00221.html

12 years agoUse new names for hooks rather than obsolete aliases
Glenn Morris [Tue, 13 Nov 2012 03:11:46 +0000 (19:11 -0800)]
Use new names for hooks rather than obsolete aliases

* lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
* lisp/cedet/semantic/util.el (semantic-describe-buffer):
* lisp/cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token)
(semantic-default-c-setup):
* lisp/emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
* lisp/gnus/gnus-diary.el (nndiary-request-create-group-functions)
(nndiary-request-update-info-functions)
(gnus-subscribe-newsgroup-functions)
(nndiary-request-accept-article-functions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
Use new names for hooks rather than obsolete aliases.

* lisp/arc-mode.el:
* lisp/emacs-lisp/checkdoc.el: Related comments.

* etc/NEWS: Related markup.

12 years ago* lisp/emacs-lisp/gv.el (gv-define-simple-setter): One more fix.
Stefan Monnier [Mon, 12 Nov 2012 21:31:15 +0000 (16:31 -0500)]
* lisp/emacs-lisp/gv.el (gv-define-simple-setter): One more fix.

Fixes: debbugs:12871
12 years agoDoc fix for gdb-stopped-functions.
Chong Yidong [Mon, 12 Nov 2012 19:54:37 +0000 (03:54 +0800)]
Doc fix for gdb-stopped-functions.

* building.texi (Multithreaded Debugging): gdb-stopped-hooks is
actually named gdb-stopped-functions.

12 years agoNEWS updates for the ever-changing python.el
Glenn Morris [Mon, 12 Nov 2012 19:44:39 +0000 (14:44 -0500)]
NEWS updates for the ever-changing python.el

12 years agolisp/ansi-color.el (ansi-color-apply-sequence): Implement SGR codes 39 and 49.
Wolfgang Jenkner [Mon, 12 Nov 2012 17:12:33 +0000 (18:12 +0100)]
lisp/ansi-color.el (ansi-color-apply-sequence): Implement SGR codes 39 and 49.

This fixes bug#12792.  Also, treat unimplemented parameters as 0,
thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.

12 years ago* lisp/cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
Stefan Monnier [Mon, 12 Nov 2012 16:50:08 +0000 (11:50 -0500)]
* lisp/cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
* lisp/cedet/semantic/grammar.el (semantic-grammar-mode):
* lisp/cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
(semantic-show-parser-state-mode): Avoid obsolete name
semantic-edits-new-change-hooks.

Fixes: debbugs:12869