bpt/emacs.git
11 years agoDocumentation fix for 'ls' and hard links.
Paul Eggert [Mon, 10 Jun 2013 20:26:20 +0000 (13:26 -0700)]
Documentation fix for 'ls' and hard links.

* compile.texi (Compilation Functions):
* files.texi (File Attributes, Changing Files):
Use current format for GNU 'ls' output.
(File Attributes): Fix problem introduced in previous change:
the link count is the number of hard links, not the number
of hard links + 1.

11 years agoFix ChangeLog typos and whitespace.
Juanma Barranquero [Mon, 10 Jun 2013 14:58:52 +0000 (16:58 +0200)]
Fix ChangeLog typos and whitespace.

11 years agolisp/allout.el: Fix make-variable-buffer-local call.
Juanma Barranquero [Mon, 10 Jun 2013 14:37:02 +0000 (16:37 +0200)]
lisp/allout.el: Fix make-variable-buffer-local call.

11 years agolisp/gnus/eww.el: Add form support; Make form submission work; Support POST
Lars Magne Ingebrigtsen [Mon, 10 Jun 2013 14:11:01 +0000 (14:11 +0000)]
lisp/gnus/eww.el: Add form support; Make form submission work; Support POST

11 years agolisp/gnus/sieve.el: Fix handling of PORT parameter, quitting
Albert Krewinkel [Mon, 10 Jun 2013 11:46:27 +0000 (11:46 +0000)]
lisp/gnus/sieve.el: Fix handling of PORT parameter, quitting

11 years ago* doc/lispref/files.texi (File Attributes): Fix typo.
Xue Fuqiao [Mon, 10 Jun 2013 11:19:12 +0000 (19:19 +0800)]
* doc/lispref/files.texi (File Attributes): Fix typo.

11 years agodoc/misc/epa.texi: Revert last bogus change
Katsumi Yamaoka [Mon, 10 Jun 2013 05:22:52 +0000 (05:22 +0000)]
doc/misc/epa.texi: Revert last bogus change

11 years agolisp/gnus/mm-view.el (mm-pkcs7-signed-magic, mm-pkcs7-enveloped-magic): Correct PKCS7...
Roy Hashimoto [Mon, 10 Jun 2013 05:17:51 +0000 (05:17 +0000)]
lisp/gnus/mm-view.el (mm-pkcs7-signed-magic, mm-pkcs7-enveloped-magic): Correct PKCS7 regexps to match messages with 0x0a bytes

11 years agoMinor cleanup in last commit in get_it_property.
Eli Zaretskii [Mon, 10 Jun 2013 04:36:06 +0000 (07:36 +0300)]
Minor cleanup in last commit in get_it_property.

 src/xdisp.c (get_it_property): Use it->window instead of generating
 a Lisp object from it->w.

11 years agoUpdate Ehsell visual-commands documentation
Aidan Gauland [Mon, 10 Jun 2013 02:41:49 +0000 (14:41 +1200)]
Update Ehsell visual-commands documentation

* eshell.texi (Input/Output): Expand to cover new visual-command
options, eshell-visual-subcommands and eshell-visual-options.
Divide into separate Visual Commands and Redirection sections.
* eshell/em-term.el (eshell-visual-commands)
(eshell-visual-subcommands)
(eshell-visual-options): Add summary line to docstrings.  Add
cross-references.

11 years agoWrap long line from previous commit.
Aidan Gauland [Mon, 10 Jun 2013 02:35:58 +0000 (14:35 +1200)]
Wrap long line from previous commit.

