bpt/emacs.git
10 years ago* configure.ac: Suggest './configure MAKE=gmake' in diagnostic.
Paul Eggert [Thu, 27 Mar 2014 21:29:32 +0000 (14:29 -0700)]
* configure.ac: Suggest './configure MAKE=gmake' in diagnostic.

This tends to work better than 'MAKE=gmake ./configure' if later
builds run config.status etc.

10 years agoSimplify treatment of some startup hooks
Glenn Morris [Thu, 27 Mar 2014 20:57:23 +0000 (16:57 -0400)]
Simplify treatment of some startup hooks

* lisp/startup.el (inhibit-startup-hooks): Doc tweak.
(normal-top-level): Simplify running of hooks.
For window-setup-hook, respect inhibit-startup-hooks.
(command-line-1): Don't set window-setup-hook to nil.

10 years agoRequire GNU make to build Emacs
Glenn Morris [Thu, 27 Mar 2014 19:41:57 +0000 (15:41 -0400)]
Require GNU make to build Emacs

Ref: http://debbugs.gnu.org/16717#45
If no-one objects, we can then start getting rid of some of the
convoluted Makefile hacks that exist to support non-GNU makes.

* configure.ac: Require GNU make.
(HAVE_GNU_MAKE): Remove.

* INSTALL, etc/NEWS, etc/PROBLEMS: Update for this change.

* Makefile.in: Comment.

10 years agoAllow selective autoloading from lisp/obsolete directory
Glenn Morris [Thu, 27 Mar 2014 19:00:49 +0000 (15:00 -0400)]
Allow selective autoloading from lisp/obsolete directory

* lisp/Makefile.in (obsolete-autoloads): New rule.
(autoloads): Run obsolete-autoloads.

* lisp/obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.

* lisp/simple.el (iswitchb-mode): Remove hand-written autoloads.

10 years agoAdd vhdl-mode.info build rules
Glenn Morris [Thu, 27 Mar 2014 18:22:27 +0000 (14:22 -0400)]
Add vhdl-mode.info build rules

* doc/misc/Makefile.in (INFO_COMMON): Add vhdl-mode.
(vhdl_mode_deps, vhdl-mode, $(buildinfodir)/vhdl-mode$(INFO_EXT))
(vhdl-mode.dvi, vhdl-mode.pdf, vhdl-mode.html): New rules/variables.

10 years agovhdl-mode.texi clean-up
Glenn Morris [Thu, 27 Mar 2014 18:20:08 +0000 (14:20 -0400)]
vhdl-mode.texi clean-up

* doc/misc/vhdl-mode.texi: General clean-up.
Set copyright to FSF (years based on vhdl-mode releases), add license.
Remove hand-written node pointers.  Remove info re old Emacs versions.
Markup fixes.
(Getting Connected): Remove irrelevant info.
(Indentation Commands, Requirements): Remove empty/irrelevant nodes.
(Frequently Asked Questions): Electric indent is now enabled.

10 years ago* doc/misc/vhdl-mode.texi: New file, imported from upstream vhdl-mode.
Rod Whitby [Thu, 27 Mar 2014 18:18:15 +0000 (14:18 -0400)]
* doc/misc/vhdl-mode.texi: New file, imported from upstream vhdl-mode.

10 years agoMerge from emacs-24; up to 2014-03-24T03:06:35Z!dancol@dancol.org
Juanma Barranquero [Thu, 27 Mar 2014 17:34:22 +0000 (18:34 +0100)]
Merge from emacs-24; up to 2014-03-24T03:06:35Z!dancol@dancol.org

10 years agoFix bug #17115 with displaying on w32 images that have 'box' face.
YAMAMOTO Mitsuharu [Thu, 27 Mar 2014 16:25:17 +0000 (18:25 +0200)]
Fix bug #17115 with displaying on w32 images that have 'box' face.

 src/w32term.c (x_draw_image_glyph_string): Fix computation of height
 and width of image background when it is displayed with a 'box'
 face.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
