bpt/emacs.git
11 years ago* keyboard.c (record_asynch_buffer_change): Initialize an event
Dmitry Antipov [Wed, 26 Dec 2012 09:40:45 +0000 (13:40 +0400)]
* keyboard.c (record_asynch_buffer_change): Initialize an event
only if it's really needed.
* frame.h (enum output_method): Remove output_mac member since
it's a leftover from the deleted code.
* frame.c (Fframep): Adjust user here ...
* terminal.c (Fterminal_live_p): ... and here.
* coding.c (Qmac): Now here because it's only used to denote
end-of-line encoding type.
(syms_of_coding): DEFSYM it.
* frame.h (Qmac): Remove duplicated declaration.

11 years agoRevert static checking of stack smashing.
Paul Eggert [Wed, 26 Dec 2012 05:41:42 +0000 (21:41 -0800)]
Revert static checking of stack smashing.

* configure.ac (WARN_CFLAGS): Omit -Wstack-protector when
configured with --enable-gcc-warnings.  -Wstack-protector causes
diagnostics to be issued on Ubuntu 12.10 x86-64.

11 years agoMove photo ID display code from epg.el to gnus/mml2015.el.
Daiki Ueno [Wed, 26 Dec 2012 04:20:21 +0000 (13:20 +0900)]
Move photo ID display code from epg.el to gnus/mml2015.el.

2012-12-26  Daiki Ueno  <ueno@gnu.org>
* mml2015.el (mml2015-epg-signature-to-string): New function.
(mml2015-epg-verify-result-to-string): New function.
(mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-verify)
(mml2015-epg-clear-verify): Use mml2015-epg-verify-result-to-string
instead of epg-verify-result-to-string.
(epg-signature-key-id, epg-signature-to-string): Autoload.
(epg-verify-result-to-string): Remove autoload.

2012-12-25  Adam Sjøgren  <asjo@koldfront.dk>
* mml2015.el (mml2015-epg-key-image): New function, to retrieve photo
ID image from GPG public key.
(mml2015-epg-key-image-to-string): New function.

11 years ago* window.c (select_window_1): Now static.
Paul Eggert [Wed, 26 Dec 2012 02:45:43 +0000 (18:45 -0800)]
* window.c (select_window_1): Now static.

11 years agolisp/gnus/ChangeLog: Fix wrongly adjusted dates
Katsumi Yamaoka [Tue, 25 Dec 2012 23:38:16 +0000 (23:38 +0000)]
lisp/gnus/ChangeLog: Fix wrongly adjusted dates

11 years agoDisplay images from gpg signatures
Adam Sjøgren [Tue, 25 Dec 2012 22:49:35 +0000 (23:49 +0100)]
Display images from gpg signatures

* epg.el (epg-signature-to-string): Use new functions
epg-key-image, epg-key-image-to-string to find and display image
from key.

