Glenn Morris [Mon, 24 Dec 2012 11:17:34 +0000 (06:17 -0500)]
Auto-commit of generated files.
Paul Eggert [Mon, 24 Dec 2012 06:24:08 +0000 (22:24 -0800)]
Merge from gnulib.
Andreas Schwab [Mon, 24 Dec 2012 04:21:58 +0000 (04:21 +0000)]
lisp/gnus/shr.el (shr-tag-em): Render em as italic, not bold
Eli Zaretskii [Sun, 23 Dec 2012 17:16:33 +0000 (19:16 +0200)]
Don't fail in acl_set_file on MS-Windows if the operation is a no-op.
src/w32.c (acl_set_file): If setting the file security descriptor
fails, and the new DACL is identical to the existing one, silently
return success. This fixes problems for users backing up their
own files without having the necessary privileges for setting
security descriptors.
Eli Zaretskii [Sun, 23 Dec 2012 17:06:58 +0000 (19:06 +0200)]
Improve handling of subprocess shutdown on MS-Windows.
src/w32proc.c (reader_thread): Do not index fd_info[] with negative
values.
(reader_thread): Exit when cp->status becomes STATUS_READ_ERROR
after WaitForSingleObject returns normally. This expedites reader
thread shutdown when delete_child triggers it.
(reap_subprocess): More accurate commentary for why we call
delete_child only when cp->fd is negative.
src/w32.c (sys_close): Do not call delete_child on a subprocess
whose handle is not yet closed. Instead, set its file descriptor
to a negative value, so that reap_subprocess will call
delete_child on that subprocess when its SIGCHLD arrives. This
avoids closing handles used for communications between sys_select
and reader_thread, which doesn't give sys_select a chance to
notice that the process exited and invoke the SIGCHLD handler for
it.
Jan Djärv [Sun, 23 Dec 2012 14:46:37 +0000 (15:46 +0100)]
* TODO: Adjust entry about NS event loop.
Gnus developers [Sun, 23 Dec 2012 12:45:01 +0000 (12:45 +0000)]
Merge changes made in Gnus master
2012-12-23 Lars Ingebrigtsen <larsi@gnus.org>
* gnus-int.el (gnus-backend-trace): Factor out into its own function for reuse.
(gnus-open-server): Use it to add more tracing.
(gnus-finish-retrieve-group-infos): Add backend tracing.
2012-12-22 Philipp Haselwarter <philipp@haselwarter.org>
* gnus-sync.el (gnus-sync-file-encrypt-to, gnus-sync-save):
Set epa-file-encrypt-to from variable to avoid querying.
Jan Djärv [Sun, 23 Dec 2012 12:35:37 +0000 (13:35 +0100)]
* nsfns.m (Fns_do_applescript): Run event loop until script has
been executed.
(ns_run_ascript): Chech as_script for nil, set to nil after
executing script.
Fixes: debbugs:12969
Glenn Morris [Sun, 23 Dec 2012 02:41:17 +0000 (18:41 -0800)]
Mention self-registration for ftp uploads
Michael Albinus [Sat, 22 Dec 2012 22:03:18 +0000 (23:03 +0100)]
* notifications.el (notifications-notify): Protect body with
`with-demoted-errors'.
Glenn Morris [Sat, 22 Dec 2012 20:32:55 +0000 (12:32 -0800)]
Don't go from numbered to unnumbered to numbered
Glenn Morris [Sat, 22 Dec 2012 20:29:16 +0000 (12:29 -0800)]
Remove hand-written node pointers in doc/misc/reftex.texi
Fix up sectioning
Glenn Morris [Sat, 22 Dec 2012 20:19:41 +0000 (12:19 -0800)]
Remove hand-written node pointers in doc/misc/wisent.texi
Glenn Morris [Sat, 22 Dec 2012 20:11:36 +0000 (12:11 -0800)]
Remove hand-written node pointers in doc/misc/pcl-cvs.texi
Glenn Morris [Sat, 22 Dec 2012 20:06:25 +0000 (12:06 -0800)]
Remove hand-written node pointers in doc/misc/viper.texi
Fix up sectioning
Glenn Morris [Sat, 22 Dec 2012 19:57:35 +0000 (11:57 -0800)]
Remove hand-written node pointers in doc/misc/widget.texi
Fix up sectioning
Glenn Morris [Sat, 22 Dec 2012 19:49:54 +0000 (11:49 -0800)]
Remove more hand-written node pointers in doc/misc
Glenn Morris [Sat, 22 Dec 2012 19:42:36 +0000 (11:42 -0800)]
Remove comments about long-form of @node commands
Glenn Morris [Sat, 22 Dec 2012 19:09:52 +0000 (11:09 -0800)]
Merge from emacs-24; up to 2012-12-02T06:22:32Z!cyd@gnu.org
Glenn Morris [Sat, 22 Dec 2012 19:06:29 +0000 (11:06 -0800)]
Add doclicense.texi dependency for doc/misc/Makefile targets
* doc/misc/Makefile.in (gfdl): New variable.
Use throughout where appropriate so that targets depend on doclicense.texi.
Glenn Morris [Sat, 22 Dec 2012 18:51:00 +0000 (10:51 -0800)]
Add doclicense.texi dependency for doc/lispintro Makefile
* doc/lispintro/Makefile.in (srcs): New variable, adding doclicense.texi.
(${buildinfodir}/eintr$(INFO_EXT), emacs-lisp-intro.dvi)
(emacs-lisp-intro.pdf, emacs-lisp-intro.html):
Use $srcs for dependencies.
Paul Eggert [Sat, 22 Dec 2012 16:25:40 +0000 (08:25 -0800)]
Hyphen and dash fixes in texinfo files.
Eli Zaretskii [Sat, 22 Dec 2012 14:18:11 +0000 (16:18 +0200)]
Undocument the details of the string returned by file-acl.
doc/lispref/files.texi (File Attributes, Changing Files): Remove the details
about the text returned by file-acl. Instead, just document that
it is an opaque string meant to be used by set-file-acl.
Eli Zaretskii [Sat, 22 Dec 2012 13:49:49 +0000 (15:49 +0200)]
Update doc/misc/makefile.w32-in.
Backport from trunk:
doc/misc/makefile.w32-in ($(INFO_TARGETS), $(DVI_TARGETS)): Depend on
doclicense.texi. Remove doclicense.texi from all targets that
mentioned it explicitly.
Michael Albinus [Sat, 22 Dec 2012 13:44:06 +0000 (14:44 +0100)]
* net/tramp-adb.el (tramp-adb-maybe-open-connection): Check
properties of remote device. Restart connection, if there is a
change.
Eli Zaretskii [Sat, 22 Dec 2012 13:22:25 +0000 (15:22 +0200)]
Support 'fullscreen' frame parameter on MS-Windows.
src/w32term.c (w32fullscreen_hook): New function.
(w32_create_terminal): Plug it into the terminal's fullscreen_hook.
Martin Rudalics [Sat, 22 Dec 2012 10:12:52 +0000 (11:12 +0100)]
Reword doc and doc-string of select-window (Bug#13248).
* window.c (Fselect_window): Reword doc-string.
* windows.texi (Selecting Windows): Reword description of
select-window.
Eli Zaretskii [Sat, 22 Dec 2012 09:02:24 +0000 (11:02 +0200)]
Fix dependencies of erc in doc/misc/makefile.w32-in.
doc/misc/makefile.w32-in: ($(infodir)/erc$(INFO_EXT), erc.dvi): Don't
depend on gpl.texi.
Eli Zaretskii [Sat, 22 Dec 2012 08:54:31 +0000 (10:54 +0200)]
Update dependencies in doc/misc/makefile.w32-in.
doc/misc/makefile.w32-in ($(INFO_TARGETS), $(DVI_TARGETS)): Depend on
doclicense.texi. Remove doclicense.texi from all targets that
mentioned it explicitly.
($(infodir)/woman$(INFO_EXT), woman.dvi): Depend on
$(emacsdir)/emacsver.texi.
Takafumi Arakaki [Sat, 22 Dec 2012 02:59:08 +0000 (10:59 +0800)]
Two fixes for the URL library (tiny change).
* url-expand.el (url-default-expander): Don't calculate a default
url port before checking url-type.
* url-http.el (url-http-end-of-document-sentinel): Bind relevant
url-request-* variables around the call to url-http.
Fixes: debbugs:11469 debbugs:12374
Glenn Morris [Fri, 21 Dec 2012 23:55:07 +0000 (15:55 -0800)]
Remove time-stamp from woman.texi
* doc/misc/woman.texi (UPDATED, VERSION): Remove in favor of EMACSVER.
Include emacsver.texi. Nuke hand-written node pointers.
* doc/misc/Makefile.in ($(buildinfodir)/woman$(INFO_EXT), woman.dvi, woman.pdf):
Depend on emacsver.texi.
Glenn Morris [Fri, 21 Dec 2012 19:32:43 +0000 (11:32 -0800)]
Merge from emacs-24; up to 2012-12-01T13:25:13Z!cyd@gnu.org
Glenn Morris [Fri, 21 Dec 2012 19:16:15 +0000 (11:16 -0800)]
No need to mention generated files in ChangeLogs
(at least there should be no blank line separating this from the
actual change)
Glenn Morris [Fri, 21 Dec 2012 19:08:32 +0000 (11:08 -0800)]
* doc/emacs/emacs-xtra.texi (copying): The FSF does not sell copies of this.
Simply include doclicense.
Glenn Morris [Fri, 21 Dec 2012 19:01:24 +0000 (11:01 -0800)]
May as well just include doclicense.texi in all doc/misc manuals
Glenn Morris [Fri, 21 Dec 2012 18:55:16 +0000 (10:55 -0800)]
Include a copy of GFDL, which @copying says is included
Glenn Morris [Fri, 21 Dec 2012 18:36:41 +0000 (10:36 -0800)]
Don't say "buying copies from the FSF" for manuals they do not publish
Ref "License Notices for Documentation" in maintain.info
Glenn Morris [Fri, 21 Dec 2012 18:14:29 +0000 (10:14 -0800)]
* doc/misc/erc.texi: No need to include gpl in this small manual.
Eli Zaretskii [Fri, 21 Dec 2012 11:52:18 +0000 (13:52 +0200)]
src/fileio.c (Finsert_file_contents): Doc fix.
Eli Zaretskii [Fri, 21 Dec 2012 11:21:35 +0000 (13:21 +0200)]
Possibly fix bug #13086 with losing track of subprocesses on MS-Windows.
src/w32proc.c (new_child, delete_child, find_child_pid): For a
subprocess, consider its slot being in use as long as its process
handle (procinfo.hProcess) is not NULL. This avoids reusing the
slot when a new process is started immediately after killing
another one, without waiting enough time for the first process to
be reaped and resources allocated for it be orderly freed.
Suggested by Fabrice Popineau <fabrice.popineau@supelec.fr>.
Michael Albinus [Fri, 21 Dec 2012 08:10:26 +0000 (09:10 +0100)]
* simple.el (process-file): Overwrite stderr file, if exists.
Chong Yidong [Fri, 21 Dec 2012 08:04:27 +0000 (16:04 +0800)]
* buffer.c (Fset_buffer_major_mode): Doc fix.
Fixes: debbugs:13231
Chong Yidong [Fri, 21 Dec 2012 07:56:47 +0000 (15:56 +0800)]
* modes.texi (Auto Major Mode): Fix typo.
Fixes: debbugs:13230
Chong Yidong [Fri, 21 Dec 2012 07:51:33 +0000 (15:51 +0800)]
Make read-char-by-name signal an error for invalid input.
* international/mule-cmds.el (read-char-by-name): Signal an error
if the user does not supply a valid character.
* editfns.c (Finsert_char): Since read-char-by-name now signals an
error for invalid chars, don't check for a nil return value.
Fixes: debbugs:13177
Daiki Ueno [Fri, 21 Dec 2012 07:35:02 +0000 (16:35 +0900)]
* epg.el (epg-error): Set `error-message' property.
Daiki Ueno [Fri, 21 Dec 2012 07:21:35 +0000 (16:21 +0900)]
* epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
Chong Yidong [Fri, 21 Dec 2012 05:42:59 +0000 (13:42 +0800)]
* simple.el (transpose-subr-1): Preserve marker positions
by changing the insertion sequence.
Fixes: debbugs:13122
Kelly Dean [Fri, 21 Dec 2012 03:49:28 +0000 (11:49 +0800)]
* simple.el (kill-region): Deactivate mark even for empty regions. (tiny change)
Fixes: debbugs:13169
Chong Yidong [Fri, 21 Dec 2012 03:37:02 +0000 (11:37 +0800)]
* help-fns.el (describe-variable): Make sure we get the right buffer name.
Suggested by Kelly Dean.
Fixes: debbugs:13105
Chong Yidong [Fri, 21 Dec 2012 03:17:57 +0000 (11:17 +0800)]
* sort.el (sort-subr): Doc fix.
Fixes: debbugs:13056
Chong Yidong [Fri, 21 Dec 2012 03:04:38 +0000 (11:04 +0800)]
* frames.texi (Mouse Commands): Fix description of the effect of mouse dragging.
Fixes: debbugs:13049
Chong Yidong [Fri, 21 Dec 2012 02:56:18 +0000 (10:56 +0800)]
* customize.texi (Simple Types): Document key-sequence type.
Fixes: debbugs:13048
Michael Mauger [Fri, 21 Dec 2012 02:08:29 +0000 (21:08 -0500)]
* comint.el (comint-redirect-previous-input-string): New variable.
(comint-redirect-setup, comint-redirect-cleanup)
(comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
(comint-redirect-preoutput-filter): Fix verbose message.
Dmitry Antipov [Thu, 20 Dec 2012 16:09:05 +0000 (20:09 +0400)]
Avoid calls to CHAR_TO_BYTE if byte position is known.
* editfns.c (make_buffer_string_both): Use move_gap_both.
(Fbuffer_string): Use make_buffer_string_both.
* marker.c (buf_charpos_to_bytepos): Convert to eassert.
Adjust comment.
(buf_bytepos_to_charpos): Likewise.
(charpos_to_bytepos): Remove.
* fileio.c (Finsert_file_contents): Use move_gap_both.
* search.c (Freplace_match): Likewise.
* process.c (process_send_region): Likewise. Use convenient
names for byte positions.
* lisp.h (charpos_to_bytepos): Remove prototype.
* indent.c (scan_for_column): Use CHAR_TO_BYTE.
* insdel.c (move_gap): Likewise.
Paul Eggert [Thu, 20 Dec 2012 14:57:40 +0000 (06:57 -0800)]
* xdisp.c (redisplay_internal): Remove now-unused local.
Stefan Monnier [Thu, 20 Dec 2012 14:03:34 +0000 (09:03 -0500)]
* src/xdisp.c (select_frame_for_redisplay, ensure_selected_frame): Remove.
(redisplay_internal): Don't bother selecting the frame to get the
proper value of frame-local variables.
Michael Albinus [Thu, 20 Dec 2012 13:15:43 +0000 (14:15 +0100)]
* ob.el (org-babel-temp-file): Fix setting of
`temporary-file-directory' on remote hosts.
* ob-eval.el (org-babel-shell-command-on-region): Use
`process-file' instead of `call-process-region'. The latter one
does not work on remote hosts.
Michael Albinus [Thu, 20 Dec 2012 11:15:38 +0000 (12:15 +0100)]
* progmodes/grep.el (rgrep): Escape command line. Sometimes, it
is too long for Tramp. See discussion in
<http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
* progmodes/compile.el (compilation-start): Remove line escape template.
Dmitry Antipov [Thu, 20 Dec 2012 08:49:21 +0000 (12:49 +0400)]
* textprop.c (set_text_properties_1): Do not allow NULL interval.
Rename 4th argument since it may be buffer or string. Adjust comment.
* intervals.c (graft_intervals_info_buffer): Find an interval here.
Bastien Guerry [Thu, 20 Dec 2012 08:18:23 +0000 (09:18 +0100)]
Fix typos.
Akinori MUSHA [Thu, 20 Dec 2012 07:56:56 +0000 (23:56 -0800)]
* Makefile.in (install-arch-dep): Ignore chmod errors (tiny change)
Fixes: debbugs:13233
Dmitry Antipov [Thu, 20 Dec 2012 05:05:41 +0000 (09:05 +0400)]
* vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
Adjust comment.
Michael Albinus [Wed, 19 Dec 2012 21:32:56 +0000 (22:32 +0100)]
* NEWS: Tramp implements `file-acl' and `set-file-acl'.
Michael Albinus [Wed, 19 Dec 2012 21:25:58 +0000 (22:25 +0100)]
* files.texi (Magic File Names): Add `file-acl',
`file-selinux-context', `set-file-acl' and
`set-file-selinux-context'. Make the list consistent.
Tassilo Horn [Wed, 19 Dec 2012 20:40:50 +0000 (21:40 +0100)]
* themes/tsdh-dark-theme.el (tsdh-dark): Add customizations of
many new faces.
Jonas Bernoulli [Wed, 19 Dec 2012 19:51:40 +0000 (14:51 -0500)]
* lisp/emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
following non-comment text.
(lm-header-multiline): Continuation lines need to be indented more than
the first line.
(lm-homepage): New function.
(lm-with-file): Don't be confused if narrowing is in effect.
* doc/lispref/tips.texi (Library Headers): New header keyword `Homepage'.
Make continuation lines syntax more precise.
Fixes: debbugs:13207
Stefan Monnier [Wed, 19 Dec 2012 19:41:43 +0000 (14:41 -0500)]
* lisp/vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
very beginning of a hunk (e.g. killing the first line).
Dmitry Antipov [Wed, 19 Dec 2012 15:52:48 +0000 (19:52 +0400)]
* coding.c (Fdetect_coding_region): Do not check start and end with
CHECK_NUMBER_COERCE_MARKER since validate_region does that itself.
(code_convert_region): Likewise.
Paul Eggert [Wed, 19 Dec 2012 13:56:49 +0000 (05:56 -0800)]
Spelling fix.
Michael Albinus [Wed, 19 Dec 2012 13:01:16 +0000 (14:01 +0100)]
* net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
and text properties from returned ACL string.
(tramp-sh-handle-set-file-acl): Do not use additional parentheses
for "setfacl" command.
Eli Zaretskii [Tue, 18 Dec 2012 19:05:56 +0000 (21:05 +0200)]
Follow symlinks in MS-Windows emulations of ACL functions.
src/w32.c (acl_get_file, acl_set_file): Run the file name through
map_w32_filename, and resolve any symlinks in the file name, like
Posix platforms do.
(acl_set_file): Call revert_to_self, if any privileges were
enabled.
Michael Albinus [Tue, 18 Dec 2012 13:37:06 +0000 (14:37 +0100)]
* net/tramp.el (tramp-error-with-buffer): Give a hint to use
`tramp-cleanup-this-connection', when the process has died.
(Bug#13151)
Glenn Morris [Tue, 18 Dec 2012 08:32:46 +0000 (00:32 -0800)]
Simply refer to main file semantic.texi for copying conditions
(rather than stating a slightly different set of conditions).
This is consistent with eg doc/emacs/*.texi.
Juanma Barranquero [Mon, 17 Dec 2012 20:59:04 +0000 (21:59 +0100)]
src/makefile.w32-in: Update depencencies.
Juanma Barranquero [Mon, 17 Dec 2012 20:58:12 +0000 (21:58 +0100)]
nt/config.nt: Sync with autogen/config.in.
(BSD4_2): Remove.
Stefan Monnier [Mon, 17 Dec 2012 19:43:55 +0000 (14:43 -0500)]
* lisp/icomplete.el (icomplete-completions): Also use … to truncate prefix.
Stefan Monnier [Mon, 17 Dec 2012 19:17:06 +0000 (14:17 -0500)]
* src/xdisp.c (select_frame_for_redisplay): Use select_window_1 to
propagate redisplay's scrolling (if any) to the right window.
(redisplay_internal): Use ensure_selected_frame.
(display_mode_lines): Complete last fix.
* src/window.c (select_window_1): New func, extracted from select_window.
(select_window): Use it.
* src/window.h (select_window_1): Declare.
Eli Zaretskii [Mon, 17 Dec 2012 19:14:34 +0000 (21:14 +0200)]
Support Posix ACL APIs on MS-Windows.
src/w32.c: Include sddl.h and sys/acl.h.
(SDDL_REVISION_1): Define if not already defined.
(g_b_init_get_security_descriptor_dacl)
(g_b_init_convert_sd_to_sddl, g_b_init_convert_sddl_to_sd)
(g_b_init_is_valid_security_descriptor)
(g_b_init_set_file_security): New static flags.
(globals_of_w32): Initialize them to zero.
(SetFileSecurity_Name): New string constant.
(SetFileSecurity_Proc, GetSecurityDescriptorDacl_Proc)
(ConvertStringSecurityDescriptorToSecurityDescriptor_Proc)
(ConvertSecurityDescriptorToStringSecurityDescriptor_Proc)
(IsValidSecurityDescriptor_Proc): New typedefs.
(get_file_security, get_security_descriptor_owner)
(get_security_descriptor_group): Set errno to ENOTSUP.
(set_file_security, get_security_descriptor_dacl)
(is_valid_security_descriptor, convert_sd_to_sddl)
(convert_sddl_to_sd, acl_valid, acl_to_text, acl_from_text)
(acl_free, acl_get_file, acl_set_file): New functions.
src/fileio.c (Fcopy_file) [WINDOWSNT]: Support copying ACLs.
nt/inc/sys/acl.h: New file.
nt/inc/ms-w32.h (ENOTSUP): Define if undefined.
nt/config.nt (HAVE_POSIX_ACL): Define.
doc/lispref/files.texi (File Attributes, Changing Files): Update to include
MS-Windows support for ACLs.
Paul Eggert [Mon, 17 Dec 2012 17:51:25 +0000 (09:51 -0800)]
Don't reraise SIGCHLD, as that can now lose.
With the 2012-12-03 fix for Bug#12980 in place, an old workaround
for some of that bug's symptoms can now cause Emacs to abort.
Remove the workaround.
* process.c (wait_reading_process_output): Don't reraise SIGCHLD.
The bug that caused SIGCHLD to get lost has been fixed, and the
workaround for it can now cause Emacs to abort.
Fixes: debbugs:13192
Kevin Ryde [Mon, 17 Dec 2012 15:51:49 +0000 (10:51 -0500)]
* lisp/files.el (auto-save-file-name-p): Use \` and \'.
Fixes: debbugs:13186
Michael Albinus [Mon, 17 Dec 2012 14:38:07 +0000 (15:38 +0100)]
Add support for preserving ACL entries of files.
* net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
`set-file-acl' handlers.
* net/tramp-adb.el (tramp-adb-handle-copy-file): Handle
PRESERVE-EXTENDED-ATTRIBUTES.
* net/tramp-compat.el (tramp-compat-copy-file): Handle
PRESERVE-EXTENDED-ATTRIBUTES.
* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add
`file-acl' and `set-file-acl' handlers.
(tramp-gvfs-handle-copy-file): Handle
PRESERVE-EXTENDED-ATTRIBUTES.
(tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl): New
defuns.
* net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add
`file-acl' and `set-file-acl' handlers.
(tramp-remote-acl-p, tramp-sh-handle-file-acl)
(tramp-sh-handle-set-file-acl): New defuns.
(tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file): Handle
PRESERVE-EXTENDED-ATTRIBUTES.
* net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add
`file-acl' and `set-file-acl' handlers.
(tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
Glenn Morris [Mon, 17 Dec 2012 11:17:34 +0000 (06:17 -0500)]
Auto-commit of generated files.
Kelly Dean [Mon, 17 Dec 2012 07:54:57 +0000 (08:54 +0100)]
Fix some interactions of make-help-screen and other Help forms (Bug#13190).
* help-macro.el (make-help-screen): Instead of switch-to-buffer
use pop-to-buffer with NORECORD argument t. As buffer name use
*Metahelp* with a leading space (Bug#13190).
Paul Eggert [Sun, 16 Dec 2012 22:53:28 +0000 (14:53 -0800)]
* sysdep.c (emacs_abort): Bump backtrace size to 40.
Companion to the 2012-09-30 patch. Suggested by Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00796.html>.
Paul Eggert [Sun, 16 Dec 2012 22:51:03 +0000 (14:51 -0800)]
* calc.texi (ISO 8601): Rename from ISO-8601,
as it's typically spelled without a hyphen.
Romain Francoise [Sun, 16 Dec 2012 18:22:27 +0000 (19:22 +0100)]
Add support for preserving ACL entries of files.
* configure.ac (acl): New option.
(HAVE_POSIX_ACL): Test for POSIX ACL support. This is typically
provided by libacl on GNU/Linux.
* fileio.c (Ffile_acl, Fset_file_acl): New functions.
(Fcopy_file): Change last arg to `preserve_extended_attributes'
and copy ACL entries of file in addition to SELinux context if
set.
(syms_of_fileio): Add `file-acl' and `set-file-acl'.
* Makefile.in (LIBACL_LIBS): New macro.
(LIBES): Use it.
* files.el (file-extended-attributes)
(set-file-extended-attributes): New functions.
(backup-buffer): Use them to handle both SELinux context and ACL
entries.
(backup-buffer-copy): Work with an alist of extended attributes,
rather than an SELinux context.
(basic-save-buffer-2): Ditto.
* files.texi (File Attributes): Document ACL support and new
`file-acl' function.
(Changing Files): Mention argument name change of `copy-file' and
document new function `set-file-acl'.
Glenn Morris [Sun, 16 Dec 2012 12:19:49 +0000 (07:19 -0500)]
Auto-commit of generated files.
Glenn Morris [Sun, 16 Dec 2012 11:22:07 +0000 (06:22 -0500)]
Auto-commit of loaddefs files.
Timo Myyrä [Sun, 16 Dec 2012 03:17:50 +0000 (11:17 +0800)]
* battery.el (battery-bsd-apm): New function.
Jay Belanger [Sun, 16 Dec 2012 02:52:11 +0000 (20:52 -0600)]
* calc/calc.el (calc-standard-date-formats): Adjust one of the
standard date formats.
Jay Belanger [Sun, 16 Dec 2012 02:07:30 +0000 (20:07 -0600)]
* doc/misc/calc.texi (ISO-8601): New section.
(Date Formatting Codes): Mention new codes.
(Standard Date Formats): Mention new formats.
Paul Eggert [Sat, 15 Dec 2012 15:33:43 +0000 (07:33 -0800)]
* fileio.c (internal_delete_file): Use bool for boolean.
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.
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
Eli Zaretskii [Sat, 15 Dec 2012 13:42:33 +0000 (15:42 +0200)]
Commit nt/ChangeLog from the changeset of last commit.
Eli Zaretskii [Sat, 15 Dec 2012 13:38:21 +0000 (15:38 +0200)]
Fix bug #13079 on MS-Windows with temp files not being deleted.
src/w32.h (_child_process): New members input_file and
pending_deletion.
(register_child): First argument is now pid_t.
(record_infile, record_pending_deletion): New prototypes.
src/w32proc.c (new_child): Initialize input_file and
pending_deletion members of the child.
(delete_child): Delete the child's temporary input file, if any,
that is pending deletion.
(register_child): First argument is now pid_t.
(record_infile, record_pending_deletion): New functions.
(reap_subprocess): Fix a typo in DebPrint string.
(sys_spawnve, sys_kill): Use pid_t for PID arguments.
src/fileio.c (internal_delete_file): Return an int again: non-zero
if delete-file succeeds, zero otherwise.
src/lisp.h (internal_delete_file): Adjust prototype.
src/callproc.c (Fcall_process): Don't overwrite infile with result
of DECODE_FILE.
[WINDOWSNT] If BUFFER is an integer, i.e. we are launching an
asynchronous subprocess, record the name of the input file name,
if any.
(delete_temp_file) [WINDOWSNT]: If internal_delete_file fails to
delete the file, record it as pending deletion when the subprocess
exits.
nt/inc/ms-w32.h (sys_unlink): Provide prototype.
Kenichi Handa [Sat, 15 Dec 2012 13:04:50 +0000 (22:04 +0900)]
search.c (search_buffer): Improve a comment.
Juri Linkov [Sat, 15 Dec 2012 13:03:17 +0000 (15:03 +0200)]
* lisp/isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
`isearch-insert-char-by-name'.
(with-isearch-suspended): New defmacro with body mostly from
`isearch-edit-string' except the part that sets
`isearch-new-string' and `isearch-new-message'.
(isearch-edit-string): Use new macro `with-isearch-suspended' with
body that sets `isearch-new-string' and `isearch-new-message'.
(isearch-insert-char-by-name): New command.
* lisp/international/mule-cmds.el (read-char-by-name): Let-bind
`enable-recursive-minibuffers' to t.
http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
Kenichi Handa [Sat, 15 Dec 2012 12:32:23 +0000 (21:32 +0900)]
search.c (search_buffer): Improve a comment.
Juri Linkov [Sat, 15 Dec 2012 12:19:04 +0000 (14:19 +0200)]
* lisp/isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
Fixes: debbugs:13175