]> git.eshelyaron.com Git - emacs.git/log
emacs.git
14 years agoFix treatment of menu-bar-files-menu.
Glenn Morris [Wed, 27 Oct 2010 04:06:52 +0000 (21:06 -0700)]
Fix treatment of menu-bar-files-menu.

* lisp/menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
rather than just an unused variable that inherits from the real one.

* doc/lispref/maps.texi (Standard Keymaps): Update File menu description.

14 years agoDocument GTK Emacs kill on display close in PROBLEMS.
Chong Yidong [Mon, 25 Oct 2010 16:08:27 +0000 (12:08 -0400)]
Document GTK Emacs kill on display close in PROBLEMS.

* src/xterm.c (x_connection_closed): Expand comment.

14 years ago* dbusbind.c (Fdbus_call_method_asynchronously)
Michael Albinus [Mon, 25 Oct 2010 11:46:21 +0000 (13:46 +0200)]
* dbusbind.c (Fdbus_call_method_asynchronously)
(Fdbus_register_signal, Fdbus_register_method): Check, whether
`dbus-registered-objects-table' is initialized.

Must not be synchronized with the trunk.

14 years ago* xterm.c (x_connection_closed): Kill Emacs unconditionally.
Chong Yidong [Sun, 24 Oct 2010 21:05:11 +0000 (17:05 -0400)]
* xterm.c (x_connection_closed): Kill Emacs unconditionally.

14 years agoverilog-mode.el updates.
Wilson Snyder [Sat, 23 Oct 2010 21:12:38 +0000 (14:12 -0700)]
verilog-mode.el updates.

This file should be copied to the trunk verbatim.

* verilog-mode.el (verilog-directive-re): Make this variable
auto-built for efficiency of execution and updating.
(verilog-extended-complete-re): Support 'pure' fucntion & task
declarations (these have no bodies).
(verilog-beg-of-statement): general cleanup to enable support of
'pure' fucntion & task declarations (these have no bodies).  These
efforts together fix Verilog bug210 from veripool; which was also
noticed by Steve Pearlmutter.
(verilog-directive-re, verilog-directive-begin, verilog-indent-re)
(verilog-directive-nest-re, verilog-set-auto-endcomments): Support
`elsif.  Reported by Shankar Giri.
(verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
attribute handling for lining up declarations and assignments.
(verilog-beg-of-statement-1): Fix issue where continued declaration
is indented differently if it is after a begin..end clock.
(verilog-in-attribute-p, verilog-skip-backward-comments)
(verilog-skip-forward-comment-p): Support proper treatment of
attributes by indent code. Reported by Jeff Steele.
(verilog-in-directive-p): Fix comment to correctly describe
function.
(verilog-backward-up-list, verilog-in-struct-region-p)
(verilog-backward-token, verilog-in-struct-p)
(verilog-in-coverage-p, verilog-do-indent)
(verilog-pretty-declarations): Use verilog-backward-up-list as
wrapper around backward-up-list inorder to properly skip comments.
Reported by David Rogoff.
(verilog-property-re, verilog-endcomment-reason-re)
(verilog-beg-of-statement, verilog-set-auto-endcomments)
(verilog-calc-1 ): Fix for assert a; else b; indentation (new form
of if). Reported by Max Bjurling and
(verilog-calc-1): Fix for clocking block in modport
declaration. Reported by Brian Hunter.
* verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
(verilog-gate-keywords, verilog-read-sub-decls)
(verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
(verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
(verilog-read-decls): Fix spaces in V2K module parameters causing
mis-identification as interfaces, bug287.
(verilog-read-decls): Fix not treating "parameter string" as a
parameter in AUTOINSTPARAM.
(verilog-read-always-signals-recurse, verilog-read-decls): Fix not
treating `elsif similar to `endif inside AUTOSENSE.
(verilog-do-indent): Implement correct automatic or static task or
function end comment highlight. Reported by Steve Pearlmutter.
(verilog-font-lock-keywords-2): Fix highlighting of single
character pins, bug264.  Reported by Michael Laajanen.
(verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
(verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
(verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
(verilog-pretty-expr): Fix interactive arguments, bug272. Reported
by Mark Johnson.
(verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp): Add
'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
bug269. Suggested by Gary Delp.
(verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
(verilog-preprocessor, verilog-set-compile-command): Create
verilog-preprocess and verilog-preprocessor to show preprocessed
output.
(verilog-get-beg-of-line, verilog-get-end-of-line)
(verilog-modi-file-or-buffer, verilog-modi-name)
(verilog-modi-point, verilog-within-string): Move defmacro's
before first use to avoid warning. Reported by Steve Pearlmutter.
(verilog-colorize-buffer, verilog-colorize-include-files-buffer)
(verilog-colorize-region, verilog-highlight-buffer)
(verilog-highlight-includes, verilog-highlight-modules)
(verilog-highlight-region, verilog-mode): Rename colorize to
highlight to match other packages.  Disable module highlighting,
as received speed complaints, reenable for experimentation only
using new verilog-highlight-modules.
(verilog-read-decls): Fix regexp stack overflow in very large
AUTO_TEMPLATEs, bug250.
(verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
(verilog-scan): Create verilog-save-buffer-state to standardize
making insignificant changes that shouldn't call hooks.
(verilog-save-no-change-functions, verilog-save-scan-cache)
(verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
Create verilog-save-no-change-functions to wrap verilog-scan
preservation, and fix to work with nested preserved calls.
(verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
(verilog-submit-bug-report): Update variable list to be complete.
(verilog-auto, verilog-colorize-region): Fix AUTO expansion
breaking on-the-fly font-locking.
(verilog-colorize-buffer, verilog-colorize-include-files)
(verilog-colorize-include-files-buffer, verilog-colorize-region)
(verilog-load-file-at-mouse, verilog-load-file-at-point)
(verilog-mode, verilog-read-inst-module-matcher): With point on a
AUTOINST cell instance name, middle mouse button now finds-file on
it.  Suggested by Brad Dobbie.
(verilog-alw-get-temps, verilog-auto-reset)
(verilog-auto-sense-sigs, verilog-read-always-signals)
(verilog-read-always-signals-recurse): Fix loop indexes being
AUTORESET. AUTORESET now assumes any variables in the
initialization section of a for() should be ignored.  Reported by
Dan Dever.
(verilog-error-font-lock-keywords)
(verilog-error-regexp-emacs-alist)
(verilog-error-regexp-xemacs-alist): Fix error detection of
Cadence HAL, reported by David Asher.  Repair drift between the
three similar error variables.
(verilog-modi-lookup, verilog-modi-lookup-cache)
(verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
(verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
Fix slow verilog-auto expansion on very large files.
(verilog-read-sub-decls-expr, verilog-read-sub-decls-line): Fix
AUTOOUTPUT treating "1*2" as a signal name in submodule connection
"{1*2{...".  Broke in last revision.
(verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
submodule connections with replications "{#{a},#{b}}".

14 years ago* erc-backend.el (erc-server-JOIN): Set the correct target list on join.
Julien Danjou [Sat, 23 Oct 2010 20:04:47 +0000 (13:04 -0700)]
* erc-backend.el (erc-server-JOIN): Set the correct target list on join.

14 years ago* lisp/erc/erc-backend.el (erc-process-sentinel): Check that buffer is alive
Julien Danjou [Sat, 23 Oct 2010 19:35:22 +0000 (12:35 -0700)]
* lisp/erc/erc-backend.el (erc-process-sentinel): Check that buffer is alive
before setting it as current buffer.

14 years agoFix bug#7224.
Glenn Morris [Sat, 23 Oct 2010 19:15:44 +0000 (12:15 -0700)]
Fix bug#7224.

* lisp/comint.el (comint-password-prompt-regexp): Match "enter the password".

14 years agoFix typos.
Juanma Barranquero [Fri, 22 Oct 2010 23:38:34 +0000 (01:38 +0200)]
Fix typos.

* doc/misc/gnus.texi (Group Parameters, Buttons): Fix typos.

* lisp/org/org-exp.el (org-export-visible):
* lisp/progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
  Fix typos in docstrings.

14 years agosrc/frame.c: Fix previous change.
Juanma Barranquero [Fri, 22 Oct 2010 10:52:08 +0000 (12:52 +0200)]
src/frame.c: Fix previous change.

14 years agoDocument values of window-system and deprecate its use as predicate.
Eli Zaretskii [Fri, 22 Oct 2010 10:35:31 +0000 (12:35 +0200)]
Document values of window-system and deprecate its use as predicate.

 src/frame.c (Fframep, Fwindow_system): Deprecate use as a predicate.
 Document all values.
 src/dispnew.c (syms_of_display) <initial-window-system, window-system>:
 Deprecate use as a boolean flag.  Document all values.
 src/display.texi (Window Systems): Deprecate use of window-system as
 a predicate.

14 years ago* net/tramp.el (tramp-get-inline-coding): Return `nil' in case of
Michael Albinus [Thu, 21 Oct 2010 06:33:47 +0000 (08:33 +0200)]
* net/tramp.el (tramp-get-inline-coding): Return `nil' in case of
errors.

* net/trampver.el: Update release number.

14 years ago* etc/DISTRIB: Update donation section.
Richard M. Stallman [Wed, 20 Oct 2010 04:03:16 +0000 (21:03 -0700)]
* etc/DISTRIB: Update donation section.
From http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00527.html

14 years ago* etc/DISTRIB: Small updates.
Glenn Morris [Wed, 20 Oct 2010 04:00:01 +0000 (21:00 -0700)]
* etc/DISTRIB: Small updates.
See discussion at
http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00495.html

14 years agomerge emacs-23
Kenichi Handa [Wed, 20 Oct 2010 00:46:21 +0000 (09:46 +0900)]
merge emacs-23

14 years agoface-remap.el (text-scale-adjust): Call read-event with a proper prompt.
Kenichi Handa [Wed, 20 Oct 2010 00:32:53 +0000 (09:32 +0900)]
face-remap.el (text-scale-adjust): Call read-event with a proper prompt.

14 years agolisp/ChangeLog: Add missing entry.
Juanma Barranquero [Tue, 19 Oct 2010 11:52:29 +0000 (13:52 +0200)]
lisp/ChangeLog: Add missing entry.

14 years ago* net/tramp.el (tramp-do-file-attributes-with-stat)
Michael Albinus [Tue, 19 Oct 2010 09:26:21 +0000 (11:26 +0200)]
* net/tramp.el (tramp-do-file-attributes-with-stat)
(tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
order to make stat results a float.  Patch by Andreas Schwab
<schwab@linux-m68k.org>.

14 years ago* lisp/repeat.el (repeat): Use read-key to ignore mouse-down events.
Stefan Monnier [Mon, 18 Oct 2010 18:38:11 +0000 (14:38 -0400)]
* lisp/repeat.el (repeat): Use read-key to ignore mouse-down events.

Fixes: debbugs:6256
14 years agoDon't allow functions that display messages in unsafep.
Chong Yidong [Mon, 18 Oct 2010 17:28:20 +0000 (13:28 -0400)]
Don't allow functions that display messages in unsafep.

* emacs-lisp/unsafep.el: Don't mark functions that display
messages as safe.  Suggested by Johan Bockgård.

14 years ago* src/s/cygwin.h (SIGNALS_VIA_CHARACTERS): New define (bug#7225).
Ken Brown [Mon, 18 Oct 2010 12:23:41 +0000 (08:23 -0400)]
* src/s/cygwin.h (SIGNALS_VIA_CHARACTERS): New define (bug#7225).

14 years ago(regexp-opt-group, regexp-opt-charset): Turn comments into docstrings
Stefan Monnier [Sun, 17 Oct 2010 18:59:58 +0000 (14:59 -0400)]
(regexp-opt-group, regexp-opt-charset): Turn comments into docstrings

14 years ago* lisp/minibuffer.el (completion--replace): Move point where it belongs
Stefan Monnier [Sun, 17 Oct 2010 17:30:22 +0000 (13:30 -0400)]
* lisp/minibuffer.el (completion--replace): Move point where it belongs
when there's a common suffix.

Fixes: debbugs:7215
14 years ago* net/tramp.el (tramp-open-connection-setup-interactive-shell):
Michael Albinus [Fri, 15 Oct 2010 12:15:43 +0000 (14:15 +0200)]
* net/tramp.el (tramp-open-connection-setup-interactive-shell):
Suppress expansion of tabs to spaces.

14 years agoFix incorrect font metrics when the same font is opened with different pixelsizes.
Kenichi Handa [Fri, 15 Oct 2010 07:49:11 +0000 (16:49 +0900)]
Fix incorrect font metrics when the same font is opened with different pixelsizes.

14 years agomerge emacs-23
Kenichi Handa [Fri, 15 Oct 2010 00:43:23 +0000 (09:43 +0900)]
merge emacs-23

14 years agointernational/characters.el: Add category '|' (word breakable) to fullwidth characters.
Kenichi Handa [Fri, 15 Oct 2010 00:41:53 +0000 (09:41 +0900)]
international/characters.el: Add category '|' (word breakable) to fullwidth characters.

14 years agosrc/w32*.c: Whitespace fixes and typos.
Juanma Barranquero [Thu, 14 Oct 2010 12:25:35 +0000 (14:25 +0200)]
src/w32*.c: Whitespace fixes and typos.

14 years agomail/rmail.el (rmail-show-message-1): Catch an error of base64-decode-region and...
Kenichi Handa [Thu, 14 Oct 2010 04:23:36 +0000 (13:23 +0900)]
mail/rmail.el (rmail-show-message-1): Catch an error of base64-decode-region and just show an error message (bug#7165).

14 years agomerge emacs-23
Kenichi Handa [Thu, 14 Oct 2010 02:06:31 +0000 (11:06 +0900)]
merge emacs-23

14 years ago(ps-mule-begin-job): Fix for the case that only ENCODING is set in a font-spec (bug...
Kenichi Handa [Thu, 14 Oct 2010 02:03:25 +0000 (11:03 +0900)]
(ps-mule-begin-job): Fix for the case that only ENCODING is set in a font-spec (bug#7197).

14 years agoFix handling of font properties on Windows (bug#6303).
Damyan Pepper [Wed, 13 Oct 2010 14:07:28 +0000 (16:07 +0200)]
Fix handling of font properties on Windows (bug#6303).
* src/font.c (font_filter_properties): New function, refactored from
  ftfont_filter_properties.
* src/font.h (font_filter_properties): Declare.
* src/ftfont.c (ftfont_filter_properties): Use font_filter_properties.
* src/w32font.c (w32font_booleans, w32font_non_booleans): New variables.
  (w32font_filter_properties): New function.
  (w32font_driver): Add w32font_filter_properties.

14 years ago* lisp/mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
Glenn Morris [Wed, 13 Oct 2010 03:05:22 +0000 (20:05 -0700)]
* lisp/mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.

14 years agoFix typos in docstrings, comments and ChangeLogs.
Juanma Barranquero [Tue, 12 Oct 2010 23:25:19 +0000 (01:25 +0200)]
Fix typos in docstrings, comments and ChangeLogs.

* etc/tutorials/TUTORIAL.es: Fix typos.

* lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
  Fix typo in message.
  (semantic-symref-list-map-open-hits): Fix typo in docstring.

* lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.

* lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.

* lisp/international/mule.el (define-coding-system):
* lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info):
* composite.el (compose-region): Fix typo in docstring.

* lisp/org/org-agenda.el (org-prefix-category-length)
  (org-prefix-category-max-length): Fix typos in docstrings.

* src/font.c (Ffont_variation_glyphs):
* ccl.c (Fccl_execute_on_string): Fix typo in docstring.

14 years agoFix typos in docstrings, comments and ChangeLogs.
Juanma Barranquero [Tue, 12 Oct 2010 15:16:57 +0000 (17:16 +0200)]
Fix typos in docstrings, comments and ChangeLogs.

* lisp/composite.el (compose-region):
* src/ccl.c (Fccl_execute_on_string): Fix typo in docstring.

14 years agoFix typos in comments
Kenichi Handa [Tue, 12 Oct 2010 12:52:05 +0000 (21:52 +0900)]
Fix typos in comments

14 years ago* README: Updates.
Glenn Morris [Tue, 12 Oct 2010 03:47:36 +0000 (20:47 -0700)]
* README: Updates.

14 years ago* BUGS, INSTALL.BZR: Updates.
Glenn Morris [Tue, 12 Oct 2010 03:45:41 +0000 (20:45 -0700)]
* BUGS, INSTALL.BZR: Updates.

14 years agoetc/NEWS.
Glenn Morris [Tue, 12 Oct 2010 03:43:52 +0000 (20:43 -0700)]
etc/NEWS.

14 years agoBug#7150: Distinguishing between left and right Alt keys on NextStep/OSX.
Jan Djärv [Mon, 11 Oct 2010 19:18:08 +0000 (21:18 +0200)]
Bug#7150: Distinguishing between left and right Alt keys on NextStep/OSX.

* lisp/cus-start.el (all): ns-right-alternate-modifier is new.

* lisp/term/ns-win.el (ns-right-alternate-modifier): New defvar.
(ns-right-option-modifier): New alias for ns-right-alternate-modifier.
(mac-right-option-modifier): New alias for ns-right-option-modifier.

* src/nsterm.m (Qleft): Declare.
(ns_right_alternate_modifier): New variable
(NSRightAlternateKeyMask): New define.
(EV_MODIFIERS): Parse NSRightAlternateKeyMask if
ns_right_alternate_modifier isn't Qleft.
(keyDown): If ns_right_alternate_modifier isn't Qleft, use it
as emacs modifier for NSRightAlternateKeyMask.
(syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.

14 years ago* Makefile.in (ELCFILES): Update.
Andreas Schwab [Sun, 10 Oct 2010 19:31:40 +0000 (21:31 +0200)]
* Makefile.in (ELCFILES): Update.

14 years ago* doc/man/emacs.1: Small fixes.
Glenn Morris [Sun, 10 Oct 2010 00:05:14 +0000 (17:05 -0700)]
* doc/man/emacs.1: Small fixes.

14 years ago* lisp/emacs-lisp/lisp.el (lisp-completion-at-point):
Stefan Monnier [Sat, 9 Oct 2010 15:43:43 +0000 (17:43 +0200)]
* lisp/emacs-lisp/lisp.el (lisp-completion-at-point):
Use emacs-lisp-mode-syntax-table for the whole function.

14 years ago(gdb-mouse-toggle-breakpoint-margin)
Nick Roberts [Sat, 9 Oct 2010 10:51:42 +0000 (23:51 +1300)]
(gdb-mouse-toggle-breakpoint-margin)
(gdb-mouse-toggle-breakpoint-fringe): Correct regexp to work when
breakpoint number exceeds nine.

14 years agoFix hi-lock-mode interactions with font-lock.
David Koppelman [Sat, 9 Oct 2010 04:09:19 +0000 (00:09 -0400)]
Fix hi-lock-mode interactions with font-lock.
* hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
instead of font-lock-mode before adding keywords. Removed
hi-lock-mode off code. Removed inhibit hack.
(hi-lock-set-pattern): Only add keywords if font-lock-fontified
non-nil; removed hook inhibit hack.

14 years agoRename another shadow.el function.
Glenn Morris [Sat, 9 Oct 2010 00:44:53 +0000 (17:44 -0700)]
Rename another shadow.el function.

* lisp/emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
(load-path-shadows-find): ... to this.
(list-load-path-shadows): Update for above change.

14 years ago* lisp/mail/mail-utils.el (mail-mbox-from): Also try return-path.
Glenn Morris [Sat, 9 Oct 2010 00:41:03 +0000 (17:41 -0700)]
* lisp/mail/mail-utils.el (mail-mbox-from): Also try return-path.

(Per 8-year old observation:
http://lists.gnu.org/archive/html/bug-gnu-emacs/2002-06/msg00176.html )

14 years ago* doc/man/emacs.1: Update license description.
Ulrich Mueller [Sat, 9 Oct 2010 00:37:11 +0000 (17:37 -0700)]
* doc/man/emacs.1: Update license description.

14 years ago* dbusbind.c (xd_get_dispatch_status): Return a Lisp_Object.
Michael Albinus [Fri, 8 Oct 2010 11:40:23 +0000 (13:40 +0200)]
* dbusbind.c (xd_get_dispatch_status): Return a Lisp_Object.
(xd_pending_messages): Catch xd_get_dispatch_status calls.

14 years agoMention the bug number for the last change in make-dist.
Eli Zaretskii [Fri, 8 Oct 2010 09:52:34 +0000 (11:52 +0200)]
Mention the bug number for the last change in make-dist.

14 years agomake-dist: Don't distribute src/buildobj.h.
Eli Zaretskii [Fri, 8 Oct 2010 09:36:38 +0000 (11:36 +0200)]
make-dist: Don't distribute src/buildobj.h.

14 years agoChangeLog fix.
Glenn Morris [Fri, 8 Oct 2010 03:19:47 +0000 (20:19 -0700)]
ChangeLog fix.

14 years ago* lisp/obsolete/cl-compat.el, lisp/obsolete/lmenu.el: Comments.
Glenn Morris [Fri, 8 Oct 2010 03:12:43 +0000 (20:12 -0700)]
* lisp/obsolete/cl-compat.el, lisp/obsolete/lmenu.el: Comments.

14 years ago* emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
Glenn Morris [Fri, 8 Oct 2010 03:08:32 +0000 (20:08 -0700)]
* emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.

14 years agoRename some shadow.el things.
Glenn Morris [Fri, 8 Oct 2010 03:05:09 +0000 (20:05 -0700)]
Rename some shadow.el things.

* lisp/emacs-lisp/shadow.el (lisp-shadow): Change prefix.
(shadows-compare-text-p): Make it an obsolete alias for...
(load-path-shadows-compare-text): ... new name.
(find-emacs-lisp-shadows): Update for above name change.
(load-path-shadows-same-file-or-nonexistent): New name for the old
shadow-same-file-or-nonexistent.

14 years agoMinor cl.texi change.
Glenn Morris [Fri, 8 Oct 2010 03:01:23 +0000 (20:01 -0700)]
Minor cl.texi change.

* doc/misc/cl.texi (Organization, Installation, Old CL Compatibility):
Deprecate cl-compat for new code.

14 years agomerge emacs-23
Kenichi Handa [Fri, 8 Oct 2010 02:23:11 +0000 (11:23 +0900)]
merge emacs-23

14 years agocoding.c (complement_process_encoding_system): Fix previous change.
Kenichi Handa [Fri, 8 Oct 2010 00:43:16 +0000 (09:43 +0900)]
coding.c (complement_process_encoding_system): Fix previous change.

14 years ago* doc/misc/eudc.texi (CCSO PH/QI, LDAP Requirements): Remove old information.
Glenn Morris [Thu, 7 Oct 2010 02:16:02 +0000 (19:16 -0700)]
* doc/misc/eudc.texi (CCSO PH/QI, LDAP Requirements): Remove old information.

14 years ago* doc/misc/cl.texi (Usage, Installation): Remove outdated information.
Glenn Morris [Wed, 6 Oct 2010 02:19:42 +0000 (19:19 -0700)]
* doc/misc/cl.texi (Usage, Installation): Remove outdated information.

14 years agomerge emacs-23
Kenichi Handa [Mon, 4 Oct 2010 01:53:48 +0000 (10:53 +0900)]
merge emacs-23

14 years agocoding.c (complement_process_encoding_system): Fix previous change.
Kenichi Handa [Mon, 4 Oct 2010 01:47:51 +0000 (10:47 +0900)]
coding.c (complement_process_encoding_system): Fix previous change.

14 years agoUse lexical-let to avoid false matches in var completion (Bug#7056).
Chong Yidong [Sun, 3 Oct 2010 19:50:14 +0000 (15:50 -0400)]
Use lexical-let to avoid false matches in var completion (Bug#7056).

* lisp/minibuffer.el (completion--some, completion--do-completion)
(minibuffer-complete-and-exit, minibuffer-completion-help)
(completion-basic-try-completion)
(completion-basic-all-completions)
(completion-pcm--find-all-completions): Use lexical-let to
avoid some false matches in variable completion (Bug#7056)

14 years ago* lisp/vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
Olof Ohlsson Sax [Sun, 3 Oct 2010 19:43:54 +0000 (12:43 -0700)]
* lisp/vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)

14 years ago* dbusbind.c (syms_of_dbusbind): Move putenv call ...
Michael Albinus [Sun, 3 Oct 2010 09:23:07 +0000 (11:23 +0200)]
* dbusbind.c (syms_of_dbusbind): Move putenv call ...
(Fdbus_init_bus): ... here.  (Bug#7113)

14 years agoFix return value of dnd-get-local-file-name (Bug#7090).
Leo Liu [Sun, 3 Oct 2010 01:27:39 +0000 (21:27 -0400)]
Fix return value of dnd-get-local-file-name (Bug#7090).

* lisp/dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
return non-nil if the file exists (Bug#7090).

14 years agoDoc fix.
Glenn Morris [Sun, 3 Oct 2010 01:23:50 +0000 (18:23 -0700)]
Doc fix.

* src/buffer.c (before-change-functions, after-change-functions):
Three-year overdue doc fix following 2007-08-13 change.

14 years agoAdd missing ChangeLog entry for r1.146 of lispref/text.texi.
Glenn Morris [Sun, 3 Oct 2010 01:18:35 +0000 (18:18 -0700)]
Add missing ChangeLog entry for r1.146 of lispref/text.texi.

14 years agomerge emacs-23
Kenichi Handa [Sat, 2 Oct 2010 02:05:56 +0000 (11:05 +0900)]
merge emacs-23

14 years agoFix complementing of a coding system
Kenichi Handa [Sat, 2 Oct 2010 01:44:50 +0000 (10:44 +0900)]
Fix complementing of a coding system

14 years agoClose bug#3992.
Glenn Morris [Fri, 1 Oct 2010 03:41:12 +0000 (20:41 -0700)]
Close bug#3992.

* lib-src/emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
DARWIN_USER_TEMP_DIR.

14 years ago* lisp/minibuffer.el (completion--replace): Better preserve markers.
Stefan Monnier [Thu, 30 Sep 2010 23:05:26 +0000 (01:05 +0200)]
* lisp/minibuffer.el (completion--replace): Better preserve markers.

Fixes: debbugs:7138
14 years agomerge emacs-23
Kenichi Handa [Thu, 30 Sep 2010 04:31:53 +0000 (13:31 +0900)]
merge emacs-23

14 years agoComplement a coding system for encoding arguments and input to a process.
Kenichi Handa [Thu, 30 Sep 2010 04:28:34 +0000 (13:28 +0900)]
Complement a coding system for encoding arguments and input to a process.

14 years agoFix more CEDET require statements.
Chong Yidong [Thu, 30 Sep 2010 01:41:13 +0000 (21:41 -0400)]
Fix more CEDET require statements.

* semantic/bovine/el.el:
* semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode):
Fix require statements.

14 years agoFix errors in CEDET 1.0 merge.
Chong Yidong [Wed, 29 Sep 2010 16:09:21 +0000 (12:09 -0400)]
Fix errors in CEDET 1.0 merge.

* semantic/tag.el (semantic-tag-version): Bump to 2.0.

* semantic/db-typecache.el (semanticdb-typecache-find-default):
* semantic/imenu.el (semantic-create-imenu-index):
* semantic/grammar.el (semantic--grammar-macro-function-tag):
* semantic/fw.el (semanticdb-without-unloaded-file-searches): Fix
require.  Suggested by David Engster.

* semantic/bovine/c-by.el: Regenerate.

* semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
(semantic-lex-spp-enable-debug-symbol): New command
(semantic-lex-spp-value-valid-p)
(semantic-lex-spp-validate-value): New functions
(semantic-lex-spp-symbol-set)
(semantic-lex-spp-symbol-push): Add call to validate value.
(semantic-lex-spp-table-write-slot-value): Instead of erroring on
invalid values during save, just save a nil.

14 years agolisp/server.el (server-process-filter): Doc fix.
Juanma Barranquero [Wed, 29 Sep 2010 13:24:55 +0000 (15:24 +0200)]
lisp/server.el (server-process-filter): Doc fix.

14 years agomerge emacs-23
Kenichi Handa [Wed, 29 Sep 2010 00:55:58 +0000 (09:55 +0900)]
merge emacs-23

14 years agoxfont.c (xfont_open): Fix setting of font->average_width from :avgwidth property...
Kenichi Handa [Wed, 29 Sep 2010 00:52:03 +0000 (09:52 +0900)]
xfont.c (xfont_open): Fix setting of font->average_width from :avgwidth property (Bug#7123).

14 years ago* dbusbind.c (syms_of_dbusbind): Use putenv instead of setenv, it
Michael Albinus [Tue, 28 Sep 2010 13:39:22 +0000 (15:39 +0200)]
* dbusbind.c (syms_of_dbusbind): Use putenv instead of setenv, it
is more portable.

* keyboard.c (gobble_input): Move call of xd_read_queued_messages ...
(kbd_buffer_get_event): ... here. This is needed for cygwin, which
has not defined SIGIO.

14 years ago* dired.el (dired-save-positions): Doc fix. (Bug#7119)
Drew Adams [Mon, 27 Sep 2010 23:41:00 +0000 (01:41 +0200)]
* dired.el (dired-save-positions): Doc fix.  (Bug#7119)

14 years ago* Makefile.in (ELCFILES): Update.
Andreas Schwab [Mon, 27 Sep 2010 21:32:36 +0000 (23:32 +0200)]
* Makefile.in (ELCFILES): Update.

14 years ago* emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Avoid
Andreas Schwab [Mon, 27 Sep 2010 17:14:58 +0000 (19:14 +0200)]
* emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Avoid
infinite recursion on erroneous lambda form.  (Bug#7114)

14 years ago* dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0".
Michael Albinus [Mon, 27 Sep 2010 13:27:54 +0000 (15:27 +0200)]
* dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0".
(Bug#7113)

14 years ago* dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0".
Michael Albinus [Mon, 27 Sep 2010 12:44:26 +0000 (14:44 +0200)]
* dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0".
(Bug#7113)

14 years ago* dbusbind.c (syms_of_dbusbind): Unset $DBUS_FATAL_WARNINGS.
Michael Albinus [Mon, 27 Sep 2010 08:59:16 +0000 (10:59 +0200)]
* dbusbind.c (syms_of_dbusbind): Unset $DBUS_FATAL_WARNINGS.
(Bug#7113)

14 years agotar-mode.el (tar-header-block-tokenize): Decode filenames in "ustar" format.
Kenichi Handa [Mon, 27 Sep 2010 05:00:46 +0000 (14:00 +0900)]
tar-mode.el (tar-header-block-tokenize): Decode filenames in "ustar" format.

14 years agointernational/mule-diag.el (describe-character-set): Use princ with proper print...
Kenichi Handa [Mon, 27 Sep 2010 04:52:56 +0000 (13:52 +0900)]
international/mule-diag.el (describe-character-set): Use princ with proper print-length and print-level instead of insert.

14 years ago* xgselect.c (xg_select): Clear file descriptors not set from rfds and wfds.
Jan D [Sun, 26 Sep 2010 15:39:10 +0000 (17:39 +0200)]
* xgselect.c (xg_select): Clear file descriptors not set from rfds and wfds.

14 years agolisp/window.el (walk-windows): Doc fix (bug#7105).
Juanma Barranquero [Sun, 26 Sep 2010 00:37:50 +0000 (02:37 +0200)]
lisp/window.el (walk-windows): Doc fix (bug#7105).

14 years agoFix require names in CEDET 1.0 merge.
Chong Yidong [Sat, 25 Sep 2010 18:49:43 +0000 (14:49 -0400)]
Fix require names in CEDET 1.0 merge.

* ede/linux.el (ede-project-class-files):
* ede/generic.el (ede-generic-new-autoloader):
* ede/emacs.el (ede-project-class-files):
* ede/simple.el (ede-project-class-files):
* ede/cpp-root.el (ede-project-class-files): Fix require name.

14 years agoMove some aliases to options before the associated definitions.
Glenn Morris [Thu, 23 Sep 2010 07:05:22 +0000 (00:05 -0700)]
Move some aliases to options before the associated definitions.

* isearch.el (isearch-lazy-highlight-cleanup)
(isearch-lazy-highlight-initial-delay)
(isearch-lazy-highlight-interval)
(isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
* net/net-utils.el (ipconfig-program-options):
Move aliases to options before the associated definitions.

14 years agoSynch SRecode to CEDET 1.0.
Eric M. Ludlam [Tue, 21 Sep 2010 22:11:23 +0000 (18:11 -0400)]
Synch SRecode to CEDET 1.0.

* lisp/cedet/cedet.el (cedet-version):
* lisp/cedet/srecode.el (srecode-version): Bump version to 1.0.

* lisp/cedet/pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
'never, disable all pulsing.

* lisp/cedet/srecode/compile.el (srecode-compile-templates): Fix directory
compare of built-in templates.  Give built-ins lower piority.
Support special variable "project".
(srecode-compile-template-table): Set :project slot of new tables.
(srecode-compile-one-template-tag): Use
srecode-create-dictionaries-from-tags.

* lisp/cedet/srecode/cpp.el (srecode-cpp): New defgroup.
(srecode-cpp-namespaces): New option.
(srecode-semantic-handle-:using-namespaces)
(srecode-cpp-apply-templates): New functions.
(srecode-semantic-apply-tag-to-dict): Handle template parameters
by calling `srecode-cpp-apply-templates'.

* lisp/cedet/srecode/dictionary.el (srecode-dictionary-add-template-table):
Do not add variables in tables not for the current project.
(srecode-compound-toString): Handle cases where the default value
is another compound value.
(srecode-dictionary-lookup-name): New optional argument
NON-RECURSIVE, which inhibits visiting dictionary parents.
(srecode-dictionary-add-section-dictionary)
(srecode-dictionary-merge): New optional argument FORCE adds
values even if an identically named entry exists.
(srecode-dictionary-add-entries): New method.
(srecode-create-dictionaries-from-tags): New function.

* lisp/cedet/srecode/fields.el (srecode-fields-exit-confirmation): New option.
(srecode-field-exit-ask): Use it.

* lisp/cedet/srecode/find.el (srecode-template-get-table)
(srecode-template-get-table-for-binding)
(srecode-all-template-hash): Skip if not in current project.
(srecode-template-table-in-project-p): New method.

* lisp/cedet/srecode/getset.el (srecode-insert-getset): Force tag table
update.  Don't query the class if it is empty.

* lisp/cedet/srecode/insert.el (srecode-insert-fcn): Merge template
dictionary before resolving arguments.
(srecode-insert-method-helper): Add error checking to make sure
that we only have dictionaries.
(srecode-insert-method): Check template nesting depth when using
point inserter override.
(srecode-insert-method): Install override with depth limit.

* lisp/cedet/srecode/map.el (srecode-map-update-map): Make map loading more
robust.

* lisp/cedet/srecode/mode.el (srecode-bind-insert): Call
srecode-load-tables-for-mode.
(srecode-minor-mode-templates-menu): Do not list templates that
are not in the current project.
(srecode-menu-bar): Add binding for srecode-macro-help.

* lisp/cedet/srecode/table.el (srecode-template-table): Add :project slot.
(srecode-dump): Dump it.

* lisp/cedet/srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
(semantic-insert-foreign-tag): Use it.

14 years ago* src/syntax.c (back_comment): Detect the case where a 1-char comment
Stefan Monnier [Tue, 21 Sep 2010 15:52:13 +0000 (17:52 +0200)]
* src/syntax.c (back_comment): Detect the case where a 1-char comment
starter is also the 2nd char of a 2-char comment ender.

14 years ago* lisp/newcomment.el (comment-normalize-vars): Better test validity of
Stefan Monnier [Tue, 21 Sep 2010 13:09:22 +0000 (15:09 +0200)]
* lisp/newcomment.el (comment-normalize-vars): Better test validity of
comment-end-skip.

14 years agoFix message-mode bug with fcc to Rmail buffers.
Glenn Morris [Tue, 21 Sep 2010 03:11:34 +0000 (20:11 -0700)]
Fix message-mode bug with fcc to Rmail buffers.

* lisp/gnus/message.el (message-output): Use gnus-output-to-rmail if a
buffer is visiting the fcc file in rmail-mode.

14 years agoAdd EPSF magic header to doc/lispintro/*.eps. (Bug#7064)
Glenn Morris [Tue, 21 Sep 2010 03:07:49 +0000 (20:07 -0700)]
Add EPSF magic header to doc/lispintro/*.eps.  (Bug#7064)

* cons-1.eps, cons-2.eps, cons-2a.eps, cons-3.eps, cons-4.eps:
* cons-5.eps, lambda-1.eps, lambda-2.eps, lambda-3.eps:
Add first line EPSF magic comment.

14 years agoSynch EDE to CEDET 1.0.
Eric M. Ludlam [Tue, 21 Sep 2010 02:42:53 +0000 (22:42 -0400)]
Synch EDE to CEDET 1.0.

* cedet-idutils.el (cedet-idutils-make-command): New option.
(cedet-idutils-mkid-call):
(cedet-idutils-create/update-database): New functions.

* cedet-cscope.el (cedet-cscope-create):
(cedet-cscope-create/update-database): New functions.
(cedet-cscope-support-for-directory): Make interactive.

* cedet-global.el (cedet-global-gtags-command): New option.
(cedet-gnu-global-gtags-call)
(cedet-gnu-global-create/update-database): New functions.

* ede.el (ede-save-cache): Fix recentf-exclude expression.
(ede-make-dist): Always use toplevel project.
(ede-buffer-object): If we fail to find an object in the current
project, loop upward looking for a match.  If no target is found,
use most local project.
(ede-buffer-belongs-to-target-p)
(ede-buffer-belongs-to-project-p): New functions.
(ede-initialize-state-current-buffer): New function.
(ede-target-forms-menu, ede-project-buffers): Use them.
(ede-minor-mode, ede-reset-all-buffers): Use it.
(project-interactive-select-target, project-add-file): Don't use
ede-project-force-load.
(ede-buffer-object): New arg PROJSYM.
(ede-minor-mode): Remove ede-directory-project-p test.
(ede-initialize-state-current-buffer): Don't test for
ede-directory-project-p if there is a matching open project.
(ede-customize-forms-menu): Prevent error if there is no project.
(ede-load-project-file): Set ede-constructing to the thing being
constructed, instead of t.
(ede-project-force-load): Deleted.

* ede/base.el:
* ede/auto.el:
* ede/custom.el: New files.

* ede/autoconf-edit.el (autoconf-find-last-macro)
(autoconf-parameters-for-macro): Parse multiline parameters of
macros.  Optionally ignore case and at bol for macro.
(autoconf-parameter-strip): Use greedy match for newlines.
(autoconf-new-automake-string): Deleted.
(autoconf-new-program): Use SRecode to fill an empty file.

* ede/cpp-root.el (ede-create-lots-of-projects-under-dir): New
function.

* ede/files.el (ede-flush-project-hash): New command.
(ede-convert-path): Add optional PROJECT arg.
(ede-directory-project-p): Obey ".ede-ignore".
(ede-expand-filename-local)
(ede-expand-filename-impl-via-subproj): New methods.
(ede-expand-filename-impl): Use them.
(ede-project-root, ede-project-root-directory): Move to
ede/auto.el.

* ede/locate.el (ede-locate-flush-hash):
(ede-locate-create/update-root-database): New methods.
(initialize-instance): Use ede-locate-flush-hash.

* ede/pmake.el (ede-proj-makefile-insert-variables): If this is
the top project and not a metasubproject, set TOP to CURDIR.
(ede-proj-makefile-insert-variables): Output a target's object
list whether or not the vars are already in the Makefile.
(ede-pmake-insert-variable-once): New macro.

* ede/project-am.el (project-am-with-makefile-current): Add
recentf-exclude.
(project-am-load-makefile): Obey an optional suggested name.
(project-am-expand-subdirlist): New function.
(project-am-makefile::project-rescan): Use it.  Combine SUBDIRS
and DIST_SUBDIRS.
(project-am-meta-type-alist): A list to scan better Makefile.am
(project-am-scan-for-targets): Scan also over
project-am-meta-type-alist.
(ede-system-include-path): Simple implementation.
(ede-find-target): Deleted.  EDE core takes care of this.
(ede-buffer-mine): Create the searched filename as relative.
(project-am-load): Simplify, using autoconf-edit.
(project-am-extract-package-info): Fix separators.

* ede/proj.el (project-run-target): New method.
(project-make-dist, project-compile-project): Use
ede-proj-automake-p to determine which kind of compile to use.
(project-rescan): Call ede-load-project-file.
(ede-buffer-mine): Add more file names that belong to the project.
(ede-proj-compilers): Improve error message.

* ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
(ede-source-c++): Add more C++ extensions.
(ede-proj-target-makefile-objectcode): Quote initforms.  Support
lex and yacc.

* ede/proj-prog.el (ede-proj-makefile-insert-rules): Removed.
(ede-proj-makefile-insert-variables): New, add LDDEPS.
(ede-proj-makefile-insert-automake-post-variables): Add LDADD
variable.  Use ldlibs-local slot.  Add a -l to ldlibs strings.
(ede-proj-target-makefile-program): Swap order of two slots so
they show up in the same order as in the command line.
(ede-proj-target-makefile-program): Add ldlibs-local slot.

* ede/proj-shared.el (ede-g++-libtool-shared-compiler): Fix
inference rule to use cpp files.
(ede-proj-target-makefile-shared-object): Quote initforms.

* ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
* ede/proj-info.el (ede-proj-target-makefile-info):
* ede/proj-aux.el (ede-proj-target-aux):
* ede/proj-archive.el (ede-proj-target-makefile-archive):
* ede/proj-elisp.el (ede-proj-target-elisp)
(ede-proj-target-elisp-autoloads): Quote initforms.

* ede/srecode.el (ede-srecode-setup): Load autoconf templates.

* ede/shell.el (ede-shell-buffer): Fix buffer name.

* ede/pconf.el (ede-proj-configure-synchronize): If user events
occur while waiting for the compile process to finish, pull them
in and discard those events.

14 years ago* lisp/emacs-lisp/float-sup.el (float-pi): New name for `pi'.
Stefan Monnier [Sun, 19 Sep 2010 09:49:21 +0000 (11:49 +0200)]
* lisp/emacs-lisp/float-sup.el (float-pi): New name for `pi'.
(float-e): New name for `e'.
(degrees-to-radians, radians-to-degrees):
* lisp/calendar/solar.el (solar-longitude):
* lisp/calculator.el (calculator-registers, calculator-funcall):
* lisp/textmodes/artist.el (artist-spray-random-points):
* lisp/play/bubbles.el (bubbles--initialize-images): Use new names.

14 years agoUpdate to CEDET 1.0's version of EIEIO.
Eric M. Ludlam [Sun, 19 Sep 2010 04:23:57 +0000 (00:23 -0400)]
Update to CEDET 1.0's version of EIEIO.

* emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key): New
function.
(eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
(eieio-default-eval-maybe): Eval val instead of unquoting only.
(class-precedence-list): If class is nil, return nil.
(eieio-generic-call): If class of first input arg is nil, don't
look up static methods, and do check for primary methods.
(initialize-instance): See if the default needs to be evaluated
during the constructor.
(eieio-perform-slot-validation-for-default): Don't do the check
for values that will eventually be evaluated.
(eieio-eval-default-p): New function.
(eieio-default-eval-maybe): Use it.

* emacs-lisp/eieio.el (eieio-defclass): Allow :c3
method-invocation-order.
(eieio-c3-candidate, eieio-c3-merge-lists): New functions.
(eieio-class-precedence-dfs): Compute class precedence list using
dfs algorithm.
(eieio-class-precedence-bfs): Compute class precedence list using
bfs algorithm.
(eieio-class-precedence-c3): compute class precedence list using
c3 algorithm.
(class-precedence-list): New function.
(eieiomt-method-list, eieiomt-sym-optimize): Use it.
(inconsistent-class-hierarchy): New error symbol.
(call-next-method): Stow the replacement argument list for future
call-next-method invocations.