]> git.eshelyaron.com Git - emacs.git/log
emacs.git
10 years ago* fns.c (validate_subarray): Rename from validate_substring,
Paul Eggert [Tue, 1 Apr 2014 20:18:12 +0000 (13:18 -0700)]
* fns.c (validate_subarray): Rename from validate_substring,

since it works for vectors too.  New arg ARRAY.  Optimize for the
non-nil case.  Instead of returning bool, throw an error if out of
range, so that the caller needn't do that.  All uses changed.
Report original values if out of range.
(Fsubstring, Fsubstring_no_properties, secure_hash):
Also optimize the case where FROM is 0 or TO is the size.

10 years agoconfigure.ac comment
Glenn Morris [Tue, 1 Apr 2014 16:17:19 +0000 (09:17 -0700)]
configure.ac comment

10 years ago* lisp/cedet/ede/emacs.el (ede-emacs-version): Update AC_INIT regexp.
Glenn Morris [Tue, 1 Apr 2014 16:01:00 +0000 (09:01 -0700)]
* lisp/cedet/ede/emacs.el (ede-emacs-version): Update AC_INIT regexp.

Fixes: debbugs:17160
10 years ago* NEWS: `url-handler-mode' passes operations to Tramp for some protocols.
Michael Albinus [Tue, 1 Apr 2014 13:20:20 +0000 (15:20 +0200)]
* NEWS: `url-handler-mode' passes operations to Tramp for some protocols.

10 years agoPass some protocols to Tramp, like ssh and friends.
Michael Albinus [Tue, 1 Apr 2014 12:41:56 +0000 (14:41 +0200)]
Pass some protocols to Tramp, like ssh and friends.

* url-tramp.el: New file.

* url-handlers.el (url-handler-regexp): Add ssh, scp, rsync and telnet.
Add :version.
(url-file-handler): Call `url-tramp-file-handler' if appropriate.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Tue, 1 Apr 2014 10:17:57 +0000 (06:17 -0400)]
Auto-commit of loaddefs files.

10 years ago* fns.c (Fsubstring, Fsubstring_no_properties, secure_hash):
Dmitry Antipov [Mon, 31 Mar 2014 12:06:34 +0000 (16:06 +0400)]
* fns.c (Fsubstring, Fsubstring_no_properties, secure_hash):
Move common substring range checking code to...
(validate_substring): ...this function.

10 years ago* search.c (Freplace_match): Use make_specified_string.
Dmitry Antipov [Mon, 31 Mar 2014 07:13:58 +0000 (11:13 +0400)]
* search.c (Freplace_match): Use make_specified_string.
* xterm.c, w32term.c (x_set_glyph_string_gc): Use emacs_abort
to catch bogus override face of glyph strings.

10 years ago* nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO
Jan Djärv [Mon, 31 Mar 2014 06:20:04 +0000 (08:20 +0200)]
* nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO

Fixes: debbugs:16976
10 years ago* configure.ac: Fix errors from previous checkin (GSettings check).
Jan Djärv [Mon, 31 Mar 2014 05:02:08 +0000 (07:02 +0200)]
* configure.ac: Fix errors from previous checkin (GSettings check).

10 years agoDiscuss using lazy completion tables for inline completion.
Daniel Colascione [Mon, 31 Mar 2014 02:25:02 +0000 (19:25 -0700)]
Discuss using lazy completion tables for inline completion.

10 years ago* emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): Refactor
Leo Liu [Mon, 31 Mar 2014 01:31:17 +0000 (09:31 +0800)]
* emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): Refactor
out eldoc-documentation-function-default.
(eldoc-documentation-function-default): New function.
(eldoc-documentation-function): Change value.

10 years agoSync some vhdl changes that seem to have been missed from some previous merge
Glenn Morris [Mon, 31 Mar 2014 00:49:05 +0000 (17:49 -0700)]
Sync some vhdl changes that seem to have been missed from some previous merge

* lisp/progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
(vhdl-compose-components-package, vhdl-compose-configuration):
Abbreviate default-directory.

10 years ago* lisp/simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
Glenn Morris [Mon, 31 Mar 2014 00:35:12 +0000 (17:35 -0700)]
* lisp/simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.

Include restoring manual line-breaks to state before 2014-03-28T16:26:15Z!mina86@mina86.com.

10 years agoSync with upstream vhdl mode v3.35.2.
Reto Zimmermann [Mon, 31 Mar 2014 00:22:29 +0000 (17:22 -0700)]
Sync with upstream vhdl mode v3.35.2.

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

* lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
(top-level): No longer require assoc.
(vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
New functions.  Use throughout to replace aget etc.
(vhdl-aput-delete-if-nil): Rename from vhdl-aput.
(vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
(vhdl-template-replace-header-keywords): Fix bug for "<title string>".
(vhdl-compile-init): Do not initialize regexps for Emacs 22+.
(vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
except `vhdl-compiler'.
(vhdl-error-regexp-add-emacs): Remove all other compilers,
when appropriate.

