bpt/emacs.git
13 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.

13 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.

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

13 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.

13 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/.

13 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.

13 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.

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

13 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.

13 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.

13 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.

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

13 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.

13 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)

13 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)

13 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)

13 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).

13 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.

13 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.

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

13 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

13 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.

13 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

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

13 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.

13 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.

13 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.

13 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.

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

13 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).

13 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.

13 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)

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

13 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)

13 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)

13 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)

13 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)

13 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.

13 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.

13 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.

13 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).

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 years agoSynch Semantic to CEDET 1.0.
Chong Yidong [Sun, 19 Sep 2010 02:49:54 +0000 (22:49 -0400)]
Synch Semantic to CEDET 1.0.
Move CEDET ChangeLog entries to new file lisp/cedet/ChangeLog.

* semantic.el (semantic-version): Update to 2.0.
(semantic-mode-map): Add "," and "m" bindings.
(navigate-menu): Update.

* semantic/symref.el (semantic-symref-calculate-rootdir):
New function.
(semantic-symref-detect-symref-tool): Use it.

* semantic/symref/grep.el (semantic-symref-grep-shell): New var.
(semantic-symref-perform-search): Use it.  Calculate root dir with
semantic-symref-calculate-rootdir.
(semantic-symref-derive-find-filepatterns): Improve error message.

* semantic/symref/list.el
(semantic-symref-results-mode-map): New bindings.
(semantic-symref-auto-expand-results): New option.
(semantic-symref-results-dump): Obey auto-expand.
(semantic-symref-list-expand-all, semantic-symref-regexp)
(semantic-symref-list-contract-all)
(semantic-symref-list-map-open-hits)
(semantic-symref-list-update-open-hits)
(semantic-symref-list-create-macro-on-open-hit)
(semantic-symref-list-call-macro-on-open-hits): New functions.
(semantic-symref-list-menu-entries)
(semantic-symref-list-menu): New vars.
(semantic-symref-list-map-open-hits): Move cursor to beginning of
match before calling the mapped function.

* semantic/doc.el
(semantic-documentation-comment-preceeding-tag): Do nothing if the
mode doesn't provide comment-start-skip.

* semantic/scope.el
(semantic-analyze-scope-nested-tags-default): Strip duplicates.
(semantic-analyze-scoped-inherited-tag-map): Take the tag we are
looking for as part of the scoped tags list.

* semantic/html.el (semantic-default-html-setup): Add
senator-step-at-tag-classes.

* semantic/decorate/include.el
(semantic-decoration-on-unknown-includes): Change light bgcolor.
(semantic-decoration-on-includes-highlight-default): Check that
the include tag has a postion.

* semantic/complete.el (semantic-collector-local-members):
(semantic-complete-read-tag-local-members)
(semantic-complete-jump-local-members): New class and functions.
(semantic-complete-self-insert): Save excursion before completing.

* semantic/analyze/complete.el
(semantic-analyze-possible-completions-default): If no completions
are found, return the raw by-name-only completion list.  Add FLAGS
arguments.  Add support for 'no-tc (type constraint) and
'no-unique, or no stripping duplicates.
(semantic-analyze-possible-completions-default): Add FLAGS arg.