11 years agolisp/gnus/plstore.el (plstore-passphrase-callback-function): Fix error when
Leo Liu [Tue, 25 Dec 2012 22:23:10 +0000 (22:23 +0000)]
lisp/gnus/plstore.el (plstore-passphrase-callback-function): Fix error when
  error when plstore-cache-passphrase-for-symmetric-encryption is set
  (bug#13264).

11 years agoMerge changes made in Gnus master
Gnus developers [Tue, 25 Dec 2012 22:12:59 +0000 (22:12 +0000)]
Merge changes made in Gnus master

2012-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
* gnus-sum.el (gnus-set-global-variables): Don't copy over the summary
  buffer to the article buffer here, because that clobbers multiple
  article buffers.
* gnus-art.el (gnus-article-setup-buffer): Make sure that the article
  buffer always points to the right summary buffer.

2012-12-25  John Wiegley  <jwiegley@gmail.com>
* auth-source.el (auth-source-netrc-parse): Allow using "password" as
  the password (bug#12097).

2012-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
* shr.el (shr-tag-a): Don't tagify <A> elements that don't have HREFs
  (bug#13263).
* gnus-salt.el (gnus-highlight-selected-tree): Check whether the Tree
  buffer exists before using it (bug#12475).
* gnus-agent.el (gnus-agent-fetch-articles): Don't fetch articles from
  offline groups (bug#11937).
* message.el (message-yank-original): When using customize to set the
  value of `message-cite-style', the variable it set to a symbol that's
  the name of the variable, which must then be dereferenced (bug#12616).

2012-09-13  Wolfgang Jenkner  <wjenkner@inode.at>
* lisp/gnus-spec.el (gnus-face-face-function): Initialize the value of
  the `face' property with a list whose car is the face specified in the
  format string and whose cdr is (nil).
* lisp/gnus-util.el
  (gnus-put-text-property-excluding-characters-with-faces): Change
  accordingly.
  (gnus-get-text-property-excluding-characters-with-faces): New function.
* lisp/gnus-sum.el (gnus-summary-highlight-line):
* lisp/gnus-salt.el (gnus-tree-highlight-node):
* lisp/gnus-group.el (gnus-group-highlight-line): Use it.

11 years agoFix window-body-width on text terminals.
Eli Zaretskii [Tue, 25 Dec 2012 17:37:29 +0000 (19:37 +0200)]
Fix window-body-width on text terminals.

 src/window.c (window_body_cols): Subtract display margins from the
 window body width on TTYs as well.  See
 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-12/msg00317.html
 for the original report.

11 years agoAvoid compiler warnings in w32.c:acl_to_text.
Eli Zaretskii [Tue, 25 Dec 2012 17:14:23 +0000 (19:14 +0200)]
Avoid compiler warnings in w32.c:acl_to_text.

11 years ago* xterm.h (struct x_output): Remove toolbar_detached member since it's
Dmitry Antipov [Tue, 25 Dec 2012 15:07:59 +0000 (19:07 +0400)]
* xterm.h (struct x_output): Remove toolbar_detached member since it's
set but never used.
* gtkutil.c (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback)
(xg_create_tool_bar): Adjust users.

11 years agoMerge changes made in Gnus master
Lars Ingebrigtsen [Tue, 25 Dec 2012 12:00:26 +0000 (12:00 +0000)]
Merge changes made in Gnus master

nnimap.el (nnimap-authenticator): Expand to allow specifying the
  login methods.
  (nnimap-login): Respect the `nnimap-authenticator' variable.
gnus-sum.el (gnus-summary-push-marks-to-backend): Push the complete
  mark state when moving articles.  Otherwise unticked articles will get
  their ticks back after moving.
gnus.texi (Customizing the IMAP Connection): Mention the other
  authenticators.

11 years ago* xdisp.c (redisplay_window): Remove inner local variable
Dmitry Antipov [Tue, 25 Dec 2012 11:37:21 +0000 (15:37 +0400)]
* xdisp.c (redisplay_window): Remove inner local variable
because the outer shadowed one has the same meaning.

11 years agoMerge changes made in Gnus master
Lars Ingebrigtsen [Mon, 24 Dec 2012 22:56:47 +0000 (22:56 +0000)]
Merge changes made in Gnus master

gnus-srvr.el (gnus-browse-delete-group): Fix syntax error.
message.el (message-ignored-news-headers): Always remove
  X-Message-SMTP-Method to avoid information leakage if the user
  mistakenly inserts the header into news messages.
gnus-srvr.el (gnus-browse-delete-group): New command and keystroke.
gnus-sum.el (gnus-summary-hide-thread): If point were further to the
  right than four characters, this command would move point to
  `point-max'.  Don't do that.
gnus-group.el (gnus-group-read-ephemeral-group): Set the active data
  to nil to allow re-selecting groups that gain articles.
  (gnus-bug-group-download-format-alist): Update the URL.
gnus.texi (Browse Foreign Server): Document `gnus-browse-delete-group'.

11 years agoAllow function as value of initial-buffer-choice (Bug#13251).
Constantin Kulikov [Mon, 24 Dec 2012 17:49:19 +0000 (18:49 +0100)]
Allow function as value of initial-buffer-choice (Bug#13251).

* startup.el (initial-buffer-choice): Allow function as value
(Bug#13251).
(command-line-1): Handle case where initial-buffer-choice
specifies a function.
* server.el (server-execute): Handle case where
initial-buffer-choice specifies a function.

11 years agoFix bug #13262 with crashes in completion on MS-Windows with non-ASCII filenames.
Eli Zaretskii [Mon, 24 Dec 2012 16:15:13 +0000 (18:15 +0200)]
Fix bug #13262 with crashes in completion on MS-Windows with non-ASCII filenames.

 src/fileio.c (file_name_as_directory, directory_file_name): Accept
 an additional argument MULTIBYTE to indicate whether the input C
 came from a multibyte or a unibyte Lisp string; all callers
 adjusted.  Don't assume the input string is always multibyte.
 (Ffile_name_directory) [DOS_NT]: Handle unibyte strings correctly:
 don't ENCODE_FILE them, and return a unibyte string if the input
 was unibyte.
 (Fexpand_file_name): Don't mix unibyte with multibyte strings, and
 don't assume the input strings will always be multibyte.  If the
 input strings are multibyte, decode strings obtained from C
 library functions.

11 years ago* nnimap.el (nnimap-find-article-by-message-id): Don't error out if
Andreas Schwab [Mon, 24 Dec 2012 16:03:39 +0000 (17:03 +0100)]
* nnimap.el (nnimap-find-article-by-message-id): Don't error out if
group is nil.

11 years agoFix the MS-Windows build.
Eli Zaretskii [Mon, 24 Dec 2012 15:56:17 +0000 (17:56 +0200)]
Fix the MS-Windows build.

 nt/inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
 in lib/filemode.c that broke the MS-Windows build.
 Suggested by Andy Moreton <andrewjmoreton@gmail.com>.

11 years agolisp/gnus/gnus-int.el (gnus-backend-trace): Also note the elapsed seconds
Lars Ingebrigtsen [Mon, 24 Dec 2012 13:28:39 +0000 (13:28 +0000)]
lisp/gnus/gnus-int.el (gnus-backend-trace): Also note the elapsed seconds

11 years ago* buffer.c (Fset_buffer_modified_p): Use buffer_window_count
Dmitry Antipov [Mon, 24 Dec 2012 12:21:42 +0000 (16:21 +0400)]
* buffer.c (Fset_buffer_modified_p): Use buffer_window_count
to check whether the buffer is displayed in some window.
* xdisp.c (message_dolog): Likewise.

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

11 years agoMake smtpmail forget the password if the server says it's invalid
Lars Ingebrigtsen [Mon, 24 Dec 2012 12:14:04 +0000 (13:14 +0100)]
Make smtpmail forget the password if the server says it's invalid

* mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
its own function.
(smtpmail-try-auth-methods): Forget the user name/password if the
login is unsuccessful.

Fixes: debbugs:12424

11 years ago* buffer.h (BUF_COMPACT): New macro to follow the common style.
Dmitry Antipov [Mon, 24 Dec 2012 11:41:28 +0000 (15:41 +0400)]
* buffer.h (BUF_COMPACT): New macro to follow the common style.
* buffer.c (Fget_buffer_create): Use it to set compact field of
struct buffer_text to avoid accessing an uninitialized value
when compact_buffer is called for the first time.
(compact_buffer): Use convenient BUF_COMPACT and BUF_MODIFF.

11 years agoAuto-commit of generated files.
Glenn Morris [Mon, 24 Dec 2012 11:17:34 +0000 (06:17 -0500)]
Auto-commit of generated files.

11 years agoFixes: debbugs:13222
Andreas Schwab [Mon, 24 Dec 2012 10:26:35 +0000 (11:26 +0100)]
Fixes: debbugs:13222

* configure.ac (SIGNALS_VIA_CHARACTERS): Also define for darwin.

11 years ago* lisp/progmodes/ruby-mode.el: Bump the version to 1.2.
Dmitry Gutov [Mon, 24 Dec 2012 07:14:49 +0000 (11:14 +0400)]
* lisp/progmodes/ruby-mode.el: Bump the version to 1.2.

Fixes: debbugs:13200

11 years agoMerge from gnulib.
Paul Eggert [Mon, 24 Dec 2012 06:24:08 +0000 (22:24 -0800)]
Merge from gnulib.

11 years agolisp/gnus/shr.el (shr-tag-em): Render em as italic, not bold
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

11 years agoshr: render <em> as italic, not bold
Andreas Schwab [Sun, 23 Dec 2012 17:43:34 +0000 (18:43 +0100)]
shr: render <em> as italic, not bold

11 years agoDon't fail in acl_set_file on MS-Windows if the operation is a no-op.
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.

11 years agoImprove handling of subprocess shutdown on MS-Windows.
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.

11 years ago* TODO: Adjust entry about NS event loop.
Jan Djärv [Sun, 23 Dec 2012 14:46:37 +0000 (15:46 +0100)]
* TODO: Adjust entry about NS event loop.

11 years agoMerge changes made in Gnus master
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.

11 years ago* nsfns.m (Fns_do_applescript): Run event loop until script has
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

11 years agoSpeed up fontification where there's large brace blocks.
Alan Mackenzie [Sun, 23 Dec 2012 11:36:15 +0000 (11:36 +0000)]
Speed up fontification where there's large brace blocks.
progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit to a
call of c-beginning-of-decl-1.

11 years agoMention self-registration for ftp uploads
Glenn Morris [Sun, 23 Dec 2012 02:41:17 +0000 (18:41 -0800)]
Mention self-registration for ftp uploads

11 years agoAvoid some overfull lines in doc/misc/viper
Glenn Morris [Sat, 22 Dec 2012 22:09:06 +0000 (14:09 -0800)]
Avoid some overfull lines in doc/misc/viper

11 years ago* doc/misc/widget.texi (Programming Example): Break some long lines.
Glenn Morris [Sat, 22 Dec 2012 22:04:09 +0000 (14:04 -0800)]
* doc/misc/widget.texi (Programming Example): Break some long lines.

11 years ago* notifications.el (notifications-notify): Protect body with
Michael Albinus [Sat, 22 Dec 2012 22:03:18 +0000 (23:03 +0100)]
* notifications.el (notifications-notify): Protect body with
`with-demoted-errors'.

11 years agodoc/misc/wisent.texi tweaks
Glenn Morris [Sat, 22 Dec 2012 21:58:06 +0000 (13:58 -0800)]
doc/misc/wisent.texi tweaks

* doc/misc/wisent.texi (Wisent Overview): Fix xref.
(Grammar format, Understanding the automaton): Avoid overfill.

11 years ago* doc/misc/bovine.texi (Optional Lambda Expression): Allow line break.
Glenn Morris [Sat, 22 Dec 2012 21:15:44 +0000 (13:15 -0800)]
* doc/misc/bovine.texi (Optional Lambda Expression): Allow line break.

11 years ago* doc/misc/auth.texi (Help for users): Break long lines.
Glenn Morris [Sat, 22 Dec 2012 21:12:07 +0000 (13:12 -0800)]
* doc/misc/auth.texi (Help for users): Break long lines.

11 years agoTweak some over/underfull lines
Glenn Morris [Sat, 22 Dec 2012 21:09:40 +0000 (13:09 -0800)]
Tweak some over/underfull lines

* doc/misc/ada-mode.texi (Project file variables):
Reword to reduce underfull hbox.
(No project files, Use GNAT project file):
Use smallexample to make some overfull lines less terrible.

11 years agoFix some doc/misc cross-references to separate manuals.
Glenn Morris [Sat, 22 Dec 2012 21:01:50 +0000 (13:01 -0800)]
Fix some doc/misc cross-references to separate manuals.

11 years agoTwo more dash fixes in documentation.
Paul Eggert [Sat, 22 Dec 2012 20:53:19 +0000 (12:53 -0800)]
Two more dash fixes in documentation.

11 years agoDon't go from numbered to unnumbered to numbered
Glenn Morris [Sat, 22 Dec 2012 20:32:55 +0000 (12:32 -0800)]
Don't go from numbered to unnumbered to numbered

11 years agoRemove hand-written node pointers in doc/misc/reftex.texi
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

11 years agoRemove hand-written node pointers in doc/misc/wisent.texi
Glenn Morris [Sat, 22 Dec 2012 20:19:41 +0000 (12:19 -0800)]
Remove hand-written node pointers in doc/misc/wisent.texi

11 years agoRemove hand-written node pointers in doc/misc/pcl-cvs.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

11 years agoRemove hand-written node pointers in doc/misc/viper.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

11 years agoRemove hand-written node pointers in doc/misc/widget.texi
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

11 years agoRemove more hand-written node pointers in doc/misc
Glenn Morris [Sat, 22 Dec 2012 19:49:54 +0000 (11:49 -0800)]
Remove more hand-written node pointers in doc/misc

11 years agoRemove comments about long-form of @node commands
Glenn Morris [Sat, 22 Dec 2012 19:42:36 +0000 (11:42 -0800)]
Remove comments about long-form of @node commands

11 years agoMerge from emacs-24; up to 2012-12-02T06:22:32Z!cyd@gnu.org
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

11 years agoAdd doclicense.texi dependency for doc/misc/Makefile targets
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.

11 years agoAdd doclicense.texi dependency for doc/lispintro Makefile
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.

11 years agoHyphen and dash fixes in texinfo files.
Paul Eggert [Sat, 22 Dec 2012 16:25:40 +0000 (08:25 -0800)]
Hyphen and dash fixes in texinfo files.

11 years agoUndocument the details of the string returned by file-acl.
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.

11 years agoUpdate doc/misc/makefile.w32-in.
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.

11 years ago* net/tramp-adb.el (tramp-adb-maybe-open-connection): Check
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.

11 years agoSupport 'fullscreen' frame parameter on MS-Windows.
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.

11 years agoReword doc and doc-string of select-window (Bug#13248).
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.

11 years agoFix dependencies of erc in doc/misc/makefile.w32-in.
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.

11 years agoUpdate dependencies in doc/misc/makefile.w32-in.
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.

11 years agoTwo fixes for the URL library (tiny change).
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

11 years agoRemove time-stamp from woman.texi
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.

11 years agoMerge from emacs-24; up to 2012-12-01T13:25:13Z!cyd@gnu.org
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

11 years agoNo need to mention generated files in ChangeLogs
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)

11 years ago* doc/emacs/emacs-xtra.texi (copying): The FSF does not sell copies of this.
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.

11 years agoMay as well just include doclicense.texi in all doc/misc manuals
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

11 years agoInclude a copy of GFDL, which @copying says is included
Glenn Morris [Fri, 21 Dec 2012 18:55:16 +0000 (10:55 -0800)]
Include a copy of GFDL, which @copying says is included

11 years agoDon't say "buying copies from the FSF" for manuals they do not publish
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

11 years ago* doc/misc/erc.texi: No need to include gpl in this small manual.
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.

11 years agosrc/fileio.c (Finsert_file_contents): Doc fix.
Eli Zaretskii [Fri, 21 Dec 2012 11:52:18 +0000 (13:52 +0200)]
src/fileio.c (Finsert_file_contents): Doc fix.

11 years agoPossibly fix bug #13086 with losing track of subprocesses on MS-Windows.
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>.

11 years ago* simple.el (process-file): Overwrite stderr file, if exists.
Michael Albinus [Fri, 21 Dec 2012 08:10:26 +0000 (09:10 +0100)]
* simple.el (process-file): Overwrite stderr file, if exists.

11 years ago* buffer.c (Fset_buffer_major_mode): Doc fix.
Chong Yidong [Fri, 21 Dec 2012 08:04:27 +0000 (16:04 +0800)]
* buffer.c (Fset_buffer_major_mode): Doc fix.

Fixes: debbugs:13231

11 years ago* modes.texi (Auto Major Mode): Fix typo.
Chong Yidong [Fri, 21 Dec 2012 07:56:47 +0000 (15:56 +0800)]
* modes.texi (Auto Major Mode): Fix typo.

Fixes: debbugs:13230

11 years agoMake read-char-by-name signal an error for invalid input.
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

11 years ago* epg.el (epg-error): Set `error-message' property.
Daiki Ueno [Fri, 21 Dec 2012 07:35:02 +0000 (16:35 +0900)]
* epg.el (epg-error): Set `error-message' property.

11 years ago* epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
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.

11 years ago* simple.el (transpose-subr-1): Preserve marker positions
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

11 years ago* simple.el (kill-region): Deactivate mark even for empty regions. (tiny change)
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

11 years ago* help-fns.el (describe-variable): Make sure we get the right buffer name.
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

11 years ago* sort.el (sort-subr): Doc fix.
Chong Yidong [Fri, 21 Dec 2012 03:17:57 +0000 (11:17 +0800)]
* sort.el (sort-subr): Doc fix.

Fixes: debbugs:13056

11 years ago* frames.texi (Mouse Commands): Fix description of the effect of mouse dragging.
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

11 years ago* customize.texi (Simple Types): Document key-sequence type.
Chong Yidong [Fri, 21 Dec 2012 02:56:18 +0000 (10:56 +0800)]
* customize.texi (Simple Types): Document key-sequence type.

Fixes: debbugs:13048

11 years ago* comint.el (comint-redirect-previous-input-string): New variable.
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.

11 years agoAvoid calls to CHAR_TO_BYTE if byte position is known.
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.

11 years ago* xdisp.c (redisplay_internal): Remove now-unused local.
Paul Eggert [Thu, 20 Dec 2012 14:57:40 +0000 (06:57 -0800)]
* xdisp.c (redisplay_internal): Remove now-unused local.

11 years ago* src/xdisp.c (select_frame_for_redisplay, ensure_selected_frame): Remove.
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.

11 years ago* ob.el (org-babel-temp-file): Fix setting of
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.

11 years ago* progmodes/grep.el (rgrep): Escape command line. Sometimes, it
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.

11 years ago* textprop.c (set_text_properties_1): Do not allow NULL interval.
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.

11 years agoFix typos.
Bastien Guerry [Thu, 20 Dec 2012 08:18:23 +0000 (09:18 +0100)]
Fix typos.

11 years ago* Makefile.in (install-arch-dep): Ignore chmod errors (tiny change)
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

11 years ago* vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
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.

11 years ago* NEWS: Tramp implements `file-acl' and `set-file-acl'.
Michael Albinus [Wed, 19 Dec 2012 21:32:56 +0000 (22:32 +0100)]
* NEWS: Tramp implements `file-acl' and `set-file-acl'.

11 years ago* files.texi (Magic File Names): Add `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.

11 years ago* themes/tsdh-dark-theme.el (tsdh-dark): Add customizations of
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.