10 years agovhdl-mode.el small fixup
Glenn Morris [Mon, 31 Mar 2014 00:08:55 +0000 (17:08 -0700)]
vhdl-mode.el small fixup

* lisp/progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
Revert 2014-03-26 merge goof; go back to using defalias.

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

10 years agocompletion-in-region-mode improvements
Daniel Colascione [Sun, 30 Mar 2014 19:12:57 +0000 (12:12 -0700)]
completion-in-region-mode improvements

10 years agoAvoid flickering on frame creation with tool bar on OSX.
Jan Djärv [Sun, 30 Mar 2014 17:21:20 +0000 (19:21 +0200)]
Avoid flickering on frame creation with tool bar on OSX.

* nsmenu.m (update_frame_tool_bar): Return early if view or toolbar
is nil.  If waiting for toolbar to complete, force a redraw.

* nsterm.h (EmacsView): Add wait_for_tool_bar.

* nsterm.m (updateFrameSize:): If waiting for the tool bar and tool
bar is zero height, just return.
(initFrameFromEmacs:): Initialize wait_for_tool_bar.

Fixes: debbugs:16976
10 years ago* configure.ac: Add check that GSettings is in libgio.
Jan Djärv [Sat, 29 Mar 2014 12:08:47 +0000 (13:08 +0100)]
* configure.ac: Add check that GSettings is in libgio.

Fixes: debbugs:17118
10 years agoede autoload tweak
Glenn Morris [Sat, 29 Mar 2014 02:59:51 +0000 (19:59 -0700)]
ede autoload tweak

* lisp/cedet/ede/dired.el (ede-dired-minor-mode): Add autoload cookie.
(generated-autoload-file, generated-autoload-load-name):
Set file-local values.

* lisp/cedet/ede.el: Load ede/loaddefs at compile time too.
(ede-dired-minor-mode): Remove hand-written autoload.

10 years ago* lisp/speedbar.el: Remove some old commentary.
Glenn Morris [Sat, 29 Mar 2014 01:53:35 +0000 (21:53 -0400)]
* lisp/speedbar.el: Remove some old commentary.

10 years agoSet Maintainer to emacs-devel in some lisp/url files.
Glenn Morris [Sat, 29 Mar 2014 00:55:44 +0000 (20:55 -0400)]
Set Maintainer to emacs-devel in some lisp/url files.

10 years agoManage reftex's internal autoloads automatically
Glenn Morris [Sat, 29 Mar 2014 00:53:32 +0000 (20:53 -0400)]
Manage reftex's internal autoloads automatically

* lisp/textmodes/reftex.el: Manage most autoloads automatically.

* lisp/textmodes/reftex-auc.el, lisp/textmodes/reftex-cite.el:
* lisp/textmodes/reftex-dcr.el, lisp/textmodes/reftex-global.el:
* lisp/textmodes/reftex-index.el, lisp/textmodes/reftex-parse.el:
* lisp/textmodes/reftex-ref.el, lisp/textmodes/reftex-sel.el:
* lisp/textmodes/reftex-toc.el: Set generated-autoload-file,
and add autoload cookies for reftex.el.

* lisp/Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.

10 years ago* (make-dist): Update AC_INIT regexp.
Glenn Morris [Sat, 29 Mar 2014 00:14:16 +0000 (20:14 -0400)]
* (make-dist): Update AC_INIT regexp.

10 years agoImprove usage of AC_INIT
Glenn Morris [Fri, 28 Mar 2014 23:11:39 +0000 (19:11 -0400)]
Improve usage of AC_INIT

* configure.ac (AC_INIT): Add "GNU" in package, add bug address.
(PACKAGE_BUGREPORT): Use it.

* src/emacs.c (emacs_version): Use PACKAGE_VERSION rather than VERSION.
(emacs_bugreport): New variable.
(usage_message): Use PACKAGE_BUGREPORT.
(syms_of_emacs) <report-emacs-bug-address>: New variable.