11 years ago* lisp/epa.el (epa-read-file-name): New function.
Glenn Morris [Mon, 10 Jun 2013 00:32:49 +0000 (17:32 -0700)]
* lisp/epa.el (epa-read-file-name): New function.
(epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.

* doc/misc/epa.texi (Cryptographic operations on files): Update epa-decrypt-file.

Fixes: debbugs:14510

11 years agoFix current-bidi-paragraph-direction wrt window pointer.
Eli Zaretskii [Sun, 9 Jun 2013 16:49:07 +0000 (19:49 +0300)]
Fix current-bidi-paragraph-direction wrt window pointer.

 src/xdisp.c (compute_display_string_pos): When W is NULL, use the current
 buffer as the object to pass to get-char-property.
 (Fcurrent_bidi_paragraph_direction): Assign NULL to the window
 pointer member of the bidi iterator, since no window is pertinent
 to this function.

11 years agoFix bug #14575 with window-specific overlays with line-prefix or wrap-prefix.
Eli Zaretskii [Sun, 9 Jun 2013 16:37:22 +0000 (19:37 +0300)]
Fix bug #14575 with window-specific overlays with line-prefix or wrap-prefix.

 src/xdisp.c (get_it_property): If it->object is a buffer, pass to
 get-char-property the window that is being rendered, instead of
 the buffer, to support window-specific overlays.

11 years agoMerge from gnulib.
Paul Eggert [Sun, 9 Jun 2013 15:59:30 +0000 (08:59 -0700)]
Merge from gnulib.

This incorporates:
2013-06-02 sig2str: port to C++
2013-05-29 c-ctype, regex, verify: port to gcc -std=c90 -pedantic

11 years agoAuto-commit of generated files.
Glenn Morris [Sun, 9 Jun 2013 10:19:08 +0000 (06:19 -0400)]
Auto-commit of generated files.

11 years agoFix Eshell bug
Aidan Gauland [Sun, 9 Jun 2013 06:44:47 +0000 (18:44 +1200)]
Fix Eshell bug

* eshell/em-term.el (eshell-visual-command-p): Fix bug that
  causedoutput redirection to be ignored with visual commands.

11 years agoTidy module initialisation functions
Aidan Gauland [Sun, 9 Jun 2013 06:39:40 +0000 (18:39 +1200)]
Tidy module initialisation functions
* eshell/em-term.el (eshell-visual-command-p): New function.
(eshell-term-initialize): Move long lambda to separate function eshell-visual-command-p.
* eshell/em-dirs.el (eshell-dirs-initialise): Add missing #' to lambda.
* eshell/em-script.el (eshell-script-initialize): Add missing #' to lambda.

11 years agoFix bug #14575 with window-specific overlays with display props.
Eli Zaretskii [Sat, 8 Jun 2013 18:28:36 +0000 (21:28 +0300)]
Fix bug #14575 with window-specific overlays with display props.

 src/bidi.c (bidi_fetch_char): Accept additional argument, the window
 being displayed, and pass it to compute_display_string_pos.
 (bidi_level_of_next_char, bidi_resolve_explicit_1)
 (bidi_paragraph_init): All callers changed.
 src/xdisp.c (init_from_display_pos, init_iterator)
 (handle_single_display_spec, next_overlay_string)
 (get_overlay_strings_1, reseat_1, reseat_to_string)
 (push_prefix_prop, Fcurrent_bidi_paragraph_direction): Set
 bidi_it.w member from it->w.
 (compute_display_string_pos): Accept additional argument, the
 window being displayed, and pass it to Fget_char_property.
 src/dispextern.h (struct bidi_it): New member w, the window being
 displayed.
 (compute_display_string_pos): Adjust prototype.

11 years agoFix compilation issues for GNUStep and GLIB conflicts.
Jan Djärv [Sat, 8 Jun 2013 18:13:24 +0000 (20:13 +0200)]
Fix compilation issues for GNUStep and GLIB conflicts.

* configure.ac (HAVE_GLIB): Only set XGSELOBJ if HAVE_NS = no.
(with_file_notification): Don't set to gfile if with_ns = yes.

* src/process.c (wait_reading_process_output): Check for NS before GLIB.
GLIB may be linked in due to rsvg, but ns_select must be called.

* src/xgselect.c (xg_select): Remove call to window_system_available
and g_main_context_pending at the top, so Gdk events (i.e. file
notify) are processed when Emacs is started with -nw.

* src/xgselect.c: Remove unneeded include xterm.h

11 years agoDon't advertise unsupported features in nt/INSTALL.MSYS.
Eli Zaretskii [Sat, 8 Jun 2013 15:01:45 +0000 (18:01 +0300)]
Don't advertise unsupported features in nt/INSTALL.MSYS.

11 years ago* progmodes/octave.el (octave-add-log-current-defun): New function.
Leo Liu [Sat, 8 Jun 2013 13:35:55 +0000 (21:35 +0800)]
* progmodes/octave.el (octave-add-log-current-defun): New function.
(octave-mode): Set add-log-current-defun-function.
(octave-goto-function-definition): Do not move point if not found.
(octave-find-definition): Enhance to try subfunctions first.

11 years ago* xgselect.c (xg_select): Remove call to window_system_available
Jan Djärv [Sat, 8 Jun 2013 08:48:52 +0000 (10:48 +0200)]
* xgselect.c (xg_select): Remove call to window_system_available
and g_main_context_pending at the top, so Gdk events (i.e. file
notify) are processed when Emacs is started with -nw.

11 years agoMinor tweak of nt/INSTALL.MSYS.
Eli Zaretskii [Sat, 8 Jun 2013 03:38:46 +0000 (06:38 +0300)]
Minor tweak of nt/INSTALL.MSYS.

11 years agoImprove previous bytecomp fix
Glenn Morris [Sat, 8 Jun 2013 01:35:47 +0000 (18:35 -0700)]
Improve previous bytecomp fix

* lisp/emacs-lisp/bytecomp.el (byte-compile-char-before)
(byte-compile-backward-char, byte-compile-backward-word):
Improve previous change, to handle non-explicit nil.

11 years agoChangeLog fix
Glenn Morris [Sat, 8 Jun 2013 00:56:22 +0000 (20:56 -0400)]
ChangeLog fix

11 years ago* lisp/emacs-lisp/smie.el: Improve show-paren-mode behavior.
Stefan Monnier [Fri, 7 Jun 2013 22:58:35 +0000 (18:58 -0400)]
* lisp/emacs-lisp/smie.el: Improve show-paren-mode behavior.
(smie--opener/closer-at-point): New function.
(smie--matching-block-data): Use it.  Don't match from right after an
opener or right before a closer.  Obey smie-blink-matching-inners.
Don't signal a mismatch for repeated inners like "switch..case..case".

11 years ago* maintaining.texi (Branches): Remove text copied from other sources.
Xue Fuqiao [Fri, 7 Jun 2013 14:00:27 +0000 (22:00 +0800)]
* maintaining.texi (Branches): Remove text copied from other sources.

11 years ago* progmodes/octave.el (octave-function-header-regexp): Fix.
Leo Liu [Fri, 7 Jun 2013 13:00:47 +0000 (21:00 +0800)]
* progmodes/octave.el (octave-function-header-regexp): Fix.
(octave-help-mode-finish-hook, octave-help-mode-finish):
Remove.  Just use temp-buffer-show-hook.

Fixes: debbugs:14570

11 years ago* newcomment.el (comment-search-backward): Revert last change.
Leo Liu [Fri, 7 Jun 2013 11:48:28 +0000 (19:48 +0800)]
* newcomment.el (comment-search-backward): Revert last change.

* emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.

* progmodes/octave.el (octave-mode): Set comment-use-global-state
to t.  (Bug#14303)

Fixes: debbugs:14434 debbugs:14303

11 years agoFix "make TAGS" on MS-Windows.
Eli Zaretskii [Fri, 7 Jun 2013 09:26:02 +0000 (12:26 +0300)]
Fix "make TAGS" on MS-Windows.

 lisp/Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
 through xargs, to avoid failure due to MS-Windows limitations on
 command-line length.

 src/Makefile.in (ctagsfiles1, ctagsfiles2): Don't include *.m files.
 (ctagsfiles3): New variable, includes only *.m files.
 (TAGS): Use an explicit language name in the regular expressions,
 to avoid transformation of '/SOMETHING' by MSYS to
 'c:\MSYS\SOMETHING'.

11 years agoMinor improvements in nt/INSTALL.MSYS instructions.
Eli Zaretskii [Fri, 7 Jun 2013 08:31:53 +0000 (11:31 +0300)]
Minor improvements in nt/INSTALL.MSYS instructions.

 nt/INSTALL.MSYS: mingw-get is not a GUI program (yet).
 msys-automake is not suitable for MinGW builds.  Mention the
 --enable-locallisppath switch to msysconfig.sh.  Suggested by
 ׃scar Fuentes <ofv@wanadoo.es>.

11 years agoFix ChangeLog entry of last commit.
Eli Zaretskii [Fri, 7 Jun 2013 08:10:44 +0000 (11:10 +0300)]
Fix ChangeLog entry of last commit.

11 years agoFix bug #14513 with --enable-locallisppath not working on MS-Windows.
Richard Copley [Fri, 7 Jun 2013 08:08:29 +0000 (11:08 +0300)]
Fix bug #14513 with --enable-locallisppath not working on MS-Windows.

 Makefile.in (msys_to_w32): Modify to support d:\foo file names.
 (msys_lisppath_to_w32, msys_prefix_subst, msys_sed_sh_escape): New
 variables.
 (epaths-force-w32): Use them.

 epaths.nt (PATH_SITELOADSEARCH): Fix commentary.

 epaths.in: Fix commentary to PATH_SITELOADSEARCH.

11 years ago* admin/notes/bzr: Finally got the right locations.conf syntax
Glenn Morris [Fri, 7 Jun 2013 03:41:10 +0000 (20:41 -0700)]
* admin/notes/bzr: Finally got the right locations.conf syntax

11 years agoFix typos.
Juanma Barranquero [Fri, 7 Jun 2013 03:23:57 +0000 (05:23 +0200)]
Fix typos.

11 years ago* admin/notes/bzr (Commit emails): Tweak previous.
Glenn Morris [Fri, 7 Jun 2013 03:19:29 +0000 (20:19 -0700)]
* admin/notes/bzr (Commit emails): Tweak previous.

11 years ago* admin/notes/bzr (Commit emails): Previous did not work, try again.
Glenn Morris [Fri, 7 Jun 2013 02:58:52 +0000 (19:58 -0700)]
* admin/notes/bzr (Commit emails): Previous did not work, try again.

11 years ago* admin/notes/bzr (Commit emails): More details.
Glenn Morris [Fri, 7 Jun 2013 02:55:58 +0000 (19:55 -0700)]
* admin/notes/bzr (Commit emails): More details.

11 years ago* admin/notes/bzr (Commit emails): New section.
Glenn Morris [Fri, 7 Jun 2013 02:40:15 +0000 (19:40 -0700)]
* admin/notes/bzr (Commit emails): New section.

11 years agognus-ems.el (gnus-image-type-available-p): Test `display-images-p' before `image...
Ted Zlatanov [Thu, 6 Jun 2013 22:18:53 +0000 (22:18 +0000)]
gnus-ems.el (gnus-image-type-available-p): Test `display-images-p' before `image-type-available-p'

11 years ago* lisp/font-lock.el (lisp-font-lock-keywords-2): Treat user-error like error
Glenn Morris [Thu, 6 Jun 2013 21:35:45 +0000 (17:35 -0400)]
* lisp/font-lock.el (lisp-font-lock-keywords-2): Treat user-error like error

11 years ago* prog-mode.el: Comment fixes.
Glenn Morris [Thu, 6 Jun 2013 21:32:13 +0000 (17:32 -0400)]
* prog-mode.el: Comment fixes.

11 years agobytecomp fix for bug#14565
Glenn Morris [Thu, 6 Jun 2013 21:04:43 +0000 (17:04 -0400)]
bytecomp fix for bug#14565

* lisp/emacs-lisp/bytecomp.el (byte-compile-char-before)
(byte-compile-backward-char, byte-compile-backward-word):
Handle explicit nil arguments.

11 years agoImprove the fix for bug #14558.
Eli Zaretskii [Thu, 6 Jun 2013 16:35:31 +0000 (19:35 +0300)]
Improve the fix for bug #14558.

 src/xdisp.c (note_mouse_highlight): When mouse-highlight is off,
 still need to set the mouse pointer shape and activate help-echo.

11 years agoA few porting etc. fixes for the new file monitor code.
Paul Eggert [Thu, 6 Jun 2013 07:04:35 +0000 (00:04 -0700)]
A few porting etc. fixes for the new file monitor code.

See the thread containing
<http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00109.html>.
* gfilenotify.c (dir_monitor_callback, Fgfile_add_watch)
(Fgfile_rm_watch): Don't assume EMACS_INT is the same width as a pointer.
(dir_monitor_callback, Fgfile_rm_watch):
Use assq_no_quit instead of Fassoc, for speed.
(dir_monitor_callback, Fgfile_rm_watch):
eassert that the monitor is a fixnum.
(dir_monitor_callback): No need for CDR_SAFE.
Simplify building of lisp with alternative tails.
(Fgfile_add_watch, Fgfile_rm_watch):
Do not assume glib functions set errno reliably on failure.
(Fgfile_add_watch): Check that the monitor survives the XIL trick,
and signal an error otherwise.
(Fgfile_rm_watch): Prefer CONSP to !NILP.
Use Fdelq instead of Fdelete, for speed.

11 years ago* isearch.el (isearch-allow-prefix): New defcustoms need :version tags
Glenn Morris [Thu, 6 Jun 2013 06:23:19 +0000 (23:23 -0700)]
* isearch.el (isearch-allow-prefix): New defcustoms need :version tags
(chisel this on my tombstone)

11 years agoAdd bug#9706.
Juri Linkov [Thu, 6 Jun 2013 05:35:01 +0000 (08:35 +0300)]
Add bug#9706.

11 years ago* isearch.el (isearch-allow-prefix): New user option.
Alan Mackenzie [Wed, 5 Jun 2013 20:57:09 +0000 (20:57 +0000)]
* isearch.el (isearch-allow-prefix): New user option.
        (isearch-other-meta-char): don't exit isearch when a prefix
        argument is typed whilst `isearch-allow-prefix' is non-nil.

        * search.texi (Isearch Scroll): Rename to "Not Exiting Isearch".
        (Net Exiting Isearch): Document new user option
        `isearch-allow-prefix'.

* etc/NEWS.  Entry for this change.

11 years agoFix bug #14558 with turning off mouse-highlight during highlight.
Eli Zaretskii [Wed, 5 Jun 2013 20:45:34 +0000 (23:45 +0300)]
Fix bug #14558 with turning off mouse-highlight during highlight.

 src/xdisp.c (handle_tool_bar_click): When mouse-highlight is off,
 don't insist on being invoked on a highlighted tool-bar button.
 Avoids losing tool-bar functionality when mouse-highlight is nil.
 (note_tool_bar_highlight, note_mode_line_or_margin_highlight):
 Don't highlight when mouse-highlight is nil.
 (note_mouse_highlight): When mouse-highlight is nil, don't return
 right away; instead, run tool-bar and mode-line highlight
 subroutine, clear any existing highlight, and revert the mouse
 pointer to its default shape.

11 years ago* lisp/autorevert.el (auto-revert-notify-handler): Use memq.
Stefan Monnier [Wed, 5 Jun 2013 19:57:10 +0000 (15:57 -0400)]
* lisp/autorevert.el (auto-revert-notify-handler): Use memq.
Hide assertion failure.
* lisp/skeleton.el: Use cl-lib.
(skeleton-further-elements): Use defvar-local.
(skeleton-insert): Use cl-progv.

11 years agoDocument new prog-mode symbol prettify support.
Ted Zlatanov [Wed, 5 Jun 2013 18:31:48 +0000 (14:31 -0400)]
Document new prog-mode symbol prettify support.

11 years ago(prog-prettify-symbols) (prog-prettify-install): Update docstrings.
Ted Zlatanov [Wed, 5 Jun 2013 18:30:47 +0000 (14:30 -0400)]
(prog-prettify-symbols) (prog-prettify-install): Update docstrings.

11 years ago* lisp/simple.el: Move all the prog-mode code to prog-mode.el.
Stefan Monnier [Wed, 5 Jun 2013 18:10:27 +0000 (14:10 -0400)]
* lisp/simple.el: Move all the prog-mode code to prog-mode.el.
* lisp/progmodes/prog-mode.el: New file.
* lisp/loadup.el:
* src/lisp.mk (lisp): Add prog-mode.el.

11 years agoIntroduce and use prog-prettify-install.
Ted Zlatanov [Wed, 5 Jun 2013 17:48:50 +0000 (13:48 -0400)]
Introduce and use prog-prettify-install.

11 years agoChain glib's SIGCHLD handler from Emacs's (Bug#14474).
Paul Eggert [Wed, 5 Jun 2013 17:04:13 +0000 (10:04 -0700)]
Chain glib's SIGCHLD handler from Emacs's (Bug#14474).

* process.c (dummy_handler): New function.
(lib_child_handler): New static var.
(handle_child_signal): Invoke it.
(catch_child_signal): If a library has set up a signal handler,
save it into lib_child_handler.
(init_process_emacs): If using glib and not on Windows, tickle glib's
child-handling code so that it initializes its private SIGCHLD handler.
* syssignal.h (SA_SIGINFO): Default to 0.
* xterm.c (x_term_init): Remove D-bus hack that I installed on May
31; it should no longer be needed now.

11 years ago(open-tls-stream): Remove unneeded buffer contents when opening the connection.
Ted Zlatanov [Wed, 5 Jun 2013 15:03:37 +0000 (11:03 -0400)]
(open-tls-stream): Remove unneeded buffer contents when opening the connection.

11 years ago* lisp/emacs-lisp/edebug.el (edebug-result): Move before first use.
Stefan Monnier [Wed, 5 Jun 2013 14:57:45 +0000 (10:57 -0400)]
* lisp/emacs-lisp/edebug.el (edebug-result): Move before first use.
* lisp/subr.el (load-history-regexp, load-history-filename-element)
(eval-after-load, after-load-functions, do-after-load-evaluation)
(eval-next-after-load, display-delayed-warnings)
(collapse-delayed-warnings, delayed-warnings-hook): Move after the
definition of save-match-data.
(overriding-local-map): Remove accidental obsolescence declaration.

11 years agoSymbol prettify in prog-mode; added to perl-mode, cfengine3-mode, and emacs-lisp...
Ted Zlatanov [Wed, 5 Jun 2013 14:26:50 +0000 (10:26 -0400)]
Symbol prettify in prog-mode; added to perl-mode, cfengine3-mode, and emacs-lisp-mode.

11 years agoAdd ChangeLog entry for version #112847.
Alan Mackenzie [Wed, 5 Jun 2013 12:45:51 +0000 (12:45 +0000)]
Add ChangeLog entry for version #112847.

11 years ago* emacs.c (main) [HAVE_GFILENOTIFY]: Call globals_of_gfilenotify.
Michael Albinus [Wed, 5 Jun 2013 12:17:02 +0000 (14:17 +0200)]
* emacs.c (main) [HAVE_GFILENOTIFY]: Call globals_of_gfilenotify.

* gfilenotify.c (globals_of_gfilenotify): New function.
(syms_of_gfilenotify): Move global initialization there.

* lisp.h (globals_of_gfilenotify) [HAVE_GFILENOTIFY]: Add prototype.

11 years agoRe-implement smie matching block highlight using show-paren-data-function.
Leo Liu [Wed, 5 Jun 2013 07:40:02 +0000 (15:40 +0800)]
Re-implement smie matching block highlight using show-paren-data-function.

* emacs-lisp/smie.el (smie-matching-block-highlight)
(smie--highlight-matching-block-overlay)
(smie--highlight-matching-block-lastpos)
(smie-highlight-matching-block)
(smie-highlight-matching-block-mode): Remove.
(smie--matching-block-data-cache): New variable.
(smie--matching-block-data): New function.
(smie-setup): Use smie--matching-block-data for
show-paren-data-function.

* progmodes/octave.el (octave-mode-menu): Fix.
(octave-find-definition): Skip garbage lines.

Fixes: debbugs:14395

11 years agoFix compilation error with simultaneous dynamic+lexical scoping.
Stefan Monnier [Wed, 5 Jun 2013 02:35:40 +0000 (22:35 -0400)]
Fix compilation error with simultaneous dynamic+lexical scoping.
Add warning when a defvar appears after the first let-binding.
* lisp/emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
(byte-compile-close-variables): Initialize it.
(byte-compile--declare-var): New function.
(byte-compile-file-form-defvar)
(byte-compile-file-form-define-abbrev-table)
(byte-compile-file-form-custom-declare-variable): Use it.
(byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
(byte-compile-lambda): Share call to byte-compile-arglist-vars.
(byte-compile-bind): Handle dynamic bindings that shadow
lexical bindings.
(byte-compile-unbind): Make arg non-optional.
(byte-compile-let): Simplify.
* lisp/emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
(cconv--analyse-function, cconv-analyse-form): Populate it.
Protect byte-compile-bound-variables to limit the scope of defvars.
(cconv-analyse-form): Add missing rule for (defvar <foo>).
Remove unneeded rule for `declare'.

* lisp/emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
so as to avoid depending on cl-adjoin at run-time.
* lisp/emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.

* lisp/emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
(macroexp--warn-and-return): Use it.

11 years ago* src/keymap.c (Fcurrent_active_maps, Fdescribe_buffer_bindings):
Stefan Monnier [Wed, 5 Jun 2013 01:58:43 +0000 (21:58 -0400)]
* src/keymap.c (Fcurrent_active_maps, Fdescribe_buffer_bindings):
* src/keyboard.c (menu_bar_items, tool_bar_items):
* src/doc.c (Fsubstitute_command_keys): Voverriding_terminal_local_map does
not override local keymaps any more.

11 years ago* eshell/esh-mode.el (eshell-mode): Fix key bindings.
Leo Liu [Wed, 5 Jun 2013 01:19:33 +0000 (09:19 +0800)]
* eshell/esh-mode.el (eshell-mode): Fix key bindings.

11 years ago* progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
Leo Liu [Tue, 4 Jun 2013 23:52:06 +0000 (07:52 +0800)]
* progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
(compilation-auto-jump): Suppress the "Mark set" message to give
way to exit message.

11 years agoFix bug #14540 with inaccurate doc string of pos-visible-in-window-p.
Eli Zaretskii [Tue, 4 Jun 2013 16:33:46 +0000 (19:33 +0300)]
Fix bug #14540 with inaccurate doc string of pos-visible-in-window-p.

 src/window.c (Fpos_visible_in_window_p): Doc fix.

11 years agoRemove faulty optimisation from indentation calculation.
Alan Mackenzie [Tue, 4 Jun 2013 13:26:15 +0000 (13:26 +0000)]
Remove faulty optimisation from indentation calculation.
        * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
        search limit based on 2000 characters back from indent-point.

11 years agoAuto-commit of generated files.
Glenn Morris [Tue, 4 Jun 2013 10:17:52 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years agognus.texi (Article Date): Fix description of gnus-article-update-date-headers
Katsumi Yamaoka [Tue, 4 Jun 2013 08:43:07 +0000 (08:43 +0000)]
gnus.texi (Article Date): Fix description of gnus-article-update-date-headers

11 years agognus-art.el: Don't assume Date header begins with "Date"
Katsumi Yamaoka [Tue, 4 Jun 2013 08:14:23 +0000 (08:14 +0000)]
gnus-art.el: Don't assume Date header begins with "Date"

11 years agoMerge from mainline.
Xue Fuqiao [Mon, 3 Jun 2013 23:34:27 +0000 (07:34 +0800)]
Merge from mainline.

11 years ago* configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24.
Michael Albinus [Mon, 3 Jun 2013 19:38:06 +0000 (21:38 +0200)]
* configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24.

11 years agoFix crashes in a text-mode session on Windows.
Eli Zaretskii [Mon, 3 Jun 2013 19:28:13 +0000 (22:28 +0300)]
Fix crashes in a text-mode session on Windows.

 src/w32console.c (initialize_w32_display): Return the dimensions of
 the console window via 2 additional arguments, not via the current
 frame.  This avoids crashes due to overrunning the bounds of
 frame's decode_mode_spec_buffer, which is not resized following
 the change of the frame dimensions from the initial 10x10.
 src/w32term.h (w32_initialize_display_info): Adjust prototype.
 src/term.c (init_tty): Take dimensions of the frame from the values
 returned by initialize_w32_display.

11 years ago* configure.ac (HAVE_GFILENOTIFY): Do not change $LIBS.
Eli Zaretskii [Mon, 3 Jun 2013 19:06:09 +0000 (21:06 +0200)]
* configure.ac (HAVE_GFILENOTIFY): Do not change $LIBS.
(GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): Substitute.

* nt/config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.

* src/Makefile.in (GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): New variables.
(ALL_CFLAGS): Add $(GFILENOTIFY_CFLAGS).
(LIBES): Add $(GFILENOTIFY_LIBS).

* src/w32inevt.c (handle_file_notifications): Add dummy implementation
for !HAVE_W32NOTIFY.

* src/w32term.c: Wrap code with HAVE_W32NOTIFY.

11 years agoAdd HAVE_GLIB check instead of checking individual libraries that use GLib.
Jan Djärv [Mon, 3 Jun 2013 18:47:35 +0000 (20:47 +0200)]
Add HAVE_GLIB check instead of checking individual libraries that use GLib.

* configure.ac (HAVE_GLIB): Add GLib check.  Set XGSELOBJ if GLib is
used.  Remove xgselect.o from XOBJ.

* src/Makefile.in (XGSELOBJ): New, xgselect.o if GLib is used, or empty.

* src/process.c (wait_reading_process_output): Call xg_select if HAVE_GLIB.

* src/xgselect.c: Replace #if defined ... with #ifdef HAVE_GLIB.

11 years agoFix minor problems found by static checking.
Paul Eggert [Mon, 3 Jun 2013 18:29:30 +0000 (11:29 -0700)]
Fix minor problems found by static checking.

* data.c (pure_write_error):
Use xsignal2, not Fsignal, as Fsignal might return.
* eval.c (set_backtrace_debug_on_exit): Now static.
(backtrace_p, backtrace_top, backtrace_next, record_in_backtrace):
No longer inline.  EXTERN_INLINE is needed only for functions
defined in .h files.  Reindent function header as per GNU style.
(backtrace_p, backtrace_top, backtrace_next):
Mark EXTERNALLY_VISIBLE so they don't get optimized away by the
compiler or linker.  Add extern decls to pacify gcc -Wall.
* frame.c, frame.h (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource):
Now static.
* frame.c (free_monitors): Define only on platforms that need it.
* nsterm.m (ns_term_init):
* process.c (catch_child_signal):
Don't worry about whether SIGCHLD is defined, as SIGCHLD is
defined on all porting targets these days.
* process.c, process.h (catch_child_signal):
Make it extern only if NS_IMPL_GNUSTEP is defined.

11 years ago* eshell/em-term.el (cl-lib): Require `cl-lib'.
Tassilo Horn [Mon, 3 Jun 2013 18:12:51 +0000 (20:12 +0200)]
* eshell/em-term.el (cl-lib): Require `cl-lib'.

11 years agoAttempt to resolve gettimeofday compilation errors with MinGW64.
Eli Zaretskii [Mon, 3 Jun 2013 17:15:44 +0000 (20:15 +0300)]
Attempt to resolve gettimeofday compilation errors with MinGW64.

 src/w32.c (gettimeofday): Make the signature identical to prototype
 in nt/inc/sys/time.h.

 nt/inc/sys/time.h (struct timeval): Remove the _W64 guards.

11 years agoUpdate instructions in nt/INSTALL.MSYS.
Eli Zaretskii [Mon, 3 Jun 2013 16:55:37 +0000 (19:55 +0300)]
Update instructions in nt/INSTALL.MSYS.

11 years ago* lisp.el: Provide completion of locally bound variables in Elisp.
Stefan Monnier [Mon, 3 Jun 2013 15:40:35 +0000 (11:40 -0400)]
* lisp.el: Provide completion of locally bound variables in Elisp.
* lisp/emacs-lisp/lisp.el: Use lexical-binding.
(lisp--local-variables-1, lisp--local-variables): New functions.
(lisp--local-variables-completion-table): New var.
(lisp-completion-at-point): Use it to provide completion of let-bound vars.

11 years ago* lisp/emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
Stefan Monnier [Mon, 3 Jun 2013 15:28:10 +0000 (11:28 -0400)]
* lisp/emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
eagerly.

Fixes: debbugs:14422

11 years ago* src/eval.c (backtrace_p, backtrace_top, backtrace_next): Export them to
Stefan Monnier [Mon, 3 Jun 2013 15:18:18 +0000 (11:18 -0400)]
* src/eval.c (backtrace_p, backtrace_top, backtrace_next): Export them to
.gdbinit.
* src/data.c (pure_write_error): Add `object' argument.
* src/puresize.h (CHECK_IMPURE): Use it.
* src/keyboard.c (safe_run_hooks_error): Improve error message.

11 years ago* NEWS: Emacs can be compiled with file notification support via the
Michael Albinus [Mon, 3 Jun 2013 13:35:21 +0000 (15:35 +0200)]
* NEWS: Emacs can be compiled with file notification support via the
  configure option `--with-file-notification=LIB'.  `glib', `inotify'
  and `w32' are supported.

11 years ago* configure.ac (file-notification): New option, replaces inotify option.
Michael Albinus [Mon, 3 Jun 2013 13:03:05 +0000 (15:03 +0200)]
* configure.ac (file-notification): New option, replaces inotify option.
(HAVE_W32): Remove w32notify.o.
(with_file_notification): Add checks for glib and w32. Adapt check
for inotify.
(Summary): Add entry for file notification.

* autogen/config.in: Add entries for HAVE_GFILENOTIFY,
HAVE_W32NOTIFY and USE_FILE_NOTIFY.

* lisp/autorevert.el (auto-revert-notify-enabled)
(auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
(auto-revert-notify-event-p, auto-revert-notify-event-file-name)
(auto-revert-notify-handler): Handle also gfilenotify.

* lisp/subr.el: (file-notify-handle-event): New defun. Replacing ...
(inotify-event-p, inotify-handle-event, w32notify-handle-event):
Removed.

* src/Makefile.in (NOTIFY_OBJ): New variable.
(base_obj): Replace inotify.o by $(NOTIFY_OBJ).

* src/emacs.c (main): Use HAVE_W32NOTIFY to wrap respective code.
Call syms_of_gfilenotify.

* src/gfilenotify.c: New file.

* src/keyboard.c (Qfile_notify): New variable.  Replaces Qfile_inotify
and Qfile_w32notify.
(top): Wrap respective code by HAVE_GFILENOTIFY, HAVE_INOTIFY,
HAVE_W32NOTIFY and USE_FILE_NOTIFY.

* src/lisp.h: Declare syms_of_gfilenotify.

* src/termhooks.h (e): Wrap enum by USE_FILE_NOTIFY.

11 years ago* cmdargs.texi (General Variables): Use "unix:path=/dev/null" as
Michael Albinus [Mon, 3 Jun 2013 12:25:39 +0000 (14:25 +0200)]
* cmdargs.texi (General Variables): Use "unix:path=/dev/null" as
dummy value for $DBUS_SESSION_BUS_ADDRESS.  It also suppresses
autolaunching of the D-Bus session bus.

11 years agoMerge the specpdl and backtrace stacks. Make the structure of the
Stefan Monnier [Mon, 3 Jun 2013 09:01:53 +0000 (05:01 -0400)]
Merge the specpdl and backtrace stacks.  Make the structure of the
specpdl entries more obvious via a tagged union of structs.
* src/lisp.h (BITS_PER_PTRDIFF_T): New constant.
(enum specbind_tag): New enum.
(struct specbinding): Make it a tagged union of structs.
Add a case for backtrace records.
(specpdl_symbol, specpdl_old_value, specpdl_where, specpdl_arg)
(specpdl_func, backtrace_function, backtrace_nargs, backtrace_args)
(backtrace_debug_on_exit): New accessors.
(struct backtrace): Remove.
(struct catchtag): Remove backlist field.
* src/data.c (let_shadows_buffer_binding_p, let_shadows_global_binding_p):
Move to eval.c.
(Flocal_variable_p): Speed up the common case where the binding is
already loaded.
* src/eval.c (backtrace_list): Remove.
(set_specpdl_symbol, set_specpdl_old_value): Remove.
(set_backtrace_args, set_backtrace_nargs)
(set_backtrace_debug_on_exit, backtrace_p, backtrace_top)
(backtrace_next): New functions.
(Fdefvaralias, Fdefvar): Adjust to new specpdl format.
(unwind_to_catch, internal_lisp_condition_case)
(internal_condition_case, internal_condition_case_1)
(internal_condition_case_2, internal_condition_case_n): Don't bother
with backtrace_list any more.
(Fsignal): Adjust to new backtrace format.
(grow_specpdl): Move up.
(record_in_backtrace): New function.
(eval_sub, Ffuncall): Use it.
(apply_lambda): Adjust to new backtrace format.
(let_shadows_buffer_binding_p, let_shadows_global_binding_p): Move from
data.c.
(specbind): Adjust to new specpdl format.  Simplify.
(record_unwind_protect, unbind_to): Adjust to new specpdl format.
(Fbacktrace_debug, Fbacktrace, Fbacktrace_frame): Adjust to new
backtrace format.
(mark_backtrace): Remove.
(mark_specpdl, get_backtrace, backtrace_top_function): New functions.
* src/xdisp.c (redisplay_internal): Use record_in_backtrace.
* src/alloc.c (Fgarbage_collect): Use record_in_backtrace.
Use mark_specpdl.
* src/profiler.c (record_backtrace): Use get_backtrace.
(handle_profiler_signal): Use backtrace_top_function.
* src/.gdbinit (xbacktrace, hookpost-backtrace): Use new backtrace
accessor functions.

11 years agoSearch and highlight symbol at point.
Juri Linkov [Mon, 3 Jun 2013 08:51:50 +0000 (11:51 +0300)]
Search and highlight symbol at point.

* doc/emacs/display.texi (Highlight Interactively): Add global keybindings
with the key prefix `M-s h'.  Document old command `highlight-phrase'.
Document new command `highlight-symbol-at-point'.

* lisp/bindings.el (search-map): Bind `highlight-symbol-at-point' to
`M-s h .'.

* lisp/hi-lock.el (highlight-symbol-at-point): New alias for the new
command `hi-lock-face-symbol-at-point'.
(hi-lock-face-symbol-at-point): New command.
(hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
(hi-lock-menu): Add `highlight-symbol-at-point'.
(hi-lock-mode): Doc fix.

* lisp/isearch.el (isearch-forward-symbol-at-point): New command.
(search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
(isearch-highlight-regexp): Add a regexp which matches
words/symbols for word/symbol mode.

* lisp/subr.el (find-tag-default-bounds): New function with the body
mostly moved from `find-tag-default'.
(find-tag-default): Move most code to `find-tag-default-bounds',
call it and apply `buffer-substring-no-properties' afterwards.

Fixes: debbugs:14427

11 years ago* NEWS: Document eshell visual subcommands and options.
Tassilo Horn [Mon, 3 Jun 2013 06:34:21 +0000 (08:34 +0200)]
* NEWS: Document eshell visual subcommands and options.

* eshell/em-term.el (eshell-term-initialize): Use
`cl-intersection' rather than `intersection'.

11 years agoModify `log-view-mode-map'.
Xue Fuqiao [Sun, 2 Jun 2013 23:04:43 +0000 (07:04 +0800)]
Modify `log-view-mode-map'.

* vc/log-view.el (log-view-mode-map): Copy keymap from
  `special-mode-map'.

11 years agoUpdate the GNUStep port so it works OK. Redraw and sizing bugs remain.
Jan Djärv [Sun, 2 Jun 2013 19:14:25 +0000 (21:14 +0200)]
Update the GNUStep port so it works OK.  Redraw and sizing bugs remain.

* nextstep/templates/Info-gnustep.plist.in: Add NSDocumentClass EmacsDocument.

* src/nsfns.m (x_set_foreground_color, x_set_background_color): Use
EmacsCGFloat.
(ns_implicitly_set_icon_type, Fx_create_frame): Make static, remove
unused variables.
(Fns_read_file_name): Keep track if panel is for save.  Use
ns_filename_from_panel/ns_directory_from_panel.
(Fns_list_services): delegate only used for COCOA.
(Fns_convert_utf8_nfd_to_nfc): Remove warning for GNUStep.  Just
return the input if GNUStep.
(x_screen_planes): Remove.
(Fxw_color_values): Use EmacsCGFloat
(Fns_display_monitor_attributes_list): Only get screen number for
Cocoa.
(getDirectory, getFilename): Removed from EmacsOpenPanel and
EmacsSavePanel.
(EmacsOpenPanel:ok:): Use ns_filename_from_panel and
ns_directory_from_panel.

* src/nsfont.m (ns_attribute_fvalue, ns_spec_to_descriptor)
(ns_charset_covers, ns_get_covering_families, nsfont_open):
Use F suffix on floats.
(ns_char_width): Returns CGFloat.
(ns_ascii_average_width): w is CGFloat instead of float.
(nsfont_draw): cbuf and c are unsigned. Cast to char* in call to
DPSxshow.
(ns_glyph_metrics): CGFloat instead of float.

* src/nsimage.m (setXBMColor:, getPixelAtX:Y:): Use EmacsCGFloat.

* src/nsmenu.m (ns_update_menubar): Make static.
(x_activate_menubar): Surround with ifdef NS_IMPL_COCOA
(fillWithWidgetValue:): Add cast to SEL for setAction.
(addSubmenuWithTitle:forFrame:): Add cast to SEL for action.
(update_frame_tool_bar): Update code for GNUStep.
(clearAll): New method.
(addDisplayItemWithImage:idx:tag:helpText:enabled:): Handle new tag
argument. Call insertItemWithItemIdentifier when NS_IMPL_GNUSTEP. Move
identifierToItem setObject and activeIdentifiers addObject before
call to insertItemWithItemIdentifier.
(validateVisibleItems): Fix indentation.
(toolbarAllowedItemIdentifiers:): Return activeIdentifiers.
(initWithContentRect:styleMask:backing:defer:): Add ClosableWindow and
UtilityWindow to aStyle, remove call to setStyleMask.

* src/nsselect.m (ns_get_local_selection): Remove unused variable type.

* src/nsterm.h (EmacsCGFloat): Typedef for OSX and GNUStep when the size
of CGFloat differs.
(EmacsApp): New variable nextappdefined.  Declare sendFromMainThread
when NS_IMPL_GNUSTEP.
(EmacsDocument): Declare when NS_IMPL_GNUSTEP.
(EmacsView): Remove unlockFocusNeedsFlush, add windowDidMove.
(EmacsToolbar): Add clearAll.  Add tag argument to
addDisplayItemWithImage.
(EmacsSavePanel, EmacsOpenPanel): Remove getFilename and getDirectory.

* src/nsterm.m: Include src/process.h if NS_IMPL_GNUSTEP.
(ns_menu_bar_is_hidden, menu_will_open_state): Define only if
NS_IMPL_COCOA.
(x_set_cursor_type): Remove declaration.
(ns_update_begin): Only use r and bp if NS_IMPL_COCOA.
(ns_update_end, ns_focus, ns_unfocus): Remove GNUStep specific code.
(x_set_window_size): Remove 3 pixels from toolbar if NS_IMPL_GNUSTEP.
(ns_get_color): Use F suffix on float.
(ns_color_to_lisp, ns_query_color): Use EmacsCGFloat.
(ns_get_rgb_color): Remove.
(x_set_frame_alpha): Move view inside NS_IMPL_COCOA.
(note_mouse_movement): x and y are CGFloat.
(ns_draw_fringe_bitmap): Remove unused rowY.
Change #if to COCOA && >= 10_6.
(ns_draw_window_cursor): Remove unused overspill.
(ns_draw_underwave): width and x are EamcsCGFloat.
(ns_draw_box): thickness is CGFloat.
(ns_dumpglyphs_image): Change #if to COCOA && >= 10_6.
(ns_send_appdefined): When NS_IMPL_GNUSTEP, redirect to main thread
if not in main thread.
(ns_get_pending_menu_title, ns_check_menu_open)
(ns_check_pending_open_menu): Put inside #if COCOA && >= 10_5.
(ns_term_init): Call catch_child_signal if NS_IMPL_GNUSTEP && SIGCHLD.
(sendFromMainThread:): New method.
(changeFont:): size is CGFloat.
(keyDown:): Check for Delete when NS_IMPL_GNUSTEP.
Disable warning about permanent text.
(characterIndexForPoint:): Adjust return type depending on GNUStep
version.
(mouseDown:): delta is CGFloat.
(updateFrameSize): Remove unised variable f.
(initFrameFromEmacs): Move toggleButton inside NS_IMPL_COCOA.
Cast float to EmacsCGFloat.
(windowWillUseStandardFrame:defaultFrame:): Set maximized_height
also to -1 when restoring.
(windowDidExitFullScreen:): Put call to updateCollectionBehaviour
inside NS_IMPL_COCOA.
(toggleFullScreen:): Put call to toggleFullScreen inside
NS_IMPL_COCOA.  Cast float to EmacsCGFloat.
(setPosition:portion:whole:): por is CGFloat.
(getMouseMotionPart:window:x:y:): Add F suffix to float.
(mouseDown:): Use CGFloat.
(mouseDragged:): Remove unised variable edge.
(EmacsDocument): Implement for NS_IMPL_GNUSTEP.

* src/process.c (catch_child_signal): New function.
(init_process_emacs): Call it.

* src/process.h (catch_child_signal): Declare.

11 years ago* lisp/eshell/em-term.el: New defcustoms need :version tags.
Glenn Morris [Sun, 2 Jun 2013 18:26:38 +0000 (11:26 -0700)]
* lisp/eshell/em-term.el: New defcustoms need :version tags.

11 years agoMerge with CEDET upstream (rev. 8564).
David Engster [Sun, 2 Jun 2013 16:39:32 +0000 (18:39 +0200)]
Merge with CEDET upstream (rev. 8564).

11 years ago* lisp/cedet/srecode/srt-wy.el: Regenerate.
David Engster [Sun, 2 Jun 2013 16:37:37 +0000 (18:37 +0200)]
* lisp/cedet/srecode/srt-wy.el: Regenerate.

11 years ago* registry.el (initialize-instance, registry-lookup)
David Engster [Sun, 2 Jun 2013 14:16:31 +0000 (16:16 +0200)]
* registry.el (initialize-instance, registry-lookup)
  (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
  (registry-lookup-secondary-value, registry-search, registry-delete)
  (registry-insert, registry-reindex, registry-size, registry-prune): Do
  not wrap methods in `eval-and-compile'.  This breaks due to latest
  changes in EIEIO (introduction of eieio-core.el).

11 years agoMerge from CEDET upstream (8564).
David Engster [Sun, 2 Jun 2013 13:33:09 +0000 (15:33 +0200)]
Merge from CEDET upstream (8564).

* lisp/emacs-lisp:

* emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
(eieio-error-unsupported-class-tags, eieio-skip-typecheck)
(eieio-optimize-primary-methods-flag, eieio-initializing-object)
(eieio-unbound, eieio-default-superclass)
(eieio--define-field-accessors, method-static, method-before)
(method-primary, method-after, method-num-lists)
(method-generic-before, method-generic-primary)
(method-generic-after, method-num-slots)
(eieio-specialized-key-to-generic-key)
(eieio--check-type, class-v, class-p)
(eieio-class-name, define-obsolete-function-alias)
(eieio-class-parents-fast, eieio-class-children-fast)
(same-class-fast-p, class-constructor, generic-p)
(generic-primary-only-p, generic-primary-only-one-p)
(class-option-assoc, class-option, eieio-object-p)
(class-abstract-p, class-method-invocation-order)
(eieio-defclass-autoload-map, eieio-defclass-autoload)
(eieio-class-un-autoload, eieio-defclass)
(eieio-eval-default-p, eieio-perform-slot-validation-for-default)
(eieio-add-new-slot, eieio-copy-parents-into-subclass)
(eieio--defgeneric-init-form, eieio-defgeneric-form)
(eieio-defgeneric-reset-generic-form)
(eieio-defgeneric-form-primary-only)
(eieio-defgeneric-reset-generic-form-primary-only)
(eieio-defgeneric-form-primary-only-one)
(eieio-defgeneric-reset-generic-form-primary-only-one)
(eieio-unbind-method-implementations)
(eieio--defmethod, eieio--typep)
(eieio-perform-slot-validation, eieio-validate-slot-value)
(eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
(eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
(eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
(eieio-slot-name-index, eieio-class-slot-name-index)
(eieio-set-defaults, eieio-initarg-to-attribute)
(eieio-attribute-to-initarg, eieio-c3-candidate)
(eieio-c3-merge-lists, eieio-class-precedence-c3)
(eieio-class-precedence-dfs, eieio-class-precedence-bfs)
(eieio-class-precedence-list, eieio-generic-call-methodname)
(eieio-generic-call-arglst, eieio-generic-call-key)
(eieio-generic-call-next-method-list)
(eieio-pre-method-execution-functions, eieio-generic-call)
(eieio-generic-call-primary-only, eieiomt-method-list)
(eieiomt-optimizing-obarray, eieiomt-install)
(eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
(eieio-generic-form, eieio-defmethod, make-obsolete)
(eieio-defgeneric, make-obsolete): Moved to eieio-core.el
(defclass): Remove `eval-and-compile' from macro.
(call-next-method, shared-initialize): Instead of using
`scoped-class' variable, use new eieio--scoped-class, and
eieio--with-scoped-class.
(initialize-instance): Rename local variable 'scoped-class' to
'this-class' to remove ambiguitity from old global.

* emacs-lisp/eieio-core.el: New file.  Derived from key parts of
eieio.el.
(eieio--scoped-class-stack): New variable
(eieio--scoped-class): New fcn
(eieio--with-scoped-class): New scoping macro.
(eieio-defclass): Use pushnew instead of add-to-list.
(eieio-defgeneric-form-primary-only-one, eieio-oset-default)
(eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
(eieio-generic-call-primary-only, eieiomt-add): Instead of using
`scoped-class' variable, use new eieio--scoped-class, and
eieio--with-scoped-class.

* emacs-lisp/eieio-base.el (cl-lib): Require during compile.

* admin/grammars:

* grammars/srecode-template.wy (variable): Accept a single number
as a variable value.  Allows the 'priority' to be set to a number.
(wisent-srecode-template-lexer): Move number up so it can be
created.

* etc/srecode:

* srecode/c.srt (header_guard): Add :c parameter so it works
standalone

* lisp/cedet:

* semantic/edit.el (semantic-change-function): Use
`save-match-data' around running hooks.

* semantic/decorate/mode.el
(semantic-decorate-style-predicate-default)
(semantic-decorate-style-highlighter-default): New.
(semantic-decoration-mode): Do not require
`semantic/decorate/include' anymore.
(semantic-toggle-decoration-style): Error if an unknown decoration
style is toggled.
(define-semantic-decoration-style): Add new :load option.  When
:load is specified, add autoload tokens for the definition
functions so that code is loaded when the mode is used.
(semantic-decoration-on-includes): New autoload definition for
highlighting includes.

* semantic/bovine/c.el (semantic-lex-c-ifdef): Allow some misc
characters to appear after the tested variable.

* semantic/ede-grammar.el (project-compile-target): Calculate full
src name via ede-expand-filename instead of the crutch of the
current buffer.  Enables this target to compile in batch mode.

* semantic/idle.el
(semantic-idle-symbol-maybe-highlight): Wrap highlighting of
remote symbol with `save-excursion'.
(semantic-idle-scheduler-work-parse-neighboring-files): Instead of
using directory-files on each found mode pattern, collect all the
patterns for the current mode, and then for each file, see if it
matches any of them.  If it does, parse the file.  (Patch
inspiration from Tomasz Gajewski.)

* semantic/ctxt.el (semantic-ctxt-end-of-symbol): New.
(semantic-ctxt-current-symbol-default): New.

* semantic/bovine/el.el (semantic-default-elisp-setup): Add
autoload cookie.  Explain existence.
(footer): Add local variable for loaddefs.

* semantic/db.el (semanticdb-file-table-object): Add new filter,
only checking for regular files too.

* semantic/wisent/python.el
(semantic-format-tag-abbreviate): New override.  Cuts back on size
of code tags.

* srecode/compile.el (srecode-compile-templates): Fix warning
punctuation.  Remove status messages to clean up testing output

* ede/base.el (ede-project-placeholder-cache-file): Update doc to
mention 'nil' value.
(ede-save-cache): Disable cache save if file is nil.

* ede.el (ede-initialize-state-current-buffer): Flush deleted
projects.
(global-ede-mode): Always append our find-file-hook to the end.
(ede-flush-deleted-projects): New command.

* ede/cpp-root.el (ede-preprocessor-map): Protect against init
problems.

* ede/proj.el (ede-proj-target): Added a new "custom" option for
custom symbols representing a compiler or linker instead of
restricting things to only the predefined compilers and linkers.

* semantic.el (semantic-mode-map): To avoid showing showing
Development menu twice, only disable menu item if menu-bar is
actually enabled, otherwise the popup 'global menu' might display
a disabled Development menu.

* semantic/complete.el
(semantic-displayor-show-request): Fix which slot in obj is set to
the max tags.

11 years agoRefine docs of VC.
Xue Fuqiao [Sun, 2 Jun 2013 11:56:39 +0000 (19:56 +0800)]
Refine docs of VC.

* maintaining.texi (VC Mode Line): Fix typo.
(VC Directory Commands): Mention `vc-dir-hide-up-to-date' with
prefix argument.

11 years ago* maintaining.texi (Branches): Add motivations for branching.
Xue Fuqiao [Sun, 2 Jun 2013 11:50:47 +0000 (19:50 +0800)]
* maintaining.texi (Branches): Add motivations for branching.

11 years ago* vc/log-view.el: Doc fix.
Xue Fuqiao [Sun, 2 Jun 2013 11:40:20 +0000 (19:40 +0800)]
* vc/log-view.el: Doc fix.

11 years ago* vc/log-view.el: Header fix.
Xue Fuqiao [Sun, 2 Jun 2013 10:56:54 +0000 (18:56 +0800)]
* vc/log-view.el: Header fix.