* semantic/util-modes.el
(semantic-stickyfunc-show-only-functions-p): New option.
(semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
the very first line in a buffer.

* semantic/util.el (semantic-hack-search)
(semantic-recursive-find-nonterminal-by-name)
(semantic-current-tag-interactive): Deleted.
(semantic-describe-buffer): Fix expand-nonterminal.  Add
lex-syntax-mods, type relation separator char, and command
separation char.
(semantic-sanity-check): Only message if called interactively.

* semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
:filename property and the tag position.

* semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
Add recursion limit.

* semantic/imenu.el (semantic-imenu-bucketize-type-members):
Make this buffer local, not the obsoleted variable.

* semantic/idle.el: Add breadcrumbs support.
(semantic-idle-summary-current-symbol-info-default)
(semantic-idle-tag-highlight)
(semantic-idle-completion-list-default): Use
semanticdb-without-unloaded-file-searches for speed, and to
conform to the controls that specify if the idle timer is supposed
to be parsing unparsed includes.
(semantic-idle-symbol-highlight-face)
(semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
Callers changed.
(semantic-idle-work-parse-neighboring-files-flag): Default to nil.
(semantic-idle-work-update-headers-flag): New var.
(semantic-idle-work-for-one-buffer): Use it.
(semantic-idle-local-symbol-highlight): Rename from
semantic-idle-tag-highlight.
(semantic-idle-truncate-long-summaries): New option.

* semantic/ia.el (semantic-ia-cache)
(semantic-ia-get-completions): Deleted.  Callers changed.
(semantic-ia-show-variants): New command.
(semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
(semantic-ia-show-summary): If there isn't anything to show, say so.

* semantic/grammar.el (semantic-grammar-create-package):
Save the buffer even in batch mode.

* semantic/fw.el
(semanticdb-without-unloaded-file-searches): New macro.

* semantic/dep.el (semantic-dependency-find-file-on-path):
Fix case dereferencing ede-object when it is a list.

* semantic/db-typecache.el (semanticdb-expand-nested-tag)
(semanticdb-typecache-faux-namespace): New functions.
(semanticdb-typecache-file-tags)
(semanticdb-typecache-merge-streams): Use them.
(semanticdb-typecache-file-tags): When deriving tags from a file,
give the mode a chance to monkey with the tag copy.
(semanticdb-typecache-find-default): Wrap find in save-excursion.
(semanticdb-typecache-find-by-name-helper): Merge found names down.

* semantic/db-global.el
(semanticdb-enable-gnu-global-in-buffer): Don't show messages if
GNU Global is not available and we don't want to throw an error.

* semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
When trying to normalize the tag to a buffer, don't error if
set-buffer method doesn't exist.

* semantic/db-file.el (semanticdb-save-db): Simplify msg.

* semantic/db.el (semanticdb-refresh-table): If forcing a
refresh on a file not in a buffer, use semantic-find-file-noselect
and delete the buffer after use.
(semanticdb-current-database-list): When calculating root via
hooks, force it through true-filename and skip the list of
possible roots.

* semantic/ctxt.el (semantic-ctxt-imported-packages): New.

* semantic/analyze/debug.el
(semantic-analyzer-debug-insert-tag): Reset standard output to
current buffer.
(semantic-analyzer-debug-global-symbol)
(semantic-analyzer-debug-missing-innertype): Change "prefix" to
"symbol" in messages.

* semantic/analyze/refs.el: (semantic-analyze-refs-impl)
(semantic-analyze-refs-proto): When calculating value, make sure
the found tag is 'similar' to the originating tag.
(semantic--analyze-refs-find-tags-with-parent): Attempt to
identify matches via imported symbols of parents.
(semantic--analyze-refs-full-lookup-with-parents): Do a deep
search during the brute search.

* semantic/analyze.el
(semantic-analyze-find-tag-sequence-default): Be robust to
calculated scopes being nil.

* semantic/bovine/c.el (semantic-c-describe-environment): Add
project macro symbol array.
(semantic-c-parse-lexical-token): Add recursion limit.
(semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
New overrides.
(semantic-expand-c-tag-namelist): Split a full type from a typedef
out to its own tag.
(semantic-expand-c-tag-namelist): Do not split out a typedef'd
inline type if it is an anonymous type.
(semantic-c-reconstitute-token): Use the optional initializers as
a clue that some function is probably a constructor.  When
defining the type of these constructors, split the parent name,
and use only the class part, if applicable.

* semantic/bovine/c-by.el:
* semantic/wisent/python-wy.el: Regenerate.

13 years ago* lisp/url/url-cache.el (url-is-cached): Doc fix.
Glenn Morris [Sat, 18 Sep 2010 20:43:13 +0000 (13:43 -0700)]
* lisp/url/url-cache.el (url-is-cached): Doc fix.

13 years agoMake sure detached tool bar menu isn't blank.
Jan D [Fri, 17 Sep 2010 09:58:44 +0000 (11:58 +0200)]
Make sure detached tool bar menu isn't blank.

* gtkutil.c (xg_tool_bar_menu_proxy): Set gtk-menu-items to TRUE.

13 years agoappt.el fixes for bug#7019.
Glenn Morris [Wed, 15 Sep 2010 02:55:44 +0000 (19:55 -0700)]
appt.el fixes for bug#7019.
* lisp/calendar/appt.el (appt-check): If not displaying the diary,
use (diary 1) to only get the entries we need.
(appt-make-list): Sort diary-list-entries, if we cannot guarantee
that it is in day order.  (Bug#7019)

13 years agoMinor appt-check fix.
Glenn Morris [Wed, 15 Sep 2010 02:46:00 +0000 (19:46 -0700)]
Minor appt-check fix.
* lisp/calendar/appt.el (appt-check): Rather than showing the diary,
just turn off invisible display, and only if needed.

13 years ago* lisp/calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
Glenn Morris [Wed, 15 Sep 2010 02:34:39 +0000 (19:34 -0700)]
* lisp/calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)

13 years ago* subr.el (unintern): Declare the obarray arg mandatory.
Stefan Monnier [Tue, 14 Sep 2010 11:11:44 +0000 (13:11 +0200)]
* subr.el (unintern): Declare the obarray arg mandatory.
* emacs-lisp/byte-run.el (set-advertised-calling-convention):
Add `when' argument.  Update callers.

13 years agoDoc fixes related to diary-sort-entries.
Glenn Morris [Tue, 14 Sep 2010 08:02:28 +0000 (01:02 -0700)]
Doc fixes related to diary-sort-entries.

* lisp/calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
Doc fixes.

* doc/emacs/cal-xtra.texi (Fancy Diary Display): Emphasize that sort
should be the last hook item.

13 years agoTiny calendar.texi update.
Glenn Morris [Tue, 14 Sep 2010 07:34:23 +0000 (00:34 -0700)]
Tiny calendar.texi update.
* doc/emacs/calendar.texi (Appointments): Also updated when a diary
include file is saved.

13 years ago* lisp/calendar/appt.el (appt-check): Doc fix.
Glenn Morris [Tue, 14 Sep 2010 07:21:03 +0000 (00:21 -0700)]
* lisp/calendar/appt.el (appt-check): Doc fix.

13 years agoFix bug#6999.
Glenn Morris [Tue, 14 Sep 2010 07:15:06 +0000 (00:15 -0700)]
Fix bug#6999.

* lisp/calendar/diary-lib.el (diary-included-files): New variable.
(diary-list-entries): Maybe initialize diary-included-files.
(diary-include-other-diary-files): Append to diary-included-files.
* lisp/calendar/appt.el (appt-update-list): Also check the members of
diary-included-files.

13 years agosimple.el (line-move-visual): Do not truncate goal column to integer size.
David Reitter [Sun, 12 Sep 2010 17:46:57 +0000 (13:46 -0400)]
simple.el (line-move-visual): Do not truncate goal column to integer size.
(Bug#7020)

13 years agoFix bug 7013, only do send event if wanted state != current state.
Jan D [Sun, 12 Sep 2010 13:23:59 +0000 (15:23 +0200)]
Fix bug 7013, only do send event if wanted state != current state.

* xterm.c (get_current_vm_state): New function.
(do_ewmh_fullscreen): Call get_current_vm_state and compare with
want_fullscreen so set_wm_state calls are few (Bug#7013).
(x_handle_net_wm_state): Move code to get_current_vm_state and
call that function.

13 years agoUpdate name of <emacs-bugs-7626@cbane.org>
Stefan Monnier [Sun, 12 Sep 2010 12:29:25 +0000 (14:29 +0200)]
Update name of <emacs-bugs-7626@cbane.org>

13 years agoVarious updates for the Bugs section of the manual.
Glenn Morris [Sun, 12 Sep 2010 00:31:47 +0000 (17:31 -0700)]
Various updates for the Bugs section of the manual.

* doc/emacs/trouble.texi (Bugs): Update the section intro.
(Known Problems): New section.
(Checklist): Misc updates.  Prefer M-x report-emacs-bug.
(Sending Patches): Bug fixes are best as responses to existing bugs.

* doc/emacs/emacs.texi (Known Problems): Add menu entry for new section.

13 years ago* repeat.el (repeat): Allow repeating when the last event is a click.
Stefan Monnier [Sat, 11 Sep 2010 18:23:45 +0000 (20:23 +0200)]
* repeat.el (repeat): Allow repeating when the last event is a click.
Suggested by Drew Adams (bug#6256).

13 years ago* vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
Stefan Monnier [Sat, 11 Sep 2010 13:25:48 +0000 (15:25 +0200)]
* vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
Replace setting HGRCPATH to "" by some less invasive --config options.

13 years ago* lisp/font-lock.el (font-lock-beginning-of-syntax-function):
Stefan Monnier [Sat, 11 Sep 2010 13:00:19 +0000 (15:00 +0200)]
* lisp/font-lock.el (font-lock-beginning-of-syntax-function):
Mark as obsolete.

13 years ago* src/term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).
Anonymous [Sat, 11 Sep 2010 12:53:21 +0000 (14:53 +0200)]
* src/term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).

13 years ago* lisp/url/url-cache (url-store-in-cache): Make `buff' argument really optional.
Julien Danjou [Sat, 11 Sep 2010 01:55:55 +0000 (18:55 -0700)]
* lisp/url/url-cache (url-store-in-cache): Make `buff' argument really optional.

13 years agoClose bug#6211.
Glenn Morris [Fri, 10 Sep 2010 03:04:26 +0000 (20:04 -0700)]
Close bug#6211.
* lisp/menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
and tool-bar modes.  (Bug#6211)
(menu-bar-mode): Move setting of standard-value after the
minor-mode definition, otherwise it seems to have no effect.

13 years ago* lisp/url/url-cookie.el (url-cookie-expired-p): Tweak previous change.
Glenn Morris [Thu, 9 Sep 2010 05:38:43 +0000 (22:38 -0700)]
* lisp/url/url-cookie.el (url-cookie-expired-p): Tweak previous change.

13 years ago* lisp/url/url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
shawn boles [Thu, 9 Sep 2010 05:36:13 +0000 (22:36 -0700)]
* lisp/url/url-cookie.el (url-cookie-expired-p): Simplify and fix.  (Bug#6957)

13 years agoClose bug#6976.
Masatake YAMATO [Wed, 8 Sep 2010 02:45:12 +0000 (19:45 -0700)]
Close bug#6976.
* lisp/progmodes/antlr-mode.el (antlr-font-lock-additional-keywords): Fix typo.

13 years agocoding.c (encode_coding_iso_2022): Do not optimize for ASCII if we may use designatio...
Kenichi Handa [Wed, 8 Sep 2010 02:21:03 +0000 (11:21 +0900)]
coding.c (encode_coding_iso_2022): Do not optimize for ASCII if we may use designation or locking-shift.

13 years agomerge emacs-23
Kenichi Handa [Tue, 7 Sep 2010 11:22:15 +0000 (20:22 +0900)]
merge emacs-23

13 years agocoding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the...
Kenichi Handa [Tue, 7 Sep 2010 11:08:46 +0000 (20:08 +0900)]
coding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the source is multibyte.

13 years agoMerge whitespace.el from trunk
Chong Yidong [Mon, 6 Sep 2010 16:24:32 +0000 (12:24 -0400)]
Merge whitespace.el from trunk

13 years ago* doc/lispref/files.texi (Directory Names): Use \` rather than ^.
Alexander Klimov [Sun, 5 Sep 2010 22:03:56 +0000 (00:03 +0200)]
* doc/lispref/files.texi (Directory Names): Use \` rather than ^.
* lisp/files.el (directory-abbrev-alist): Use \` as default regexp.

13 years agoRegenerate configure
Andreas Schwab [Sun, 5 Sep 2010 10:17:26 +0000 (12:17 +0200)]
Regenerate configure

13 years ago* emacs-lisp/rx.el (rx-any): Don't explode ranges that end in - or ].
Stefan Monnier [Sun, 5 Sep 2010 09:44:55 +0000 (11:44 +0200)]
* emacs-lisp/rx.el (rx-any): Don't explode ranges that end in - or ].
(rx-any-condense-range): Explode 2-char ranges.

Fixes: debbugs:6984

13 years ago* dired.texi (Dired Enter): Minor doc fix (Bug#6982).
Chong Yidong [Sat, 4 Sep 2010 18:58:56 +0000 (14:58 -0400)]
* dired.texi (Dired Enter): Minor doc fix (Bug#6982).

13 years agoRevert last change.
Chong Yidong [Sat, 4 Sep 2010 18:36:24 +0000 (14:36 -0400)]
Revert last change.

13 years ago* frames.texi (Layout Parameters): Add cindex entries (Bug#6929).
Chong Yidong [Sat, 4 Sep 2010 18:21:48 +0000 (14:21 -0400)]
* frames.texi (Layout Parameters): Add cindex entries (Bug#6929).

13 years agoUpdate email of Roland Winkler <winkler@gnu.org>
Stefan Monnier [Thu, 2 Sep 2010 11:47:15 +0000 (13:47 +0200)]
Update email of Roland Winkler <winkler@gnu.org>

13 years ago* doc/emacs/misc.texi (Saving Emacs Sessions): Mention desktop-path. (Bug#6948)
Glenn Morris [Thu, 2 Sep 2010 05:41:23 +0000 (22:41 -0700)]
* doc/emacs/misc.texi (Saving Emacs Sessions): Mention desktop-path.  (Bug#6948)

13 years ago* desktop.el (desktop-path): Bump :version after 2009-09-15 change.
Glenn Morris [Thu, 2 Sep 2010 05:38:30 +0000 (22:38 -0700)]
* desktop.el (desktop-path): Bump :version after 2009-09-15 change.

13 years agoFix handling of 8-bit characters in a display table.
Kenichi Handa [Tue, 31 Aug 2010 07:49:21 +0000 (16:49 +0900)]
Fix handling of 8-bit characters in a display table.

13 years agomerge emacs-23
Kenichi Handa [Sun, 29 Aug 2010 05:22:52 +0000 (14:22 +0900)]
merge emacs-23

13 years agoterm.c (encode_terminal_code): Encode byte chars to the correspnding bytes.
Kenichi Handa [Sun, 29 Aug 2010 05:15:34 +0000 (14:15 +0900)]
term.c (encode_terminal_code): Encode byte chars to the correspnding bytes.

13 years ago* etc/ChangeLog: Whitespace.
Glenn Morris [Sat, 28 Aug 2010 20:01:36 +0000 (13:01 -0700)]
* etc/ChangeLog: Whitespace.

13 years ago* etc/ChangeLog: Mark tiny change.
Glenn Morris [Sat, 28 Aug 2010 19:59:18 +0000 (12:59 -0700)]
* etc/ChangeLog: Mark tiny change.

13 years agoquail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa [Sat, 28 Aug 2010 06:03:00 +0000 (15:03 +0900)]
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.

13 years agoSync with Tramp 2.1.19.
Michael Albinus [Thu, 26 Aug 2010 19:40:13 +0000 (21:40 +0200)]
Sync with Tramp 2.1.19.

* tramp.texi (Inline methods, Default Method): Mention
`tramp-inline-compress-start-size'.  Remove "kludgy" phrase.  Remove
remark about doubled "-t" argument.
(Auto-save and Backup): Remove reference to Emacs 21.
(Filename Syntax): Describe port numbers.
(Frequently Asked Questions): Adapt supported (X)Emacs versions.  Adapt
supported MS Windows versions.  Remove obsolete URL.  Recommend "sshx"
and "scpx" for echoing shells.  Use the $() syntax, texi2dvi reports
errors with the backquotes.
(External packages): File attributes cache flushing for asynchronous
processes.
(Traces and Profiles): Describe verbose level 9.

* trampver.texi: Update release number.

13 years agoSync with Tramp 2.1.19.
Michael Albinus [Thu, 26 Aug 2010 19:23:02 +0000 (21:23 +0200)]
Sync with Tramp 2.1.19.

* net/tramp-cmds.el (tramp-cleanup-all-connections)
(tramp-reporter-dump-variable, tramp-load-report-modules)
(tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
(tramp-bug): Recommend setting of `tramp-verbose' to 9.

* net/tramp-compat.el (top): Do not autoload
`tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
only when `start-file-process' is not bound.
(byte-compile-not-obsolete-vars): Define if not bound.
(tramp-compat-funcall): New defmacro.
(tramp-compat-line-beginning-position)
(tramp-compat-line-end-position)
(tramp-compat-temporary-file-directory)
(tramp-compat-make-temp-file, tramp-compat-file-attributes)
(tramp-compat-copy-file, tramp-compat-copy-directory)
(tramp-compat-delete-file, tramp-compat-delete-directory)
(tramp-compat-number-sequence, tramp-compat-process-running-p):
Use it.
(tramp-advice-file-expand-wildcards): Do not use
`tramp-handle-file-remote-p'.
(tramp-compat-make-temp-file): Simplify fallback implementation.
(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-compat-copy-tree): Remove function.
(tramp-compat-delete-file): New defun.
(tramp-compat-delete-directory): Provide implementation for older
Emacsen.
(tramp-compat-file-attributes): Handle only
`wrong-number-of-arguments' error.

* net/tramp-fish.el (tramp-fish-handle-copy-file): Add
PRESERVE_SELINUX_CONTEXT.
(tramp-fish-handle-delete-file): Add TRASH arg.
(tramp-fish-handle-directory-files-and-attributes):
Do not use `tramp-fish-handle-file-attributes.
(tramp-fish-handle-file-local-copy)
(tramp-fish-handle-insert-file-contents)
(tramp-fish-maybe-open-connection): Use `with-progress-reporter'.

* net/tramp-gvfs.el (top): Require url-util.
(tramp-gvfs-mount-point): Remove.
(tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
and `set-file-selinux-context'.
(tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
(tramp-gvfs-handle-file-selinux-context)
(tramp-gvfs-handle-set-file-selinux-context): New defuns.
(with-tramp-dbus-call-method): Format trace message.
(tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
(tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
Implement backup call, when operation on local files fails.  Use
progress reporter.  Flush properties of changed files.
(tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
`tramp-compat-delete-file'.
(tramp-gvfs-handle-expand-file-name): Expand "~/".
(tramp-gvfs-handle-make-directory): Make more traces.
(tramp-gvfs-handle-write-region): Protect deleting tmpfile.
(tramp-gvfs-url-file-name): Hexify file name in url.
(tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
into account for the resulting file name.
(tramp-gvfs-handler-askquestion): Preserve current message, in
order to let progress reporter continue afterwards.  (Bug#6257)
Return dummy mountpoint, when the answer is "no".  See
`tramp-gvfs-maybe-open-connection'.
(tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p): Test also for new mountspec
attribute "default_location".  Set "prefix" property.  Handle
default-location.
(tramp-gvfs-mount-spec): Return both prefix and mountspec.
(tramp-gvfs-maybe-open-connection): Test, whether mountpoint
exists.  Raise an error, if not (due to a corresponding answer
"no" in interactive questions, for example). Use
`tramp-compat-funcall'.

* net/tramp-imap.el (top): Autoload `epg-make-context'.
(tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-imap-do-copy-or-rename-file)
(tramp-imap-handle-insert-file-contents)
(tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
(tramp-imap-handle-delete-file): Add TRASH arg.

* net/tramp-smb.el (tramp-smb-handle-copy-file): Add
PRESERVE-SELINUX-CONTEXT.
(tramp-smb-handle-copy-file)
(tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
(tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
Use `with-progress-reporter'.
(tramp-smb-handle-delete-file): Add TRASH arg.

* net/tramp.el (tramp-methods): Move hostname to the end in all
ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
appropriate.
(tramp-verbose): Describe verbose level 9.
(tramp-completion-function-alist)
(tramp-file-name-regexp, tramp-chunksize)
(tramp-local-coding-commands, tramp-remote-coding-commands)
(with-connection-property, tramp-completion-mode-p)
(tramp-action-process-alive, tramp-action-out-of-band)
(tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
(tramp-exists-file-name-handler): Fix docstring.
(tramp-remote-process-environment): Use `format' instead of
`concat'.  Protect version string by apostroph.
(tramp-shell-prompt-pattern): Do not use a shy group in case of
XEmacs.
(tramp-file-name-regexp-unified)
(tramp-completion-file-name-regexp-unified): On W32 systems, do
not regard the volume letter as remote filename.  (Bug#5447)
(tramp-perl-file-attributes)
(tramp-perl-directory-files-and-attributes): Don't pass "$3".
(tramp-vc-registered-read-file-names): Read input as
here-document, otherwise the command could exceed maximum length
of command line.
(tramp-file-name-handler-alist): Add `file-selinux-context' and
`set-file-selinux-context'.
(tramp-debug-message): Add `tramp-compat-funcall' to ignored
backtrace functions.
(tramp-error-with-buffer): Don't show the connection buffer when
we are in completion mode.
(tramp-progress-reporter-update, tramp-remote-selinux-p)
(tramp-handle-file-selinux-context)
(tramp-handle-set-file-selinux-context, tramp-process-sentinel)
(tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
New defuns.
(with-progress-reporter): New defmacro.
(tramp-debug-outline-regexp): New defconst.
(top, tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-handle-dired-compress-file, tramp-handle-shell-command)
(tramp-completion-mode-p, tramp-check-for-regexp)
(tramp-open-connection-setup-interactive-shell)
(tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
(tramp-time-diff, tramp-coding-system-change-eol-conversion)
(tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
Use `tramp-compat-funcall'.
(tramp-handle-make-symbolic-link): Flush file properties.
(tramp-handle-load, tramp-handle-file-local-copy)
(tramp-handle-insert-file-contents, tramp-handle-write-region)
(tramp-handle-vc-registered, tramp-maybe-send-script)
(tramp-find-shell): Use `with-progress-reporter'.
(tramp-do-file-attributes-with-stat): Add space in format string,
in order to work around a bug in pdksh.  Reported by Gilles Pion
<gpion@lfdj.com>.
(tramp-handle-verify-visited-file-modtime): Do not send a command
when the connection is not established.
(tramp-handle-set-file-times): Simplify the check for utc.
(tramp-handle-directory-files-and-attributes)
(tramp-get-remote-path): Use `copy-tree'.
(tramp-completion-handle-file-name-all-completions): Ensure, that
non remote files are still checked.  Oops.
(tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
PRESERVE-SELINUX-CONTEXT.
(tramp-do-copy-or-rename-file): Add progress reporter.
(tramp-do-copy-or-rename-file-directly): Do not use
`tramp-handle-file-remote-p'.
(tramp-do-copy-or-rename-file-out-of-band):
Use `tramp-compat-delete-directory'.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-compute-multi-hops, tramp-maybe-open-connection):
Use `format-spec-make'.
(tramp-handle-delete-file): Add TRASH arg.
(tramp-handle-dired-uncache): Flush directory cache, not only file
cache.
(tramp-handle-expand-file-name)
(tramp-completion-handle-file-name-all-completions)
(tramp-completion-handle-file-name-completion): Use
`tramp-connectable-p'.
(tramp-handle-start-file-process): Set connection property "vec".
Use it, in order to invalidate file caches.  Check only for
`remote-tty' process property.
Implement tty setting.  (Bug#4604, Bug#6360)
(tramp-file-name-for-operation): Add `call-process-region' and
`set-file-selinux-context'.
(tramp-find-foreign-file-name-handler)
(tramp-advice-make-auto-save-file-name)
(tramp-set-auto-save-file-modes): Remove superfluous check for
`stringp'.  This is done inside `tramp-tramp-file-p'.
(tramp-file-name-handler): Trace 'quit.  Catch the error for some
operations when we are in completion mode.  This gives the user
the chance to correct the file name in the minibuffer.
(tramp-completion-mode-p): Use `non-essential'.
(tramp-handle-file-name-all-completions): Backward/ XEmacs
compatibility: Use `completion-ignore-case' if
`read-file-name-completion-ignore-case' does not exist.
(tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
`tramp-open-shell'.
(tramp-action-password): Hide password prompt before next run.
(tramp-process-actions): Widen connection buffer for the trace.
(tramp-open-connection-setup-interactive-shell): Set `remote-tty'
process property.  Trace stty settings if `tramp-verbose' >= 9.
Apply workaround for IRIX64 bug.  Move argument of last
`tramp-send-command' where it belongs to.
(tramp-maybe-open-connection): Use `async-args' and `gw-args' in
front of `login-args'.
(tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
on "/dev/null" instead of "/".
(tramp-get-ls-command-with-dired): Make test for "--dired"
stronger.
(tramp-set-auto-save-file-modes): Adapt version check.
(tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
(tramp-handle-process-file): Call the program in a subshell, in
order to preserve working directory.
(tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
`tramp-remote-sh' from `tramp-methods'.
(tramp-get-ls-command): Make test for "--color=never" stronger.
(tramp-check-for-regexp): Use (forward-line 1).

* net/trampver.el: Update release number.

* net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
empty argument to gvfs-copy.

* net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
handle new TRASH arg of `delete-file'.

* net/tramp.el (tramp-handle-insert-directory): Don't use
`forward-word', its default syntax could be changed.

Implement compression for inline methods.

* net/tramp.el (tramp-inline-compress-start-size): New defcustom.
(tramp-copy-size-limit): Allow also nil.
(tramp-inline-compress-commands): New defconst.
(tramp-find-inline-compress, tramp-get-inline-compress)
(tramp-get-inline-coding): New defuns.
(tramp-get-remote-coding, tramp-get-local-coding): Remove,
replaced by `tramp-get-inline-coding'.
(tramp-handle-file-local-copy, tramp-handle-write-region)
(tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.

Detect ssh 'ControlMaster' argument automatically in some cases.

* net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
(tramp-default-method): Use it.

* net/tramp.el (tramp-file-name-for-operation):
Add file-selinux-context.

13 years agoplay/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
Å\81ukasz Stelmach [Thu, 26 Aug 2010 15:33:52 +0000 (17:33 +0200)]
play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).

13 years ago* emacs.1: Mention "maximized" value for the "fullscreen" X resource.
Chong Yidong [Thu, 26 Aug 2010 15:14:55 +0000 (11:14 -0400)]
* emacs.1: Mention "maximized" value for the "fullscreen" X resource.

13 years ago* simple.el (beginning-of-buffer, end-of-buffer): Doc fix (Bug#6907).
Chong Yidong [Thu, 26 Aug 2010 15:09:45 +0000 (11:09 -0400)]
* simple.el (beginning-of-buffer, end-of-buffer): Doc fix (Bug#6907).

13 years ago* progmodes/python.el (python-block-pairs): Allow use of "finally" with "else" (Bug...
Chris Foote [Mon, 23 Aug 2010 00:44:55 +0000 (20:44 -0400)]
* progmodes/python.el (python-block-pairs): Allow use of "finally" with "else" (Bug#3991).