Dmitry Gutov [Thu, 27 Mar 2014 08:21:15 +0000 (10:21 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
special globals with font-lock-builtin-face.

Fixes: debbugs:17057

10 years agoFix bug#17097
Dmitry Gutov [Thu, 27 Mar 2014 06:53:13 +0000 (08:53 +0200)]
Fix bug#17097

* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Don't propertize `?' or `!' as symbol constituent when after
colon.

10 years agosrc/image.c: Avoid partial load of SVG libraries.
Juanma Barranquero [Thu, 27 Mar 2014 01:17:54 +0000 (02:17 +0100)]
src/image.c: Avoid partial load of SVG libraries.

(init_svg_functions): When loading SVG-related libraries,
free already loaded libraries if the initialization fails.
(rsvg_handle_set_size_callback): Remove declaration, unused.

10 years agolisp/frameset.el: Fix bug#17046.
Juanma Barranquero [Thu, 27 Mar 2014 01:01:36 +0000 (02:01 +0100)]
lisp/frameset.el: Fix bug#17046.

(frameset--restore-frame): Remove workaround for bug#14795
which is no longer needed and causes trouble in GTK builds.

10 years agolisp/emacs-lisp/package-x.el: Follow-up to change in package.el.
Juanma Barranquero [Thu, 27 Mar 2014 00:20:50 +0000 (01:20 +0100)]
lisp/emacs-lisp/package-x.el: Follow-up to change in package.el.

(package--archive-contents-from-url): Use url-insert-file-contents;
package-handle-response no longer exists.

10 years agoProvide command for deleting processes from list-processes buffer
Daniel Colascione [Wed, 26 Mar 2014 21:01:47 +0000 (14:01 -0700)]
Provide command for deleting processes from list-processes buffer

10 years agoMore backward-compatible fix to char-equal core dump.
Paul Eggert [Wed, 26 Mar 2014 17:55:31 +0000 (10:55 -0700)]
More backward-compatible fix to char-equal core dump.

* editfns.c (Fchar_equal): In unibyte buffers, assume values in
range 128-255 are raw bytes.  Suggested by Eli Zaretskii.

Fixes: debbugs:17011

10 years agoMerge from emacs-24; up to 2014-03-23T23:14:52Z!yamaoka@jpl.org
Juanma Barranquero [Wed, 26 Mar 2014 15:57:13 +0000 (16:57 +0100)]
Merge from emacs-24; up to 2014-03-23T23:14:52Z!yamaoka@jpl.org

10 years ago* lisp/emacs-lisp/package.el: Fix bug#16733 (again).
Juanma Barranquero [Wed, 26 Mar 2014 15:21:17 +0000 (16:21 +0100)]
* lisp/emacs-lisp/package.el: Fix bug#16733 (again).
  (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
  (url-http-target-url): Remove unused declarations.
  (package-handle-response): Remove.
  (package--with-work-buffer): Use url-insert-file-contents and simplify.
  (package--download-one-archive): Use current-buffer instead of
  dynamic binding of `buffer'.
  (describe-package-1): Do not decode readme-string.

* lisp/url/url-handlers.el (url-http-parse-response): Add autoload.
  (url-insert-file-contents): Signal file-error in case of HTTP error.

10 years agoFix wrong timestamp.
Michael Albinus [Wed, 26 Mar 2014 13:02:16 +0000 (14:02 +0100)]
Fix wrong timestamp.

10 years agosrc/*.c: Silence a few warnings about unused vars and functions.
Juanma Barranquero [Wed, 26 Mar 2014 10:21:55 +0000 (11:21 +0100)]
src/*.c: Silence a few warnings about unused vars and functions.

* src/image.c (x_bitmap_height, x_bitmap_width) [HAVE_X_WINDOWS]:
* src/sysdep.c (reset_sigio) [!DOS_NT]: Declare conditionally.

* src/keyboard.c (read_decoded_event_from_main_queue): #ifdef out
  variables on Windows.

* src/w32.c (unsetenv): Remove unused var `retval'.
  (emacs_gnutls_pull): Remove unused vars `fdset' and `timeout'.

* src/w32fns.c (Ffile_system_info): Use parenthesis in and/or expression.

* src/w32notify.c (watch_worker): Remove unnecesary var sleep_result.
  (start_watching): Remove unused var `thr'.

* src/w32proc.c (sys_spawnve): Comment out unused vars `first', `last'.
  (find_child_console): Remove unnecesary var `thread_id'.

* src/w32term.c (w32_read_socket): Comment out unused vars `row', `columns'.
  (x_focus_frame): #ifdef 0 unused variable `dpyinfo'.

10 years agoFix core dump in char-equal.
Paul Eggert [Wed, 26 Mar 2014 05:35:38 +0000 (22:35 -0700)]
Fix core dump in char-equal.

* editfns.c (Fchar_equal): Do not use MAKE_CHAR_MULTIBYTE in
unibyte buffers, as we can't tell whether the characters are
actually unibyte.

Fixes: debbugs:17011

10 years agoMerge from gnulib.
Paul Eggert [Wed, 26 Mar 2014 04:16:13 +0000 (21:16 -0700)]
Merge from gnulib.

This incorporates:
2014-03-26 strftime: wrap macros in "do {...} while(0)"
* lib/strftime.c, doc/misc/texinfo.tex: Update from gnulib.

10 years ago* insdel.c (adjust_markers_for_delete): Remove unused local.
Paul Eggert [Wed, 26 Mar 2014 04:07:25 +0000 (21:07 -0700)]
* insdel.c (adjust_markers_for_delete): Remove unused local.

10 years agoFix previous ChangeLog entry
Glenn Morris [Wed, 26 Mar 2014 04:02:27 +0000 (21:02 -0700)]
Fix previous ChangeLog entry

10 years agoSync with upstream vhdl mode v3.35.1
Reto Zimmermann [Wed, 26 Mar 2014 03:58:25 +0000 (20:58 -0700)]
Sync with upstream vhdl mode v3.35.1

* lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
(vhdl-compiler-alist): Doc fix.
(vhdl-goto-line): Remove.
(vhdl-mode-abbrev-table-init): Add XEmacs compat.
(vhdl-mode) <paragraph-start>: Fix value.
(vhdl-fix-statement-region): Not `for' in wait-statement.
(vhdl-beautify-region): Also (un)tabify.
(vhdl-get-visible-signals):
Scan declarative part of generate statements.
(vhdl-template-record): Fix indentation for record type declaration.
(vhdl-expand-abbrev, vhdl-expand-paren): FIXME.
(vhdl-scan-directory-contents): Tweak.
(vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
(vhdl-compose-components-package):
Replace vhdl-goto-line with forward-line.
(top-level): Tweak speedbar frame selection.
(vhdl-generate-makefile-1): Support for compilers with no
unit-to-file name mapping (create directory with dummy files).

10 years agoSync with upstream verilog-mode revision 702457d
Wilson Snyder [Wed, 26 Mar 2014 03:18:47 +0000 (20:18 -0700)]
Sync with upstream verilog-mode revision 702457d

* lisp/progmodes/verilog-mode.el (verilog-mode-version): Update.
(create-lockfiles): Declare.
(verilog-read-decls): Fix module header imports, bug709.
Reported by Victor Lau.
Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
(verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
interface-only modules, bug721.  Reported by Dean Hoyt.

10 years agoMake gulp.el obsolete
Glenn Morris [Wed, 26 Mar 2014 01:41:13 +0000 (21:41 -0400)]
Make gulp.el obsolete

* lisp/obsolete/gulp.el: Move here from emacs-lisp/.

* doc/emacs/ack.texi (Acknowledgments): Remove reference to obsolete file.

10 years agoDoc tweaks related to file locking
Glenn Morris [Wed, 26 Mar 2014 01:24:01 +0000 (21:24 -0400)]
Doc tweaks related to file locking

* doc/lispref/files.texi (File Locks): All systems support locking.

* src/filelock.c (Flock_buffer): Doc tweak.

10 years agoRemove the build-time option CLASH_DETECTION
Glenn Morris [Wed, 26 Mar 2014 01:14:44 +0000 (21:14 -0400)]
Remove the build-time option CLASH_DETECTION

Every platform supports it, and the runtime option `create-lockfiles'
replaces it.

* configure.ac (CLASH_DETECTION): Remove option.

* lisp/files.el (lock-buffer, unlock-buffer, file-locked-p):
Remove fallback aliases, since they are always defined now.

* src/buffer.c (Frestore_buffer_modified_p, Fkill_buffer):
* src/emacs.c (shut_down_emacs):
* src/fileio.c (Finsert_file_contents, write_region):
* src/filelock.c (top-level, syms_of_filelock):
* src/insdel.c (prepare_to_modify_buffer_1):
CLASH_DETECTION is always defined now.

* admin/CPP-DEFINES: Remove CLASH_DETECTION.

10 years agoAddendum to: Undo in region after markers in undo history relocated
Barry O'Reilly [Tue, 25 Mar 2014 23:30:08 +0000 (19:30 -0400)]
Addendum to: Undo in region after markers in undo history relocated

* simple.el (primitive-undo): Correction to 2014-03-24 change.

Fixes: debbugs:16818

10 years agoImprove doc of file-symlink-p per bug #17073.
Eli Zaretskii [Tue, 25 Mar 2014 16:08:45 +0000 (18:08 +0200)]
Improve doc of file-symlink-p per bug #17073.

 doc/lispref/files.texi (Kinds of Files): Improve documentation of
 file-symlink-p.  Add cross-references.

10 years agoSpeed up thread startup on MS-Windows.
Eli Zaretskii [Tue, 25 Mar 2014 16:00:37 +0000 (18:00 +0200)]
Speed up thread startup on MS-Windows.

 src/w32.c (w32_delayed_load): Call DisableThreadLibraryCalls on the
 DLL handle, to speed up thread startup.

10 years agoHandle sigmask better with nested signal handlers.
Paul Eggert [Tue, 25 Mar 2014 14:43:26 +0000 (07:43 -0700)]
Handle sigmask better with nested signal handlers.

* atimer.c (sigmask_atimers): Remove.
Remaining use rewritten to use body of this function.
* atimer.c (block_atimers, unblock_atimers):
* callproc.c (block_child_signal, unblock_child_signal):
* sysdep.c (block_tty_out_signal, unblock_tty_out_signal):
New arg OLDSET.  All callers changed.
* atimer.c (block_atimers, unblock_atimers):
* callproc.c (block_child_signal, unblock_child_signal):
* keyboard.c (handle_interrupt):
* sound.c (vox_configure, vox_close):
Restore the old signal mask rather than unilaterally clearing bits
from the mask, in case a handler is running within another
handler.  All callers changed.
* lisp.h, process.c, process.h, term.c:
Adjust decls and callers to match new API.
* sysdep.c (emacs_sigaction_init): Don't worry about masking SIGFPE;
signal handlers aren't supposed to use floating point anyway.
(handle_arith_signal): Unblock just SIGFPE rather than clearing mask.

Fixes: debbugs:15561

10 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-directly): In the
Michael Albinus [Tue, 25 Mar 2014 09:49:37 +0000 (10:49 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-directly): In the
`rename' case, check whether source directory has set the sticky bit.

10 years ago* net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
Michael Albinus [Tue, 25 Mar 2014 08:16:49 +0000 (09:16 +0100)]
* net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.

* net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
from 2014-03-07, it decreases performance unnecessarily.  Let-bind
`remote-file-name-inhibit-cache' to nil in the second pass.
(tramp-find-executable): Do not call "which" on SunOS.
(tramp-send-command-and-check): Fix docstring.

10 years agoFix last ChangeLog entry.
Michael Albinus [Tue, 25 Mar 2014 07:34:30 +0000 (08:34 +0100)]
Fix last ChangeLog entry.

10 years agoUndo in region after markers in undo history relocated
Barry O'Reilly [Tue, 25 Mar 2014 02:47:39 +0000 (22:47 -0400)]
Undo in region after markers in undo history relocated

* simple.el (primitive-undo): Only process marker adjustments
validated against their corresponding (TEXT . POS).  Issue warning
for lone marker adjustments in undo history.  (Bug#16818)
(undo-make-selective-list): Add marker adjustments to selective
undo list based on whether their corresponding (TEXT . POS) is in
the region.  Remove variable adjusted-markers, which was unused
and only non nil during undo-make-selective-list.
(undo-elt-in-region): Return nil when passed a marker adjustment
and explain in function doc.

Have (MARKER . ADJUSTMENT) undo records always be immediately
after their corresponding (TEXT . POS) record in undo list.
(Bug#16818)
* lisp.h (record-delete): New arg record_markers.
(record_marker_adjustment): No longer needed outside undo.c.
* insdel.c (adjust_markers_for_delete): Move calculation of marker
adjustments to undo.c's record_marker_adjustments.  Note that
fileio.c's decide_coding_unwind is another caller to
adjust_markers_for_delete.  Because it has undo list bound to t,
it does not rely on adjust_markers_for_delete to record marker
adjustments.
(del_range_2): Swap call to record_delete and
adjust_markers_for_delete so as undo marker adjustments are
recorded before current deletion's adjustments, as before.
(adjust_after_replace):
(replace_range): Pass value for new record_markers arg to
delete_record.
* undo.c (record_marker_adjustment): Renamed to
record_marker_adjustments and made static.
(record_delete): Check record_markers arg and call
record_marker_adjustments.
(record_change): Pass value for new record_markers arg to
delete_record.
(record_point): at_boundary calculation no longer needs to account
for marker adjustments.

* undo-tests.el (undo-test-marker-adjustment-nominal):
(undo-test-region-t-marker): New tests of marker adjustments.
(undo-test-marker-adjustment-moved):
(undo-test-region-mark-adjustment): New tests to demonstrate
bug#16818, which fail without the fix.

* markers.texi (Moving Marker Positions): The 2014-03-02 doc
change mentioning undo's inability to handle relocated markers no
longer applies.  See bug#16818.
* text.texi (Undo): Expand documentation of (TEXT . POS) and
(MARKER . ADJUSTMENT) undo elements.

10 years agoFix bug#16762
Dmitry Gutov [Mon, 24 Mar 2014 22:38:06 +0000 (00:38 +0200)]
Fix bug#16762

* lisp/emacs-lisp/package.el (package--add-to-archive-contents):
Include already installed and built-in packages in
`package-archive-contents'.
(package-install): Don't include already installed packages in the
options on interactive invocation.

10 years agoBackport &key-parsing improvement from trunk
Daniel Colascione [Mon, 24 Mar 2014 20:41:08 +0000 (13:41 -0700)]
Backport &key-parsing improvement from trunk

10 years agolisp/frameset.el (frameset--initial-params): Fix typo in parameter name.
Juanma Barranquero [Mon, 24 Mar 2014 20:01:21 +0000 (21:01 +0100)]
lisp/frameset.el (frameset--initial-params): Fix typo in parameter name.

10 years agolisp/align.el (align-region): Do not fail when end-mark is nil (bug#17088).
Nicolas Richard [Mon, 24 Mar 2014 16:54:24 +0000 (17:54 +0100)]
lisp/align.el (align-region): Do not fail when end-mark is nil (bug#17088).

10 years agoMatch special globals in Ruby better
Dmitry Gutov [Mon, 24 Mar 2014 08:53:56 +0000 (10:53 +0200)]
Match special globals in Ruby better

* lisp/progmodes/ruby-mode.el (ruby-expression-expansion-re):
Match special global variables without curlies, too.
(ruby-font-lock-keywords): Simplify the matcher for special global
variables.  Don't require a non-word character after the variable.

Fixes: debbugs:17057

10 years agoRefine previous fix of x_set_window_size to handle Bug#17077.
Martin Rudalics [Mon, 24 Mar 2014 08:50:17 +0000 (09:50 +0100)]
Refine previous fix of x_set_window_size to handle Bug#17077.

* w32term.c (x_set_window_size): Refine fix from 2014-03-14
(Bug#17077).

10 years ago* tramp.texi (Frequently Asked Questions): Add fish shell settings.
Michael Albinus [Mon, 24 Mar 2014 08:09:42 +0000 (09:09 +0100)]
* tramp.texi (Frequently Asked Questions): Add fish shell settings.

10 years agoImprove performance of &key parsing
Daniel Colascione [Mon, 24 Mar 2014 03:06:35 +0000 (20:06 -0700)]
Improve performance of &key parsing

10 years agolisp/gnus/mml.el: Require url when compiling
Katsumi Yamaoka [Mon, 24 Mar 2014 01:56:03 +0000 (01:56 +0000)]
lisp/gnus/mml.el: Require url when compiling

10 years agolisp/gnus/ChangeLog: Fix last commit
Katsumi Yamaoka [Mon, 24 Mar 2014 00:42:10 +0000 (00:42 +0000)]
lisp/gnus/ChangeLog: Fix last commit

10 years agoGnus: silence the byte compiler
Katsumi Yamaoka [Mon, 24 Mar 2014 00:35:00 +0000 (00:35 +0000)]
Gnus: silence the byte compiler

* gnus-cloud.el (gnus-cloud-parse-version-1):
Use plist-get rather than CL's getf.
(gnus-activate-group, gnus-subscribe-group): Declare.
* gnus-sum.el (gnus-mime-buttonize-attachments-in-header: Declare.

10 years ago(no commit message)
Katsumi Yamaoka [Mon, 24 Mar 2014 00:13:12 +0000 (00:13 +0000)]

10 years ago* src/fileio.c (Ffile_symlink_p): Doc fix.
Glenn Morris [Sun, 23 Mar 2014 23:38:40 +0000 (16:38 -0700)]
* src/fileio.c (Ffile_symlink_p): Doc fix.

Fixes: debbugs:17073

10 years agoMerge from Gnus git master
Gnus developers [Sun, 23 Mar 2014 23:16:06 +0000 (23:16 +0000)]
Merge from Gnus git master

2014-03-14 Katsumi Yamaoka <yamaoka@jpl.org>
 * gnus.texi (Ma Gnus): Mention header attachment buttons.

2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
 * emacs-mime.texi (MML Definition): Document recipient-filename.

2014-02-05 Katsumi Yamaoka <yamaoka@jpl.org>
 * gnus.texi (MIME Commands): Mention
 gnus-mime-buttonize-attachments-in-header and
 gnus-mime-display-attachment-buttons-in-header.

2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
 * message.texi (Forwarding): Mention
 `message-forward-included-headers'.

2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
 * gnus.texi: w3 is no longer supported by Gnus.

10 years agoMerge from Gnus git master
Gnus developers [Sun, 23 Mar 2014 23:14:52 +0000 (23:14 +0000)]
Merge from Gnus git master

2014-02-04 Lars Ingebrigtsen <larsi@gnus.org>
 * calendar/parse-time.el (parse-time-iso8601-regexp)
 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
 it more generally.

2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
 * net/dns.el (network-interface-list): Define for XEmacs.

2014-01-31 Magnus Henoch <magnus.henoch@gmail.com>
 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
 the network interfaces changed.
 (dns-query): Use it to flush the data.

10 years agoMerge from Gnus git master
Gnus developers [Sun, 23 Mar 2014 23:13:36 +0000 (23:13 +0000)]
Merge from Gnus git master

2014-03-14 Katsumi Yamaoka <yamaoka@jpl.org>
 * gnus-sum.el (gnus-summary-toggle-header): Display header attachment
 buttons when toggling the header off.

2014-03-07 Daiki Ueno <ueno@gnu.org>
 * mml2015.el (mml2015-use): Don't check the availability of GnuPG
 commands here; instead, only check if epg-config.el is available.

2014-03-06 Lars Ingebrigtsen <larsi@gnus.org>
 * mml.el (mml-expand-html-into-multipart-related): Allow sending HTML
 messages with embedded images.
 (mml-generate-mime): Don't bug out if you don't have libxml.

2014-03-06 Lars Ingebrigtsen <larsi@gnus.org>
 * message.el (message-make-html-message-with-image-files): New command.

2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
 * mml.el (mml-insert-mime-headers): Allow `recipient-filename'.

2014-02-23 David Engster <deng@randomsample.de>
 * auth-source.el (auth-source-netrc-saver): Do not depend on `cl-lib'
 to stay compatible with older Emacsen, so replace `cl-loop' with
 `loop'.

2014-02-17 Katsumi Yamaoka <yamaoka@jpl.org>
 * gnus-art.el (gnus-article-prepare, gnus-article-prepare-display):
 Display header attachment buttons by gnus-article-prepare-display
 rather than gnus-article-prepare so as to view in mml-preview as well.

2014-02-10 Katsumi Yamaoka <yamaoka@jpl.org>
 * gnus-art.el (gnus-article-goto-part): Find a button in the body first.
 (gnus-mime-buttonize-attachments-in-header): Number hidden buttons.

2014-02-07 Katsumi Yamaoka <yamaoka@jpl.org>
 * gnus-art.el (gnus-mime-buttonize-attachments-in-header): Display
 buttons that are hidden in unselected alternative part as well.
 (gnus-mime-display-alternative): Redraw attachment buttons in header.
 * gmm-utils.el (gmm-labels): Add edebug spec.

2014-02-07 Lars Ingebrigtsen <larsi@gnus.org>
 * gnus-srvr.el (gnus-server-toggle-cloud-server): New command and
 keystroke.
 (gnus-server-toggle-cloud-server): Only allow clouding applicable
 types.

2014-02-05 Katsumi Yamaoka <yamaoka@jpl.org>
 * gnus.el (gnus-copy-overlay, gnus-overlays-at): New functions.
 * gnus-art.el (gnus-mime-display-attachment-buttons-in-header):
 New user option.
 (gnus-mime-buttonize-attachments-in-header): New function.
 (gnus-article-prepare): Use it.
 (gnus-mime-inline-part): Suppress extra newline.
 (gnus-mm-display-part): Save excursion;
 remove useless deleting and adding of buttons.
 (gnus-insert-mime-button): Allow insertion in the middle of a line.
 * gnus-sum.el (gnus-summary-wash-mime-map, gnus-summary-article-menu):
 Add gnus-mime-buttonize-attachments-in-header.

2014-02-05 Lars Ingebrigtsen <larsi@gnus.org>
 * nnimap.el (nnimap-request-articles): New command to download several
 articles at once.
 * gnus.el (gnus-variable-list): Save Cloud variables.

2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
 * gnus-cloud.el: New file to provide the Emacs Cloud.
 * gravatar.el (gravatar-retrieve-synchronously): XEmacs also has
 `url-retrieve-synchronously', apparently.
 * gnus-notifications.el (gravatar-retrieve-synchronously): Declare for
 XEmacs.
 * nnrss.el (libxml-parse-html-region): Silence compilation error.

2014-02-01 Daniel Dehennin <daniel.dehennin@baby-gnu.org>
 * gnus-mlspl.el (gnus-group-split-fancy): Use `gnus-parameters' in
 `gnus-group-split-fancy'.

2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
 * message.el (message-remove-header): Doc fix.
 (message-forward-included-headers): New variable.
 (message-remove-ignored-headers): Use it.

2014-01-31 Dave Abrahams <dave@boostpro.com>
 * gnus-sum.el (gnus-summary-open-group-with-article): New command.

2013-09-04 Rasmus Pank Roulund <emacs@pank.eu>
 * gnus-fun.el (gnus-x-face-omit-files): Regexp to omit matched results
 from random face commands.
 (gnus-face-directory): Like `gnus-x-face-directory` for png files and
 Face.
 (gnus-face-omit-files): Like `gnus-x-face-omit-files` for Face.
 (gnus--random-face-with-type): Generic function returning a face-type
 as a string.
 (gnus--insert-random-face-with-type): Generic function inserting a face
 in a message buffer header.
 (gnus-random-x-face): Rewritten to use `gnus--random-face-with-type`.
 (gnus-insert-random-x-face-header): Rewritten to use
 `gnus--insert-random-face-with-type`.
 (gnus-random-face): Return random (png) Face as string.
 (nus-insert-random-face-header): Insert random (png) Face in a message
 buffer.

2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
 * mm-url.el: Remove all usage of w3.
 * nnrss.el: Ditto.
 * mm-decode.el: Ditto.
 * mm-view.el: Ditto.
 * gnus-setup.el: Remove outdated file.

10 years ago* lisp/simple.el (redisplay-highlight-region-function): Increase priority of
Stefan Monnier [Sun, 23 Mar 2014 22:30:47 +0000 (18:30 -0400)]
* lisp/simple.el (redisplay-highlight-region-function): Increase priority of
overlay to make sure boundaries are visible.
* src/buffer.c (struct sortvec): Add field `spriority'.
(compare_overlays): Use it.
(sort_overlays): Set it.

Fixes: debbugs:15899

10 years agolisp/frameset.el (frameset-restore): Compare display strings with equal.
Juanma Barranquero [Sun, 23 Mar 2014 22:14:11 +0000 (23:14 +0100)]
lisp/frameset.el (frameset-restore): Compare display strings with equal.

10 years agolisp/frame.el (make-frame): Don't quote display name in error message.
Juanma Barranquero [Sun, 23 Mar 2014 22:11:59 +0000 (23:11 +0100)]
lisp/frame.el (make-frame): Don't quote display name in error message.

10 years agoClean up gc_sweep
Daniel Colascione [Sun, 23 Mar 2014 21:58:41 +0000 (14:58 -0700)]
Clean up gc_sweep

10 years agolisp/vc/vc.el (vc-rollback): Use set-buffer-modified-p.
Juanma Barranquero [Sun, 23 Mar 2014 18:13:35 +0000 (19:13 +0100)]
lisp/vc/vc.el (vc-rollback): Use set-buffer-modified-p.

10 years agosrc/w32fns.c (Fw32_shell_execute): Declare `result' only on Cygwin.
Juanma Barranquero [Sun, 23 Mar 2014 18:11:18 +0000 (19:11 +0100)]
src/w32fns.c (Fw32_shell_execute): Declare `result' only on Cygwin.

10 years agoFix up recent merge ChangeLog duplication
Glenn Morris [Sun, 23 Mar 2014 17:56:34 +0000 (10:56 -0700)]
Fix up recent merge ChangeLog duplication

Perhaps the merge was done without using bzrmerge.el

10 years agoFix ChangeLog entry of last commit.
Eli Zaretskii [Sun, 23 Mar 2014 15:59:15 +0000 (17:59 +0200)]
Fix ChangeLog entry of last commit.

10 years agoFix bug #17047 with cursor motion when invisible text starts a line.
Eli Zaretskii [Sun, 23 Mar 2014 15:57:25 +0000 (17:57 +0200)]
Fix bug #17047 with cursor motion when invisible text starts a line.

 src/xdisp.c (redisplay_window): If all previous attempts to find the
 cursor row failed, try a few alternatives before falling back to
 the top-most row of the window.  Use row_containing_pos.

10 years agoFurther improve XIM init
Daniel Colascione [Sun, 23 Mar 2014 11:45:17 +0000 (04:45 -0700)]
Further improve XIM init

10 years agoFurther improve create_frame_xic patch
Daniel Colascione [Sun, 23 Mar 2014 11:35:21 +0000 (04:35 -0700)]
Further improve create_frame_xic patch

10 years agoMake Emacs work with ibus
Daniel Colascione [Sun, 23 Mar 2014 10:57:25 +0000 (03:57 -0700)]
Make Emacs work with ibus

10 years agoImprove XIC fix
Daniel Colascione [Sun, 23 Mar 2014 10:56:30 +0000 (03:56 -0700)]
Improve XIC fix

10 years agoWork around flaky XIM modules
Daniel Colascione [Sun, 23 Mar 2014 10:24:51 +0000 (03:24 -0700)]
Work around flaky XIM modules

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 23 Mar 2014 10:24:01 +0000 (06:24 -0400)]
Auto-commit of loaddefs files.

10 years ago* net/tramp.el (tramp-read-passwd): Suspend the timers while reading
Thierry Volpiatto [Sun, 23 Mar 2014 09:22:16 +0000 (10:22 +0100)]
* net/tramp.el (tramp-read-passwd): Suspend the timers while reading
the password.

10 years agoNotice when gfilenotify depends on glib
Daniel Colascione [Sun, 23 Mar 2014 09:17:29 +0000 (02:17 -0700)]
Notice when gfilenotify depends on glib

10 years ago* lisp/emacs-lisp/package.el (package-show-package-list): If the buffer
Dmitry Gutov [Sun, 23 Mar 2014 08:35:56 +0000 (10:35 +0200)]
* lisp/emacs-lisp/package.el (package-show-package-list): If the buffer
is already displayed in another window, switch to that window.

10 years agoImprove init_tty readability
Daniel Colascione [Sun, 23 Mar 2014 08:29:43 +0000 (01:29 -0700)]
Improve init_tty readability

10 years agoMerge capitalized-words-mode and subword-mode
Daniel Colascione [Sun, 23 Mar 2014 07:36:26 +0000 (00:36 -0700)]
Merge capitalized-words-mode and subword-mode

10 years agoBackport memory info in bug reports (2014-03-21T21:27:25Z!dancol@dancol.org) from...
Daniel Colascione [Sun, 23 Mar 2014 06:16:14 +0000 (23:16 -0700)]
Backport memory info in bug reports (2014-03-21T21:27:25Z!dancol@dancol.org) from trunk

10 years agoBackport memory fix (2014-03-22T03:04:53Z!dancol@dancol.org) from trunk
Daniel Colascione [Sun, 23 Mar 2014 06:07:54 +0000 (23:07 -0700)]
Backport memory fix (2014-03-22T03:04:53Z!dancol@dancol.org) from trunk

10 years agoBackport memory fix (2014-03-23T05:15:48Z!dancol@dancol.org) from trunk
Daniel Colascione [Sun, 23 Mar 2014 06:05:54 +0000 (23:05 -0700)]
Backport memory fix (2014-03-23T05:15:48Z!dancol@dancol.org) from trunk

10 years agoMerge from emacs-24; up to 2014-03-21T23:16:26Z!rms@gnu.org
Daniel Colascione [Sun, 23 Mar 2014 06:02:36 +0000 (23:02 -0700)]
Merge from emacs-24; up to 2014-03-21T23:16:26Z!rms@gnu.org

10 years agoFix keyword argument parsing. Please bootstrap.
Daniel Colascione [Sun, 23 Mar 2014 06:00:18 +0000 (23:00 -0700)]
Fix keyword argument parsing. Please bootstrap.

10 years agoFix cl-defun keyword arg parsing. Please bootstrap.
Daniel Colascione [Sun, 23 Mar 2014 05:50:24 +0000 (22:50 -0700)]
Fix cl-defun keyword arg parsing.  Please bootstrap.

10 years agoDon't underflow datagram_address array
Daniel Colascione [Sun, 23 Mar 2014 05:15:48 +0000 (22:15 -0700)]
Don't underflow datagram_address array

10 years agoFix test failure in non-graphical mode
Dmitry Gutov [Sun, 23 Mar 2014 03:26:13 +0000 (05:26 +0200)]
Fix test failure in non-graphical mode

* test/automated/package-test.el (package-test-describe-package):
Fix test failure in non-graphical mode.

Add some missing ChangeLog entries.

10 years agoBackport Yeeloong battery.el fix from trunk
Richard M. Stallman [Sun, 23 Mar 2014 00:08:47 +0000 (17:08 -0700)]
Backport Yeeloong battery.el fix from trunk

Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00782.html

* lisp/battery.el (battery-linux-sysfs):
Search for each field from the beginning of the buffer.

10 years ago* efaq.texi: Remove cindex that no longer applies after previous change
Glenn Morris [Sat, 22 Mar 2014 23:58:15 +0000 (16:58 -0700)]
* efaq.texi: Remove cindex that no longer applies after previous change

10 years agoMake dired-read-regexp obsolete
Glenn Morris [Sat, 22 Mar 2014 23:56:19 +0000 (16:56 -0700)]
Make dired-read-regexp obsolete

It's not worth having such a trivial wrapper for read-regexp.

* lisp/dired.el (dired-read-regexp): Make obsolete.
(dired-mark-files-regexp, dired-mark-files-containing-regexp)
(dired-flag-files-regexp):
* lisp/dired-aux.el (dired-mark-read-regexp):
* lisp/dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.

10 years agoMake some files in etc obsolete
Glenn Morris [Sat, 22 Mar 2014 23:47:20 +0000 (16:47 -0700)]
Make some files in etc obsolete

These are old copies of online information that is not Emacs-specific.

* etc/CENSORSHIP, etc/GNU, etc/LINUX-GNU, etc/THE-GNU-PROJECT, etc/WHY-FREE:
Replace contents with pointers to www.gnu.org or emacs.info, mark obsolete.

* src/callproc.c (init_callproc): In etc, look for NEWS rather than GNU.

* lisp/startup.el (fancy-startup-text):
* lisp/help.el (describe-gnu-project): Visit online info about GNU project.

* doc/emacs/help.texi (Help Files): Update C-h g description.

* doc/misc/efaq.texi (Informational files for Emacs): Do not mention etc/GNU.

* admin/notes/copyright: Remove references to these files.

* etc/MACHINES, etc/NEWS.19: Replace references to these files.

10 years agoReduce duplication in lib-src etags/ctags rules
Glenn Morris [Sat, 22 Mar 2014 23:08:41 +0000 (16:08 -0700)]
Reduce duplication in lib-src etags/ctags rules

* lib-src/Makefile.in (etags_deps, etags_args): New, to reduce duplication.
(etags${EXEEXT}, ctags${EXEEXT}): Use etags_deps, etags_args.

10 years agoUse $@ more in lib-src/Makefile.in
Glenn Morris [Sat, 22 Mar 2014 23:06:29 +0000 (16:06 -0700)]
Use $@ more in lib-src/Makefile.in

* lib-src/Makefile.in (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
(profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
(emacsclient${EXEEXT}, emacsclientw${EXEEXT}, hexl${EXEEXT})
(update-game-score${EXEEXT}, emacsclient.res): Use $@.

10 years ago* lib-src/Makefile.in (../lib/libgnu.a): Explicitly pass MFLAGS.
Glenn Morris [Sat, 22 Mar 2014 23:02:13 +0000 (16:02 -0700)]
* lib-src/Makefile.in (../lib/libgnu.a): Explicitly pass MFLAGS.

10 years ago* etc/PROBLEMS: Small copyedits.
Glenn Morris [Sat, 22 Mar 2014 22:56:29 +0000 (15:56 -0700)]
* etc/PROBLEMS: Small copyedits.

10 years agoRemove lib-src/test-distrib.c and related
Glenn Morris [Sat, 22 Mar 2014 22:52:47 +0000 (15:52 -0700)]
Remove lib-src/test-distrib.c and related

The class of problems that this was designed to detect, namely .elc
files getting corrupted by being passed around by email via uuencode
or somesuch, has not been a relevant concern for many years.

* lib-src/test-distrib.c, lib-src/testfile: Remove.

* lib-src/Makefile.in (DONT_INSTALL): Remove test-distrib.
(test-distrib${EXEEXT}): Remove rule.

* make-dist: Do not distribute lib-src/testfile.

* admin/quick-install-emacs (AVOID): Remove testfile and test-distrib.

* INSTALL, etc/PROBLEMS, admin/notes/unicode:
Remove references to test-distrib and testfile.

10 years agoInclude interactive-only information in describe-function output
Glenn Morris [Sat, 22 Mar 2014 22:36:29 +0000 (15:36 -0700)]
Include interactive-only information in describe-function output

* lisp/help-fns.el (help-fns--interactive-only): New function.
(help-fns-describe-function-functions): Add the above function.

* lisp/simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
(next-line, previous-line): Remove hand-written interactive-only
information from doc strings, it is auto-generated now.

* lisp/bookmark.el (bookmark-write):
* lisp/epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
(epa-mail-import-keys): Mark interactive-only,
and remove hand-written interactive-only information from doc strings.

* lisp/epa.el (epa-decrypt-armor-in-region, epa-verify-region)
(epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
* lisp/files.el (not-modified):
* lisp/simple.el (mark-whole-buffer): Mark interactive-only.

* doc/lispref/commands.texi (Defining Commands):
Mention that interactive-only also affects describe-function.

* etc/NEWS: Mention this.

10 years agoAllow `declare' to set the interactive-only property
Glenn Morris [Sat, 22 Mar 2014 22:12:52 +0000 (15:12 -0700)]
Allow `declare' to set the interactive-only property

* lisp/emacs-lisp/byte-run.el (defun-declarations-alist):
Add interactive-only.  Doc tweak.
(macro-declarations-alist): Doc tweak.

* lisp/subr.el (declare): Doc tweak (add xref to manual).

* lisp/comint.el (comint-run):
* lisp/files.el (insert-file-literally, insert-file):
* lisp/replace.el (replace-string, replace-regexp):
* lisp/simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
(delete-forward-char, goto-line, insert-buffer, next-line)
(previous-line): Set interactive-only via declare.

* doc/lispref/functions.texi (Declare Form): Add interactive-only.

* doc/lispref/commands.texi (Defining Commands) Mention declare.

* etc/NEWS: Mention this.

10 years agoMerge from emacs-24; up to 2014-03-21T21:27:25Z!dancol@dancol.org
Glenn Morris [Sat, 22 Mar 2014 21:44:04 +0000 (14:44 -0700)]
Merge from emacs-24; up to 2014-03-21T21:27:25Z!dancol@dancol.org

10 years ago* lispref/commands.texi (Defining Commands): Tweak previous change.
Glenn Morris [Sat, 22 Mar 2014 21:41:31 +0000 (14:41 -0700)]
* lispref/commands.texi (Defining Commands): Tweak previous change.

10 years ago* lispref/commands.texi (Defining Commands): List interactive-only values.
Glenn Morris [Sat, 22 Mar 2014 19:54:48 +0000 (12:54 -0700)]
* lispref/commands.texi (Defining Commands): List interactive-only values.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 22 Mar 2014 10:18:10 +0000 (06:18 -0400)]
Auto-commit of loaddefs files.

10 years agoFix bug#16873
Dmitry Gutov [Sat, 22 Mar 2014 08:43:30 +0000 (10:43 +0200)]
Fix bug#16873

* lisp/emacs-lisp/package.el (package-desc): Use the contents of the
quoted form, not its cdr.

10 years agodoc/lispref/functions.texi (Core Advising Primitives): Fix cross-reference in last...
Eli Zaretskii [Sat, 22 Mar 2014 08:35:03 +0000 (10:35 +0200)]
doc/lispref/functions.texi (Core Advising Primitives): Fix cross-reference in last change.

10 years agoRevert last commit.
Eli Zaretskii [Sat, 22 Mar 2014 08:28:20 +0000 (10:28 +0200)]
Revert last commit.

10 years agoFix bug #16694 with face attributes changed by themes.
Matthias Dahl [Sat, 22 Mar 2014 08:18:42 +0000 (10:18 +0200)]
Fix bug #16694 with face attributes changed by themes.

 lisp/faces.el (face-spec-recalc): Doc fix.  Call
 make-face-x-resource-internal earlier, and condition that on
 no-init-from-resources being nil.