* lisp/cus-start.el (report-emacs-bug-address): Set custom properties.

* lisp/mail/emacsbug.el (report-emacs-bug-address):
Variable is now defined in emacs.c.

10 years ago* lisp/url/url-vars.el (url-bug-address): Make into an obsolete alias.
Glenn Morris [Fri, 28 Mar 2014 23:02:02 +0000 (19:02 -0400)]
* lisp/url/url-vars.el (url-bug-address): Make into an obsolete alias.

* lisp/urlurl-http.el (url-http-handle-authentication):
* lisp/url/url-news.el (url-news-fetch-message-id):
Use M-x report-emacs-bug in help messages.

10 years agoAdd system-configuration-features, summarising some configure results
Glenn Morris [Fri, 28 Mar 2014 22:03:42 +0000 (18:03 -0400)]
Add system-configuration-features, summarising some configure results

* configure.ac (ACL_SUMMARY): Rename from acl_summary, for consistency.
(EMACS_CONFIG_FEATURES): New define.

* src/emacs.c (syms_of_emacs) <system-configuration-features>: New var.

* lisp/mail/emacsbug.el (report-emacs-bug):
Include system-configuration-features.

* etc/NEWS: Mention this.

10 years agoMake `cycle-spacing' behave more like `just-one-space' if colled once.
Michal Nazarewicz [Fri, 28 Mar 2014 16:26:15 +0000 (17:26 +0100)]
Make `cycle-spacing' behave more like `just-one-space' if colled once.

* simple.el (cycle-spacing): Never delete spaces on first run by
default, but do so in a new 'fast mode and if there are already
N spaces (the previous behaviour).

Compare N with its value in previous invocation so that changing
prefix argument restarts `cycle-spacing' sequence.

The idea is that with this change, binding M-SPC to
`cycle-spacing' should not introduce any changes in behaviour of
the binding so long as users do not type M-SPC twice in a raw with
the same prefix argument or lack thereof.

10 years agoAdd gnus-group-* faces.
Tassilo Horn [Fri, 28 Mar 2014 08:59:06 +0000 (09:59 +0100)]
Add gnus-group-* faces.

* etc/themes/tsdh-light-theme.el (tsdh-light): Add gnus-group-* faces.

10 years agoTweak earlier tty-run-terminal-initialization change
Glenn Morris [Fri, 28 Mar 2014 07:16:42 +0000 (00:16 -0700)]
Tweak earlier tty-run-terminal-initialization change

* lisp/faces.el (tty-run-terminal-initialization):
Use tty-find-type so that aliases are matched with the
hyphen and underscore stripping behavior.

10 years agoMake term-file-aliases into a defcustom; tweaks previous change
Glenn Morris [Fri, 28 Mar 2014 01:39:30 +0000 (21:39 -0400)]
Make term-file-aliases into a defcustom; tweaks previous change

10 years agoIntroduce `term-file-aliases', replacing some small lisp/term files
Glenn Morris [Fri, 28 Mar 2014 01:29:54 +0000 (21:29 -0400)]
Introduce `term-file-aliases', replacing some small lisp/term files

* lisp/faces.el (term-file-aliases): New variable.
(tty-run-terminal-initialization): Respect term-file-aliases.

* lisp/term/apollo.el, lisp/term/vt102.el, lisp/term/vt125.el:
* lisp/term/vt201.el, lisp/term/vt220.el, lisp/term/vt240.el:
* lisp/term/vt300.el, lisp/term/vt320.el, lisp/term/vt400.el:
* lisp/term/vt420.el: Remove files, replaced by aliases.

* lisp/term/README: Mention term-file-aliases.

* lisp/term/AT386.el, lisp/term/news.el, lisp/term/tvi970.el:
* lisp/term/vt100.el, lisp/term/wyse50.el: Remove obsolete comment.

* doc/emacs/custom.texi (Terminal Init): Mention term-file-aliases.

* doc/lispref/os.texi (Terminal-Specific): Mention term-file-aliases.

* etc/NEWS: Mention this.

10 years agoPort recent signal-related changes to FreeBSD.
Paul Eggert [Thu, 27 Mar 2014 22:52:14 +0000 (15:52 -0700)]
Port recent signal-related changes to FreeBSD.

Problem reported by Herbert J. Skuhra.
* lisp.h (block_tty_out_signal, unblock_tty_out_signal):
Move decls from here ...
* syssignal.h: ... to here, so that lisp.h doesn't depend on signal.h.

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