From: Chong Yidong Date: Thu, 23 Sep 2010 19:00:31 +0000 (-0400) Subject: Merge changes from emacs-23 branch X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~47^2~42^2~62^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=266a86bd7fedf743225c2497956b73ecb2245196;p=emacs.git Merge changes from emacs-23 branch --- 266a86bd7fedf743225c2497956b73ecb2245196 diff --cc etc/ChangeLog index 84754efb148,7bbc06fa4af..5b78767cfda --- a/etc/ChangeLog +++ b/etc/ChangeLog @@@ -1,24 -1,7 +1,28 @@@ + 2010-09-21 Eric Ludlam + + * srecode/java.srt: Make NAME be a prompt. + +2010-09-13 Michael Albinus + + * NEWS: Some Tramp methods are discontinued. + +2010-09-11 Glenn Morris + + * emacs.bash, emacs.csh, ms-kermit: Remove obsolete files (use + emacsclient -a instead of the first two). + +2010-09-10 Lars Magne Ingebrigtsen + + * NEWS: Mention the new libxml2 functions. + +2010-08-25 Kenichi Handa + + * HELLO: Change designation sequences for Arabic text. + +2010-08-23 Michael Albinus + + * NEWS: dbus.el supports alternative buses. + 2010-08-22 Alex Harsanyi (tiny change) * emacs3.py: Import imp module and use it (Bug#5756). diff --cc etc/NEWS.23 index e63767d891c,00000000000..bee89d368b5 mode 100644,000000..100644 --- a/etc/NEWS.23 +++ b/etc/NEWS.23 @@@ -1,2430 -1,0 +1,2432 @@@ +GNU Emacs NEWS -- history of user-visible changes. + +Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +See the end of the file for license conditions. + +Please send Emacs bug reports to bug-gnu-emacs@gnu.org. +If possible, use M-x report-emacs-bug. + +This file is about changes in Emacs version 23. + +See files NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17 +for changes in older Emacs versions. + +You can narrow news to a specific version by calling `view-emacs-news' +with a prefix argument or by typing C-u C-h C-n. + + +* Installation Changes in Emacs 23.3 + +* Startup Changes in Emacs 23.3 + +* Changes in Emacs 23.3 + + +* Editing Changes in Emacs 23.3 + + +* Changes in Specialized Modes and Packages in Emacs 23.3 + +--- +** The appt-add command takes an optional argument for the warning time. +This can be used in place of the default appt-message-warning-time. + + +* New Modes and Packages in Emacs 23.3 + + +* Incompatible Lisp Changes in Emacs 23.3 + + +* Lisp changes in Emacs 23.3 + ++** `e' and `pi' are now called `float-e' and `float-pi'. ++ The old names are obsolete. +** The use of unintern without an obarray arg is declared obsolete. + +** New function byte-to-string, like char-to-string but for bytes. + + +* Changes in Emacs 23.3 on non-free operating systems + + +* Installation Changes in Emacs 23.2 + +** New configure options for Emacs developers. +These are not new features; only the configure flags are new. + +*** --enable-profiling builds Emacs with profiling enabled. +This might not work on all platforms. + +*** --enable-checking[=OPTIONS] builds emacs with extra runtime checks. + +** `make install' now consistently ignores umask, creating a +world-readable install. + +** Emacs compiles with Gconf support, if it is detected. +Use the configure option --without-gconf to disable this. +This is used by the `font-use-system-font' feature (see below). + +* Startup Changes in Emacs 23.2 + +** The command-line option -Q (--quick) also inhibits loading X resources. +However, if Emacs is compiled with the Lucid or Motif toolkit, X +resource settings for the graphical widgets are still applied. +On Windows, the -Q option causes Emacs to ignore Registry settings, +but environment variables set on the Registry are still honored. + +*** The new variable `inhibit-x-resources' shows whether X resources +were loaded. + +** New command-line option -mm (--maximized) maximizes the initial frame. + +* Changes in Emacs 23.2 + +** The maximum size of buffers (and the largest fixnum) is doubled. +On typical 32bit systems, buffers can now be up to 512MB. + +** The default value of `trash-directory' is now nil. +This means that `move-file-to-trash' trashes files according to +freedesktop.org specifications, the same method used by the Gnome, +KDE, and XFCE desktops. (This change has no effect on Windows, which +uses `system-move-file-to-trash' for trashing.) + +** The pointer now becomes invisible when typing. +Customize `make-pointer-invisible' to disable this feature. + +** Font changes + +*** Emacs can use the system default monospaced font in Gnome. +To enable this feature, set `font-use-system-font' to non-nil (it is +nil by default). If the system default changes, Emacs changes also. +This feature requires Gconf support, which is automatically included +at compile-time if configure detects the gconf libraries (you can +disable this with the configure option --without-gconf). + +*** On X11, Emacs reacts to Xft changes made by configuration tools, +via the XSETTINGS mechanism. This includes antialias, hinting, +hintstyle, RGBA, DPI and lcdfilter changes. + +** Killing a buffer with a running process now asks for confirmation. +To remove this query, remove `process-kill-buffer-query-function' from +`kill-buffer-query-functions', or set the appropriate process flag +with `set-process-query-on-exit-flag'. + +** File-local variable changes + +*** Specifying a minor mode as a local variables enables that mode, +unconditionally. The previous behavior, toggling the mode, was +neither reliable nor generally desirable. + +*** There are new commands for adding and removing file-local variables: +`add-file-local-variable', `delete-file-local-variable', +`add-file-local-variable-prop-line', and +`delete-file-local-variable-prop-line'. + +*** There are new commands for adding and removing directory-local variables, +and copying them to and from file-local variable lists: +`add-dir-local-variable', `delete-dir-local-variable', +`copy-dir-locals-to-file-locals', +`copy-dir-locals-to-file-locals-prop-line' and +`copy-file-locals-to-dir-locals'. + +** Internationalization changes + +*** Unibyte sessions are now considered obsolete. +This refers to the EMACS_UNIBYTE environment variable as well as the +--unibyte, --multibyte, --no-multibyte, and --no-unibyte command line +arguments. Customizing enable-multibyte-characters and setting +default-enable-multibyte-characters are also deprecated. + +*** New coding system `utf-8-hfs'. +This is suitable for default-file-name-coding-system on Mac OS X; see +international/ucs-normalize.el. + +** Function arguments in *Help* buffers are now shown in upper-case. +Customize `help-downcase-arguments' to t to show them in lower-case. + +** New command `async-shell-command', bound globally to `M-&'. +This executes the command asynchronously, similar to calling `M-!' and +manually adding an ampersand to the end of the command. With `M-&', +you don't need the ampersand. The output appears in the buffer +`*Async Shell Command*'. + +** When running in a new enough xterm (newer than version 242), Emacs +asks xterm what the background color is and it sets up faces +accordingly for a dark background if needed (the current default is to +consider the background light). + + +* Editing Changes in Emacs 23.2 + +** Kill-ring and selection changes + +*** If `select-active-regions' is t, any active region automatically +becomes the primary selection (for interaction with other window +applications). If you enable this, you might want to bind +`mouse-yank-primary' to Mouse-2. + +*** When `save-interprogram-paste-before-kill' is non-nil, the kill +commands save the interprogram-paste selection into the kill ring +before doing anything else. This avoids losing the selection. + +*** When `kill-do-not-save-duplicates' is non-nil, identical +subsequent kills are not duplicated in the `kill-ring'. + +** Completion changes + +*** The new command `completion-at-point' provides mode-sensitive completion. + +*** tab-always-indent set to `complete' lets TAB do completion as well. + +*** The new completion-style `initials' is available. +For instance, this can complete M-x lch to list-command-history. + +*** The new variable `completions-format' determines how completions +are displayed in the *Completions* buffer. If you set it to +`vertical', completions are sorted vertically in columns. + +** The default value of `blink-matching-paren-distance' is increased. + +** M-n provides more default values in the minibuffer for commands +that read file names. These include the file name at point (when ffap +is loaded without ffap-bindings), the file name on the current line +(in Dired buffers), and the directory names of adjacent Dired windows +(for Dired commands that operate on several directories, such as copy, +rename, or diff). + +** M-r is bound to the new `move-to-window-line-top-bottom'. +This moves point to the window center, top and bottom on successive +invocations, in the same spirit as the C-l (recenter-top-bottom) +command. + +** The new variable `recenter-positions' determines the default +cycling order of C-l (`recenter-top-bottom'). + +** The abbrevs file is now a file named abbrev_defs in +user-emacs-directory; but the old location, ~/.abbrev_defs, is used if +that file exists. + + +* Changes in Specialized Modes and Packages in Emacs 23.2 + +** The bookmark menu has a narrowing search via bookmark-bmenu-search. + +** Calc + +*** The Calc settings file is now a file named calc.el in +user-emacs-directory; but the old location, ~/.calc.el, is used if +that file exists. + +*** Graphing commands (`g f' etc.) now work on MS-Windows, if you have +the native Windows port of Gnuplot version 3.8 or later installed. + +** Calendar and diary + +*** Fancy diary display is now the default. +If you prefer the simple display, customize `diary-display-function'. + +*** The diary's fancy display now enables view-mode. + +*** The command `calendar-current-date' accepts an optional argument +giving an offset from today. + +** Desktop + +*** The default value for `desktop-buffers-not-to-save' is nil. +This means Desktop will try restoring all buffers, when you restart +your Emacs session. Also, `desktop-buffers-not-to-save' is only +effective for buffers that have no associated file. If you want to +exempt buffers that do correspond to files, customize the value of +`desktop-files-not-to-save' instead. + +** Dired + +*** The new variable `dired-auto-revert-buffer', if non-nil, causes +Dired buffers to be reverted automatically on revisiting them. + +** DocView + +*** When `doc-view-continuous' is non-nil, scrolling a line +on the page edge advances to the next/previous page. + +** Elint + +*** Elint now uses compilation-mode. + +*** Elint can now scan individual files and whole directories, +and can be run in batch mode. + +*** Elint does a more thorough initialization, and recognizes more built-in +functions and variables. Customize `elint-scan-preloaded' if you want +to sacrifice some accuracy for a faster startup. + +*** Elint attempts some basic understanding of featurep and (f)boundp tests. + +*** Customize `elint-ignored-warnings' to suppress some warnings. + +** GDB-UI + +*** Toolbar functionality for reverse debugging. Display of STL +collections as watch expressions. These features require GDB 7.0 or later. + +** Grep + +*** A new command `zrgrep' searches recursively in gzipped files. + +** Info + +*** The new command `Info-virtual-index' bound to "I" displays a menu of +matched topics found in the index. + +*** The new command `info-finder' replaces finder.el with a virtual Info +manual that generates an Info file which gives the same information +through a menu structure. + +** LaTeX mode now provides completion (via completion-at-point). + +** Message mode is now the default mode for composing mail. + +The default for `mail-user-agent' is now message-user-agent, so the +C-x m (`compose-mail') command uses Message mode instead of Mail mode. + +Message mode has been included in Emacs, as part of the Gnus package, +for several years. It provides several features that are absent in +Mail mode, such as MIME handling. + +*** If the user has not customized mail-user-agent, `compose-mail' +checks for Mail mode customizations, and issues a warning if these +customizations are found. This alerts users who may otherwise be +unaware that their mail configuration has changed. + +To disable this check, set compose-mail-user-agent-warnings to nil. + +** The default value of mail-interactive is t, since Emacs 23.1. +(This was not announced at the time.) It means that when sending mail, +Emacs will wait for the process sending mail to return. If you +experience delays when sending mail, you may wish to set this to nil. + +** nXML mode is now the default for editing XML files. + +** pcomplete provides a new command `pcomplete-std-completion' which +is similar to `pcomplete' but using the standard completion UI code. + +** Shell (and other comint modes) + +*** M-s is no longer bound to `comint-next-matching-input'. + +*** M-r is now bound to `comint-history-isearch-backward-regexp'. +This starts an incremental search of the comint/shell input history. + +*** ansi-color is now enabled by default in Shell mode. +To disable it, set ansi-color-for-comint-mode to nil. + +** Tramp + +*** New connection methods "rsyncc", "imap" and "imaps". +On systems which support GVFS-Fuse, Tramp offers also the new +connection methods "dav", "davs", "obex" and "synce". + +** VC and related modes + +*** When using C-x v v or C-x v i on a unregistered file that is in a +directory not controlled by any VCS, ask the user what VC backend to +use to create a repository, create a new repository and register the +file. + +*** New command `vc-root-print-log', bound to `C-x v L'. +This displays a `*vc-change-log*' buffer showing the history of the +version-controlled directory tree as a whole. + +*** New command `vc-root-diff', bound to `C-x v D'. +This is similar to `vc-diff', but compares the entire directory tree +of the current VC directory with its working revision. + +*** `C-x v l' and `C-x v L' do not show the full log by default. +The number of entries shown can be chosen interactively with a prefix +argument, or by customizing vc-log-show-limit. The `*vc-change-log*' +buffer now contains buttons at the end of the buffer, which can be +used to increase the number of entries shown. RCS, SCCS, and CVS do +not support this feature. + +*** vc-annotate supports annotations through file copies and renames, +it displays the old names for the files and it can show logs/diffs for +the corresponding lines. Currently only Git and Mercurial take +advantage of this feature. + +*** The log command in vc-annotate can display a single log entry +instead of redisplaying the full log. The RCS, CVS and SCCS VC +backends do not support this. + +*** When a file is not found, VC will not try to check it out of RCS anymore. + +*** Diff and log operations can be used from Dired buffers. + +*** vc-git changes + +**** The short log format for git makes use of the graph display, +so it's not supported on git versions earlier than 1.5.6. + +**** vc-dir uses the --relative option of git, and so requires at least +git version 1.5.5. + +**** Support for operating with stashes has been added to vc-dir: +the stash list is displayed in the *vc-dir* header, stashes can be +created, removed, applied and their content displayed. + +*** vc-bzr supports operating with shelves: the shelve list is +displayed in the *vc-dir* header, shelves can be created, removed and applied. + +*** log-edit-strip-single-file-name controls whether or not single filenames +are stripped when copying text from the ChangeLog to the *VC-Log* buffer. + +** Miscellaneous + +*** Interactively `multi-isearch-buffers' and `multi-isearch-buffers-regexp' +read buffer names to search, one by one, ended with RET. With a prefix +argument, they ask for a regexp, and search in buffers whose names match +the specified regexp. Interactively `multi-isearch-files' and +`multi-isearch-files-regexp' read file names to search, one by one, +ended with RET. With a prefix argument, they ask for a wildcard, and +search in file buffers whose file names match the specified wildcard. + +*** Autorevert Tail mode now works also for remote files. + +*** The new eshell built-in commands `su' and `sudo' support Tramp. +Thus, they change `default-directory' to reflect the new user id, and +let commands run under that user's permissions. This works even when +`default-directory' is already remote. Calling the external commands +is possible via `*su' or `*sudo', respectively. + +** Obsolete packages + +*** sym-comp.el is now obsolete, superseded by completion-at-point. + +*** lucid.el and levents.el are now obsolete. + + +* New Modes and Packages in Emacs 23.2 + +** CEDET (the Collection of Emacs Development Tools) is now in Emacs. +This is a collection of packages to aid with using Emacs as an IDE +(integrated development environment): + +*** The Semantic package allows the use of parsers to intelligently +edit and navigate source code. Parsers for C/C++, Java, Javascript, +and several other languages are included by default, and Semantic can +also interface with external tools such as GNU Global and GNU Idutils. + +To enable Semantic, use the global minor mode `semantic-mode'. +See the Semantic manual for details. + +*** EDE (Emacs Development Environment) is a package for managing code +projects, including features such as automatic Makefile generation. + +To enable EDE, use the minor mode `global-ede-mode'. +See the EDE manual for details. + +*** SRecode is a library for recoding Semantic tags back into source +code. It is currently used by some parts of Semantic and EDE; in the +future, it may be used for code generation features. + +*** The EIEIO library implements a subset of the Common Lisp Object +System (CLOS). It is used by the other CEDET packages. + +** mpc.el is a front end for the Music Player Daemon. Run it with M-x mpc. + +** htmlfontify.el turns a fontified Emacs buffer into an HTML page. + +** js.el is a new major mode for JavaScript files. + +** imap-hash.el is a new library to address IMAP mailboxes as hashtables. + + +* Incompatible Lisp Changes in Emacs 23.2 + +** The Lisp reader turns integers that are too large/small into floats. +For instance, on machines where `536870911' is the largest integer, +reading `536870912' gives the floating-point object `536870912.0'. + +This change only concerns the Lisp reader; it does not affect how +actual integer objects overflow. + +** Several obsolete functions removed. +The functions have been obsolete since Emacs 19, and are unlikely to +be in use: + + time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy + time-stamp-dd-mon-yy, time-stamp-yy/mm/dd, time-stamp-yyyy/mm/dd, + time-stamp-yyyy-mm-dd, time-stamp-yymmdd, time-stamp-hh:mm:ss, + time-stamp-hhmm, baud-rate + +** Support for generating Emacs 18 compatible bytecode (by setting +the variable `byte-compile-compatibility') has been removed. + +** In image-mode.el `image-mode-maybe' is obsolete. +Instead, you can either use `image-mode' (which displays an image file +as the actual image initially), or `image-mode-as-text' (when you want +to display an image file as text initially). `image-mode-as-text' is a +combination of a non-image mode from `auto-mode-alist' (or Fundamental +mode) and `image-minor-mode'. `image-minor-mode' provides a `C-c C-c' +key binding to toggle image display. +`image-toggle-display-text' removes image properties. +`image-toggle-display-image' adds image properties. +`image-toggle-display' toggles between `image-mode-as-text' and `image-mode'. + + +* Lisp changes in Emacs 23.2 + +** All the default-FOO variables that hold the default value of the FOO +variable, are now declared obsolete. + +** read-key is a function halfway between read-event and read-key-sequence. +It reads a single key, but obeys input and escape sequence decoding. + +** Frame parameter changes + +*** You can give the `fullscreen' frame parameter the value `maximized'. +This maximizes the frame. + +*** The new frame parameter `sticky' makes Emacs frames sticky in +virtual desktops. + +** Completion changes + +*** completion-base-size is obsoleted by completion-base-position. +This change causes a few backward incompatibilities, mostly with +choose-completion-string-functions where the `mini-p' argument has +been replaced by a `base-position' argument, and where the `base-size' +argument is now always nil. + +*** New function `completion-in-region' to use the standard completion +facilities on a particular region of text. + +*** The 4th arg to all-completions (aka hide-spaces) is declared obsolete. + +*** completion-annotate-function specifies how to compute annotations +for completions displayed in *Completions*. + +** Minibuffer changes + +*** read-file-name-predicate is obsolete. It was used to pass the predicate +to read-file-name-internal because read-file-name-internal abused its `pred' +argument to pass the current directory, but this hack is not needed +any more. + +** Changes to file-manipulation functions + +*** `delete-directory' has an optional parameter RECURSIVE. + +*** New function `copy-directory', which copies a directory recursively. + +** called-interactively-p now takes one argument and replaces interactive-p +which is now marked obsolete. + +** New function set-advertised-calling-convention makes it possible +to obsolete arguments as well as make some arguments mandatory. + +** You can control which binding is preferentially shown in menus and +docstrings by adding a `:advertised-binding' property to the corresponding +command's symbol. That property can hold a single binding or a list +of bindings. + +** Network and process changes + +*** start-process-shell-command and start-file-process-shell-command +now only take a single `command' argument. + +*** The new variable `process-file-side-effects' should be set to nil +if a `process-file' call does not change a remote file. This allows +file name handlers such as Tramp to optimizations. + +*** make-network-process can now also create `seqpacket' Unix sockets. + +** Loading changes + +*** eval-next-after-load is obsolete. + +*** New hook `after-load-functions' run after loading an Elisp file. + +** Byte compilation changes + +*** Changing the file-names generated by byte-compilation by redefining +the function `byte-compile-dest-file' before loading bytecomp.el is obsolete. +Instead, customize byte-compile-dest-file-function. + +*** `byte-compile-warnings' has new members, `constants' and `suspicious'. + +** New macro with-silent-modifications to tweak text properties without +affecting the buffer's modification state. + +** Hash tables have a new printed representation that is readable. +The feature `hashtable-print-readable' identifies this new +functionality. + +** New functions for performing Unicode normalization: +ucs-normalize-NFD-region, ucs-normalize-NFD-string, +ucs-normalize-NFC-region, ucs-normalize-NFC-string, +ucs-normalize-NFKD-region, ucs-normalize-NFKD-string, +ucs-normalize-NFKC-region, ucs-normalize-NFKC-string, +ucs-normalize-HFS-NFD-region, ucs-normalize-HFS-NFD-string, +ucs-normalize-HFS-NFC-region, ucs-normalize-HFS-NFC-string. + +** Face aliases can now be marked as obsolete, using the macro +`define-obsolete-face-alias'. + +** New function `window-full-height-p', analogous to the full-width version. + + +* Changes in Emacs 23.2 on non-free operating systems + +** On MS-Windows, `display-time' now displays the system load average +as well as the time, as it does on GNU and Unix. + + +* Installation Changes in Emacs 23.1 + +** The default X toolkit is now Gtk+, rather than Lucid. +The configure option `--with-gtk' has been removed. Gtk is now the +default toolkit, but you can use --with-x-toolkit=gtk if necessary. + +** New font code. +Fonts are handled by new code capable of dealing with multiple font +backends. This uses the freetype and fontconfig libraries. + +*** Emacs now accepts font names supplied in the fontconfig format +(e.g. "monospace-12:bold") and GTK format (e.g. "Monospace Bold 12"). + +*** Added support for local fonts (fonts installed on the machine +where Emacs is running). + +*** Added support for the Xft library for antialiasing. + +*** Added support for the otf library for complex text layout by +OpenType fonts. + +*** Added support for the m17n library for text shaping. + +** Changes to image support + +*** configure now checks for libgif before libungif when searching for +a GIF library. + +*** Emacs now supports the SVG image format through librsvg2. + +*** Emacs now supports multi-page TIFF images. + +** New NeXTSTEP-based port. +This provides support for GNUstep (via the GNUstep libraries) and Mac +OS X (via the Cocoa libraries). + +Specify --with-ns to configure for this. By default, a self-contained +app will be built (containing all lisp). To install/share lisp with +other emacsen (e.g. X11 build) use --disable-ns-self-contained. See +nextstep/README and nextstep/INSTALL in the Emacs source directory. + +** Mac OS X is no longer supported via Carbon. +Use the NeXTSTEP port, described above. + +** The new configuration option "--with-dbus" enables D-Bus language +bindings for Emacs. + +** Support for many obsolete platforms has been removed. +See the list at the end of etc/MACHINES for details. + +*** Support for systems without alloca has been removed. + +*** Support for Sun windows has been removed. + +*** The `emacstool' utility has been removed. + +** The following platforms will be removed in a future Emacs version: +If you are still using Emacs on one of these platforms, please email +emacs-devel@gnu.org to inform the Emacs developers. + +*** Old GNU/Linux systems based on libc version 5. + +*** Old FreeBSD, NetBSD, and OpenBSD systems based on the COFF +executable format. + +*** Solaris versions 2.6 and below. + +*** Solaris on IBM RS6000 machines. + +*** UNIX System V (the original SysV, not later platforms based on it). + +*** Unixware on non-x86 machines. + +*** Platforms not supporting shared libraries (i.e., requiring the +NO_SHARED_LIBS compilation flag). + +** The configure options `--with-gcc', `--without-gcc' have been removed. +Configure will use gcc by default. Set the CC environment variable if +you need control over which C compiler is used. + +** The refcards are now shipped as PDF files. + +** The manuals are now licensed under the GNU Free Documentation License v1.3, +or any later version. + +** Emacs 23 comes with a new set of default icons. +Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png. +The Emacs 22 icon is available as `emacs22.png' in the same location. + +* Changes in Emacs 23.1 + +** Improved X Window System support + +*** Emacs now supports using both X displays and ttys in one session. +With an Emacs server active (M-x server-start), `emacsclient -t' +creates a tty frame connected to the running emacs server. You can +use any number of different ttys. `emacsclient -c' creates a new X11 +frame on the current $DISPLAY (or a tty frame if $DISPLAY is not set). +There may be problems if a display exits unexpectedly and Emacs is compiled +with Gtk+, see etc/PROBLEMS. + +You can test for the presence of this feature in your Lisp code by +testing for the `multi-tty' feature. + +*** Emacs starts in the background, as a daemon, when given the +--daemon command line argument. It disconnects from the terminal and +starts the server. Clients can connect and create graphical or +terminal frames using emacsclient. + +**** emacsclient starts emacs in daemon mode and connects to it when +--alternate-editor="" is used (or when the evironment variable +ALTERNATE_EDITOR is set to "") and emacsclient cannot connect to an +emacs server. + +*** The new command close-display-connection closes a connection to a +remote display. There are some bugs for Gtk+. See etc/PROBLEMS. + +*** Emacs now supports the XEmbed specification. +You can embed Emacs in another application on X11. The new command line +option --parent-id is used to pass the parent window id to Emacs. See +http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html +for details about XEmbed. + +*** Emacs can now set the frame opacity. +The opacity of a frame can be controlled by setting the `alpha' frame +parameter. This only takes effect on a compositing window manager for +the X Window System, such as Compiz, Beryl and Compiz Fusion, on Mac +OS X, or on Windows 2000 and later versions of Windows. + +The alpha parameter should be an integer between 0 (transparent) and +100 (opaque), or a float number between 0.0 and 1.0. It can also be a +cons cell (ACTIVE . INACTIVE), where ACTIVE is the opacity of an +active frame and INACTIVE is the opacity of non-active frames. + +The variable `frame-alpha-lower-limit' defines a lower bound for the +opacity; the default is 20. + +** Internationalization changes + +*** The Emacs character set is now a superset of Unicode. +(It has about four times the code space, which should be plenty). + +The internal encoding used for buffers and strings is now +Unicode-based and called `utf-8-emacs' (`emacs-internal' is an alias +for this). This encoding is backward-compatible with Unicode's UTF-8 +encoding. The internal encoding previously used by Emacs, +`emacs-mule', is still available for reading and writing files. + +During byte-compilation, Emacs 23 uses `utf-8-emacs' to write files. +As a result, byte-compiled files containing non-ASCII characters can't +be read by earlier versions of Emacs. Files compiled by Emacs 20, 21, +or 22 are loaded correctly as `emacs-mule' (whether or not they +contain multibyte characters). This takes somewhat more time, so it +may be worth recompiling existing .elc files which don't need to be +shared with older Emacsen. + +*** There are new coding systems/aliases; see M-x list-coding-systems. + +*** There is a new charset implementation with many new charsets. +See M-x list-character-sets. New charsets can be defined conveniently +as tables of unicodes. + +*** There are new language environments for Chinese-GBK, +Chinese-GB18030, Khmer, Bengali, Punjabi, Gujarati, Oriya, Telugu, +Sinhala, and TaiViet. + +*** The minor modes unify-8859-on-encoding-mode and +unify-8859-on-decoding-mode are obsolete. + +*** `ucs-insert' is bound to `C-x 8 RET' and in addition to hex numbers +accepts numbers in hash notation (e.g. #o21430 for octal, or #10r8984 for +decimal). It also accepts Unicode character names with completion. + +*** The `cyrillic-translit' input method supports many new characters. +Common typographical characters available from Unicode were added to +`cyrillic-translit': punctuation marks, accented characters, fractions, +and others. + +** Emacs now supports serial port access on GNU/Linux, Unix, and +Windows. The new command `serial-term' starts an interactive terminal +on a serial port. The serial port can be configured at runtime with +the mode-line mouse menu. + +** Menu Bar changes + +*** In the Options menu, the "Set Default Font" item applies the +selected font to the `default' face on all frames, not just the +current frame. Furthermore, if Emacs is compiled with both GTK and +Fontconfig support, the "Set Default Font" item uses the GTK font +selection dialog instead of an Emacs pop-up menu. + +*** The font setting chosen by "Set Default Font" is saved if the +"Save Options" item is used. + +*** The Tools menu contains a new Encryption/Decryption submenu. +This contains commands provided by EasyPG, the newly-included +interface to GnuPG (see New Modes and Packages). + +*** In the Options menu, the "Truncate Long Lines in the Buffer" entry +has been replaced with a submenu offering three different ways to +handle long lines: truncation, continuation at the window edge, and +the new word wrapping behavior (see Editing Changes, below). + +*** Improvements to menus for major and minor modes +More major and minor modes now have a mode specific menu, and existing +mode menus have been improved to include more functionality. + +** Mode-line changes + +*** The mode-line displays a `@', instead of `-', if the +default-directory for the current buffer is on a remote machine. + +*** The mode-line displays a mode menu when mouse-1 is clicked on a +minor mode, in the same way as it already did for major modes. + +*** The `mode-line-emphasis' face is used to highlight certain +mode-line information (e.g. waiting for a VC command to finish). + +*** The mode-line tooltips have been improved to provide more details. + +*** The VC, line/colum number and minor mode indicators on the mode +line are now interactive: mouse-1 can be used on them to pop up a menu. + +** File deletion can make use of the Recycle Bin or system Trash folder. +Set `delete-by-moving-to-trash' non-nil to use this. Deleted files +and directories will then be sent to the Recycle Bin on Windows, and +to `trash-directory' on other systems. + +** Directory-local variables can now be defined. +By default, Emacs looks in .dir-locals.el for directory-local +variables. For more information, see `dir-locals-set-directory-class' +and `dir-locals-set-class-variables'. + +** Emacs can now use `auth-source' for authentication. +`smtpmail' and `url' (Tramp and Gnus also) use `auth-source' to obtain +login names and passwords. The match, if found, is reported +in *Messages* with the password blanked out. + +** `where-is-preferred-modifier' can specify your favorite modifier. + + +* Startup Changes in Emacs 23.1 + +** The option `inhibit-startup-screen' (with aliases to old names +`inhibit-splash-screen' and `inhibit-startup-message') doesn't inhibit +display of the initial message in the *scratch* buffer. If you don't +want to display the initial message in the *scratch* buffer at startup, +you can set the option `initial-scratch-message' to nil. + +** New user option `initial-buffer-choice' specifies what to display +after starting Emacs: startup screen, *scratch* buffer, visiting a +file or directory. + +** New alias `argv' for `command-line-args-left' +This is a convenience alias, so that one can write `(pop argv)' +inside of --eval command line arguments in order to access +following arguments. + +** The abbrev file is no longer read at startup in batch mode. + +** Emacs now supports invocation by an X session manager. +It can save a session and restore it later. See the documentation of +the functions `emacs-session-save' and `emacs-session-restore'. +(Actually, this feature was introduced with Emacs 22, but it was not +documented.) + +* Incompatible Editing Changes in Emacs 23.1 + +** In Dired, `dired-flag-garbage-files' is rebound from `&' to `%&' +on the regexp command prefix map. + +** In Dired-x, all command guesses for ! are now added to the default +list accessible by M-n instead of pushing all guesses temporarily into +the history list. + +** In Isearch mode, a special case of typing `C-w' at the beginning of +the minibuffer that toggles word search (i.e. using key sequences +`C-s RET C-w' or `C-s M-e C-w') is obsolete. You can use the global key +`M-s w' to start word search, or type `M-s w' in Isearch mode to +toggle word search. To start nonincremental word search you can now use +`M-s w RET' and `M-s w C-r RET' instead of `C-s RET C-w' and `C-r RET C-w'. + +** In Info, `Info-search' is unbound from `M-s' to allow using `M-s w' +for word search as well as other search commands from the global prefix +key `M-s'. `Info-search' is still bound to `s', and also incremental +search commands `C-s', `C-M-s', `C-r', `C-M-r' are available for searching +through multiple Info nodes, together with their nonincremental versions +`C-s RET', `C-r RET', `C-M-s RET', `C-M-r RET', `M-s w RET'. + +** In Text mode, `center-line' and `center-paragraph' are rebound from +`M-s' and `M-S' to global keys `M-o M-s' and `M-o M-S' on the global +prefix map `M-o', which is intended for such formatting commands. + +** The following input methods were removed in Emacs 22.2, but this was +not advertised: danish-alt-postfix, esperanto-alt-postfix, +finnish-alt-postfix, german-alt-postfix, icelandic-alt-postfix, +norwegian-alt-postfix, scandinavian-alt-postfix, spanish-alt-postfix, +and swedish-alt-postfix. Use the versions without "alt-", which are +identical. + + +* Editing Changes in Emacs 23.1 + +** The C-n and C-p line-motion commands now move by screen lines, +taking continued lines and variable-width characters into account. +Setting `line-move-visual' to nil reverts this to the previous +behavior (i.e., motion by logical lines based on buffer contents +alone). + +** C-x C-c now invokes `save-buffers-kill-terminal', and C-z now +invokes `suspend-frame'. These changes are for compatibility with the +new multi-tty support (see `Improved X Window System support' above). + +** Mark changes + +*** Transient Mark mode is now on by default. + +*** mark-even-if-inactive now defaults to t + +*** When Transient Mark mode is on, C-SPC C-SPC pushes a mark without +activating it. + +*** When Transient Mark mode is on, M-q now fills the region if the +region is active. Otherwise, it fills the current paragraph. + +*** When Transient Mark mode is on, M-$ now checks spelling of the +region if the region is active. Otherwise, it checks spelling of the +word at point. + +*** When Transient Mark mode is on, TAB now indents the region if the +region is active. + +*** The variable `use-empty-active-region' controls whether an empty +active region in Transient Mark mode should make commands operate on +that empty region. + +** Temporarily active regions + +*** The new variable shift-select-mode, non-nil by default, controls +shift-selection. When Shift Select mode is on, shift-translated +motion keys (e.g. S-left and S-down) activate and extend a temporary +region, similar to mouse-selection. + +*** Temporarily active regions, created using shift-selection or +mouse-selection, are not necessarily deactivated in the next command. +They are only deactivated after point motion commands that are not +shift-translated, or after commands that would ordinarily deactivate +the mark in Transient Mark mode (e.g., any command that modifies the +buffer). + +** Minibuffer and completion changes + +*** Emacs may ask for confirmation before opening a non-existent file +or buffer. By default, Emacs requests confirmation if you type RET +immediately after TAB, and the resulting input is not an existing file +or buffer; this usually happens when the minibuffer input did not +complete far enough and you entered RET by mistake. In that case, +Emacs puts the message "[Confirm]" in the minibuffer; type RET again +to create the file or buffer. + +The new variable confirm-nonexistent-file-or-buffer determines whether +Emacs asks for confirmation. The default value is `after-completion'. +If you change it to t, Emacs always asks for confirmation; if you +change it to nil, Emacs never asks for confirmation. + +*** The rules for performing completion have been changed. +When generating completion alternatives, Emacs now takes the +minibuffer text after point, if any, into account: this text is +treated as a substring of the remaining part of the completion +alternative (i.e., the part not matched by the minibuffer text before +point). If no completion alternatives are found this way, Emacs +attempts to perform partial-completion. If still no completion +alternatives are found, we fall back on the Emacs 22 rules for +performing completion. + +The new variable `completion-styles' can be customized to choose your +favorite completion style. + +*** When M-n in the minibuffer reaches the end of the list of defaults, +it adds the completion list to the end, so next M-n continues putting +completion items to the minibuffer. The same principle applies to +incremental search commands as well: C-s or C-M-s starts searching +the default values and after the end of defaults they continue +searching minibuffer completion items. + +*** Minibuffer input of shell commands now comes with completion. + +*** In the `C-x d' (Dired) prompt, typing M-n gives the visited file +name of the current buffer. + +*** In the M-! (shell-command) prompt, M-n provides some default commands. +These are guessed using the file extension of the current file, based +on the file-handlers specified in the operating system's `mailcap' +file. The ! command in Dired (dired-do-shell-command) works +similarly, using the file displayed on the current line. + +*** A list of regexp default values is available via M-n for `occur', +`keep-lines', `flush-lines' and `how-many'. This list includes the active +region in transient-mark-mode, the word under the cursor, the last Isearch +regexp, the last Isearch string and the last replacement regexp. + +*** When enable-recursive-minibuffers is non-nil, operations which use +switch-to-buffer (such as C-x b and C-x C-f) do not fail any more when +used in a minibuffer or a dedicated window. Instead, they fallback on +using pop-to-buffer, which will use some other window. This change +has no effect when enable-recursive-minibuffers is nil (the default). + +*** Isearch started in the minibuffer searches in the minibuffer history. +Reverse Isearch commands (C-r, C-M-r) search in previous minibuffer +history elements, and forward Isearch commands (C-s, C-M-s) search in +next history elements. When the reverse search reaches the first history +element, it wraps to the last history element, and the forward search +wraps to the first history element. When the search is terminated, the +history element containing the search string becomes the current. + +*** The variable read-file-name-completion-ignore-case overrides +completion-ignore-case for file name completion. + +*** The variable read-buffer-completion-ignore-case overrides +completion-ignore-case for buffer name completion. + +*** The new command `minibuffer-force-complete' chooses one of the +possible completions, rather than stopping at the common prefix. + +*** If `completion-auto-help' is `lazy', Emacs shows the completions +buffer only on the second attempt to complete. This was already +supported in `partial-completion-mode'. + +** Face changes + +*** S-down-mouse-1 now pops up a menu for changing the font and text +size of the default face in the current buffer. The face is changed +via face remapping (see Lisp changes, below). + +*** New commands to change the default face size in the current buffer. +To increase it, type `C-x C-+' or `C-x C-='. To decrease it, type +`C-x C--'. To restore the default (global) face size, type `C-x C-0'. +These work via Text Scale mode, a new minor mode. + +The final key in the above commands may be repeated without the +leading `C-x', e.g. `C-x C-= C-= C-=' increases the face height by +three steps. Each step scales the height of the default face by the +value of the variable `text-scale-mode-step'. + +*** The commands buffer-face-mode and buffer-face-set can be used to +remap the default face in the current buffer. See "Buffer Face mode", +under New Modes and Packages. + +** Primary selection changes + +*** You can disable kill ring commands from accessing the primary +selection by setting `x-select-enable-primary' to nil. + +** Continuation lines can now be wrapped at word boundaries +(word-wrapping). This is controlled by the new per-buffer variable +`word-wrap'. Word wrapping does not take place if continuation lines +are not shown, e.g. if truncate-lines is non-nil. The most convenient +way to enable word-wrapping is using the new minor mode Visual Line +mode; in addition to setting `word-wrap' to t, this rebinds some +editing commands to work on screen lines rather than text lines. See +New Modes and Packages, below. + +** Window management changes + +*** truncate-partial-width-windows now accepts integer values, which +specify a minimum window width for partial-width windows, below which +lines are truncated. The default has been changed to 50. + +*** The new command balance-windows-area balances windows both +vertically and horizontally. + +*** pop-to-buffer now always sets input focus when the popped-to window +is on a different frame. + +** Miscellaneous changes: + +*** C-l is bound to the new command recenter-top-bottom, rather than recenter. +This moves the current line to window center, top and bottom on +successive invocations. + +*** scroll-preserve-screen-position also preserves the column position. + +*** If `yank-pop-change-selection' is t, rotating the kill ring also +updates the selection or clipboard to the current yank, just as M-w +would do so with the text it copies to the kill ring. + +*** C-M-% now shows replacement as it would look in the buffer, with +`\N' and `\&' substituted according to the match. Old behavior can be +restored by customizing `query-replace-show-replacement'. + +*** The command shell prompts for the default directory, when it is +called with a prefix and the default directory is a remote file name. +This is because some file name handlers (like ange-ftp) are not able to +run processes remotely. + +*** The new command kill-matching-buffers kills buffers whose name +matches a regexp. + +*** The value of comment-style now defaults to `indent'. +Thefore, comment-start markers are inserted at the current indentation +of the region to comment, rather than the leftmost column. + +*** The new commands `pp-macroexpand-expression' and +`pp-macroexpand-last-sexp' pretty-print macro expansions. + +*** The new command `set-file-modes' allows to set file's mode bits. +The mode bits can be specified in symbolic notation, like with GNU +Coreutils, in addition to an octal number. `chmod' is a new +convenience alias for this function. + +*** `next-error-recenter' specifies how next-error should recenter the +visited source file. Its value can be a number (for example, 0 for +top line, -1 for bottom line), or nil for no recentering. + +*** When typing in a password in the echo area, C-y yanks the current +kill into the password. + +*** Tooltip frame parameters `font' and `color' in `tooltip-frame-parameters' +are ignored. Customize the `tooltip' face instead. + +*** `mkdir' is a new convenience alias for `make-directory'. + +* New Modes and Packages in Emacs 23.1 + +** Auto Composition Mode is a minor mode that composes characters +automatically when they are displayed. It is globally on by default. +It uses `auto-composition-function' (default `auto-compose-chars'). + +** Bubbles, a new game, is similar to SameGame. + +** Buffer Face mode is a minor mode for remapping the default face in +the current buffer. The variable `buffer-face-mode-face' specifies +the face to remap to. The command `buffer-face-set' prompts for a +face name, sets `buffer-face-mode-face' to it, and enables +buffer-face-mode. See "Face changes", under Editing Changes, for a +description of face remapping. + +** butterfly flips the desired bit on the drive platter. +See http://xkcd.com/378/ + +** bug-reference.el provides clickable links to bug reports. + +** dbus.el provides D-Bus language bindings. +D-Bus is an inter-process communication mechanism for applications +residing on the same host. See the manual for details. + +** DocView mode allows viewing of PDF, PostScript and DVI documents. +One can also search for a regular expression in the document. For +details, see the commentary in doc-view.el. + +PDF and DVI files are now opened in Doc View mode by default. + +In Postcript mode, C-c C-c launches Doc View minor mode for viewing +the postscript file. + +** EasyPG provides an interface to the GNU Privacy Guard (GnuPG). +It includes a GnuPG keyring browser, cryptographic operations on +regions and files, and automatic encryption of *.gpg files. For +details, see the EasyPG Assistant User's Manual. + +** json.el is a library for parsing and generating JSON +(JavaScript Object Notation), a lightweight data-interchange format. + +** linum.el is a new minor mode to display line numbers for the +current buffer. + +** mairix.el is an interface to mairix, a free tool for indexing and +searching locally stored mail. It allows you to query mairix and +display the search results with Rmail, Gnus and VM. Note that there +is an existing Gnus back end, nnmairix.el, which should be used with +Maildir/MH setups. + +** minibuffer-depth-indicate-mode shows the minibuffer depth in the prompt. + +** nXML Mode +This is a new mode for editing XML documents. It allows a schema to +be associated with the XML document being edited, using Relax NG as +the schema language. The schema is used to provide two key features: + +*** Continuous validation. nXML validates as you type, highlighting +any invalid parts of your document. + +*** Completion. nXML can assist you in entering an element name, +attribute name or data value by using information about what is +allowed by the schema in that context. + +** proced.el provides a Dired-like interface for operating on +processes. Proced makes an Emacs buffer containing a listing of the +current processes. You can use the normal Emacs commands to move +around in this buffer, and special Proced commands to operate on the +processes listed. It is currently only functional on GNU/Linux, +MS-Windows and Solaris. + +** Remember Mode is a mode for jotting down things to remember. +Notes can be saved to a Diary file. For details, see the Remember +Manual. + +** RST mode is a major mode for editing reStructuredText files. + +** Ruby mode is a major mode for Ruby files. + +** Visual Line mode provides support for editing by visual lines. +It turns on word-wrapping in the current buffer, and rebinds C-a, C-e, +and C-k to commands that operate by visual lines instead of logical +lines. This is a more reliable replacement for longlines-mode. +This can also be turned on using the menu bar, via +Options -> Line Wrapping in this Buffer -> Word Wrap + +** xesam.el is an implementation of Xesam, an interface to (desktop) +search engines like Beagle, Strigi, and Tracker. The Xesam API +requires D-Bus for communication. + +** zeroconf.el offers service discovery and service publishing +interfaces according to the zeroconf specification. It communicates +with Avahi, a zeroconf implementation, via D-Bus messages on systems +which have installed this software. + +** There is a new `whitespace' package. +(The pre-existing one has been renamed to `old-whitespace'.) +Now, besides reporting bogus blanks, the whitespace package has a +minor mode and a global minor mode to visualize blanks (TAB, (HARD) +SPACE and NEWLINE). The visualization is made via faces and/or display +table. It can also indicate lines that extend beyond a given column, +trailing blanks, and empty lines at the start or end of a buffer. +See `whitespace-style' for more details. The `whitespace-action' option +specifies what to do when a buffer is visited, killed, or written. + + +* Changes in Specialized Modes and Packages in Emacs 23.1 + +** Abbrev has been rewritten in Elisp and extended with more flexibility. + +*** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put, +abbrev-table-p, abbrev-insert, abbrev-table-menu. + +*** Special hook `abbrev-expand-functions' obsoletes `pre-abbrev-expand-hook'. + +*** `make-abbrev-table', `define-abbrev', `define-abbrev-table' all take +extra arguments for arbitrary properties. + +*** New variable `abbrev-minor-mode-table-alist'. + +*** `local-abbrev-table' can hold a list of abbrev-tables. + +*** Abbrevs have now the following special properties: +`:count', `:system', `:enable-function', `:case-fixed'. + +*** Abbrev-tables have now the following special properties: +`:parents', `:case-fixed', `:enable-function', `:regexp', +`abbrev-table-modiff'. + +** Apropos + +*** `apropos-library' describes the elements defined in a given library. + +*** Set `apropos-compact-layout' is you want a more compact (but wider) layout. + +** Archive Mode has basic support to browse Rar archives. +Note, however, that the free version of the unrar command only handles +versions 1 and 2 of the Rar format. + +** BibTeX mode + +*** New command `bibtex-initialize' (re)initializes BibTeX buffers. + +*** New `bibtex-entry-format' options `whitespace', `braces', and +`string', disabled by default. + +*** New variable `bibtex-cite-matcher-alist' contains rules to +identify cited keys in BibTeX entries, used by `bibtex-find-crossref'. + +*** Command `bibtex-url' allows multiple URLs per entry. + +** Bookmarks + +*** bookmark.el saves bookmarks in a pre-Emacs-23-incompatible file format +bookmark.el can read a .emacs.bmk file saved by an older Emacs, but an +older Emacs cannot read one saved by Emacs 23. + +** Calendar and diary + +*** There is a new date style, `iso', essentially year/month/day. +The variable `european-calendar-style' is obsolete - use `calendar-date-style'. +Similarly, the commands `american-calendar' and `european-calendar' +should be replaced by `calendar-set-date-style'. + +*** The calendar namespace has been rationalized. +All functions and variables now begin with a `calendar-', `diary-', or +`holiday-' prefix. The various calendar systems have secondary +prefixes, eg `calendar-french-'. The old names you are likely to use +directly still exist, for the time being, as aliases, but please start +using the new names. + +*** The whitespace in the calendar layout can be customized. +See the variables: +calendar-left-margin, calendar-intermonth-spacing, calendar-column-width, +calendar-day-header-width, and calendar-day-digit-width. + +*** Text (e.g. ISO weeks) can be displayed between the calendar months. +See the variables calendar-intermonth-header and calendar-intermonth-text. + +*** The function `holiday-chinese' computes holidays on the Chinese calendar. +It has been used to add items to the list `holiday-oriental-holidays'. + +*** `diary-remind' accepts a negative number -DAYS as a shorthand for +the list (1 2 ... DAYS). + +** Change Log mode + +*** The new command C-c C-f (change-log-find-file) finds the file +associated with the current log entry. + +*** The new command C-c C-c (change-log-goto-source) goes to the +source code associated with a log entry. + +** Compile and grep modes + +*** The mode-line entry for the *compilation* and *grep* buffer is color coded. +It has different colors for to show that: (a) the command is still +running, (b) successful completion, (c) error. + +*** compilation-auto-jump-to-first-error tells `compile' to jump to +the first error encountered during compilations. + +*** compilation-scroll-output accepts a new value, `first-error', which +says to stop auto scrolling at the first error that occurs. + +*** The `cc' alias for C++ files in `grep-file-aliases' has been +improved. `hh' can be used to match C++ header files and `cchh' both +C++ sources and headers. + +** Copyright + +*** You can specify your copyright holders' names. +Only copyright lines with holders matching `copyright-names-regexp' are +considered for update. + +*** Copyrights can be at the end of the buffer. +This is controlled by `copyright-at-end-flag' (used by, e.g., change-log-mode). + +** Custom + +*** defcustom accepts new keyword arguments, `:safe' and `:risky', which +set a variable's `safe-local-variable' and `risky-local-variable' property. + +** Diff mode + +*** diff-refine-hunk highlights word-level details of changes in a diff hunk. +It's used automatically as you move through hunks, see +diff-auto-refine-mode. It is bound to `C-c C-b'. + +*** diff-add-change-log-entries-other-window iterates through the diff +buffer and tries to create ChangeLog entries for each change. +It is bound to `C-x 4 A'. + +*** Turning on `whitespace-mode' in a diff buffer will show trailing +whitespace problems in the modified lines. + +** Dired + +*** In Dired, C-x C-q now runs the command wdired-change-to-wdired-mode, +and C-x C-q in wdired-mode exits it with asking a question about +saving changes. + +*** `&' runs the command `dired-do-async-shell-command' that executes +the command asynchronously without the need to manually add ampersand +to the end of the command. Its output appears in the buffer `*Async Shell +Command*'. + +*** `M-s f C-s' and `M-s f M-C-s' run Isearch that matches only at file names. +When a new user option `dired-isearch-filenames' is t, then even ordinary +Isearch started with `C-s' and `C-M-s' matches only at file names in the +Dired buffer. When `dired-isearch-filenames' is `dwim' then activation of +file name Isearch depends on the position of point - if point is on a file +name initially, then Isearch matches only file names, otherwise it matches +everywhere in the Dired buffer. You can toggle file names matching on or +off by typing `M-s f' in Isearch mode. + +*** `M-s a C-s' and `M-s a M-C-s' run multi-file Isearch on the marked files. +They visit the first marked file in the sequence and display the usual Isearch +prompt for a string or a regexp where all Isearch commands are available. + +*** `Q' in Dired provides two new keys for multi-file replacement. +The upper case key `Y' replaces all remaining matches in all remaining files +with no more questions. The upper case key `N' stops doing replacements +in the current file and skips to the next file. These multi-file keys +are available for all commands that use `tags-query-replace' +including `dired-do-query-replace-regexp', `vc-dir-query-replace-regexp', +`reftex-query-replace-document'. + +** Fortran + +*** The line length of fixed-form Fortran is not fixed at 72 any more. +Customize the variable `fortran-line-length' to change it. + +*** In Fortran mode, M-; is now bound to the standard comment-dwim, +rather than fortran-indent-comment. + +*** (The increasingly misnamed) F90 mode supports Fortran 2003 syntax. + +** Gnus + +*** The Gnus package has been updated +There are many new features, bug fixes and improvements; see the file +GNUS-NEWS or the node "No Gnus" in the Gnus manual for details. + +*** In Emacs 23, Gnus uses Emacs' new internal coding system `utf-8-emacs' for +saving articles, drafts, and ~/.newsrc.eld. These file may not be read +correctly in Emacs 22 and below. If you want to Gnus across different Emacs +versions, you may set `mm-auto-save-coding-system' to `emacs-mule'. + +*** Passwords are consistently loaded through `auth-source' +Gnus can use `auth-source' for POP and IMAP passwords. Also see that +`smtpmail' and `url' support `auth-source' for SMTP and HTTP/HTTPS/RSS +authentication respectively. + +** Help mode + +*** New macro `with-help-window' should set up help windows better +than `with-output-to-temp-buffer' with `print-help-return-message'. + +*** New option `help-window-select' permits to customize whether help +window shall be automatically selected when invoking help. + +*** New variable `help-window-point-marker' permits one to specify a new +position for point in help window (for example in `view-lossage'). + +** Isearch + +*** New command `isearch-forward-word' bound globally to `M-s w' starts +incremental word search. New command `isearch-toggle-word' bound to the +same key `M-s w' in Isearch mode toggles word searching on or off +while Isearch is active. + +*** New command `isearch-highlight-regexp' bound to `M-s h r' in Isearch +mode runs `highlight-regexp' (`hi-lock-face-buffer') with the current +search string as its regexp argument. The same key `M-s h r' and +other keys on the `M-s h' prefix are bound globally to the command +`highlight-regexp' and other hi-lock commands. + +*** New command `isearch-occur' bound to `M-s o' in Isearch mode +runs `occur' with the current search string. The same key `M-s o' +is bound globally to the command `occur'. + +*** Isearch can now search through multiple ChangeLog files. +When running Isearch in a ChangeLog file, if the search fails, +then another C-s tries searching the previous ChangeLog, +if there is one (e.g. going from ChangeLog to ChangeLog.12). +This is enabled if multi-isearch-search is non-nil. + +*** Two new commands to start Isearch on a list of marked buffers +for buff-menu.el and ibuffer.el are bound to the keys `M-s a C-s' and +`M-s a M-C-s'. + +*** The part of an Isearch that failed to match is highlighted in +`isearch-fail' face. + +*** `C-h C-h' in Isearch mode displays isearch-specific Help screen, +`C-h b' displays all Isearch key bindings, `C-h k' displays the full +documentation of the given Isearch key sequence, `C-h m' displays +documentation for Isearch mode. All the other Help commands exit +Isearch mode and execute their global definitions. + +*** When started in the minibuffer, Isearch searches in the minibuffer +history. See `Minibuffer changes', above. + +** MH-E + +*** Upgraded to MH-E version 8.2. See MH-E-NEWS for details. + +** Python +*** The file etc/emacs.py now supports both Python 2 and 3, meaning +that either version can be used as inferior Python by python.el. + +*** Python mode now has `pdbtrack' functionality. When using pdb to +debug a Python program, pdbtrack notices the pdb prompt and displays +the source file and line that the program is stopped at, much the same +way as gud-mode does for debugging C programs with gdb. + +** Recentf + +*** The default value of `recentf-keep' prevents from checking of +remote files, if there is no established connection to the +corresponding remote host. + +** Rmail + +*** Rmail no longer converts the messages to Babyl format. +Instead, it uses UNIX mbox format, both on disk and in Rmail buffers, +and does conversion and decoding when a message is displayed. + +The first time you visit an Rmail file in Babyl format, Rmail +automatically converts it to mbox format. This is a one-time +conversion, but it can take a few minutes, depending on how fast is +your machine and on the size of the file. You should find the rest of +Rmail usage unaltered. + +However, M-x set-rmail-inbox-list now lasts only for one session +because there is no way to save the list of inbox files in an +mbox-format file. + +Also, whereas with Babyl format M-x find-file would switch to Rmail +mode, with mbox format this is no longer the case (there being no way +to add an "-*- rmail-*-" cookie to an mbox file). Use C-u M-x rmail +instead. + +If you have written any extensions to Rmail, they are likely to need +updating. Conceptually, the Rmail buffer that you see is no longer +just a narrowed portion of the whole. So you cannot access the whole +of a message (or message collection) by a simple save-restriction and +widen. Instead, there are two buffers: the rmail-buffer, and the +rmail-view-buffer. The former is the buffer that you see, the latter +is invisible. Most of the time, the invisible `view' buffer contains +the full contents of the Rmail file, and the Rmail buffer contains a +decoded copy of the current message (with only a subset of the +headers). In this state, Rmail is said to be `swapped'. + +You may find the following functions useful: + +`rmail-get-header' and `rmail-set-header' get or set the value of a +message header, whether or not it is currently visible. + +`rmail-apply-in-message' is a general purpose function that calls a +function (with arguments) which you specify on the full text of a given +message. To further narrow to just the headers, search forward for "\n\n". + +*** The new command `rmail-mime' displays MIME messages. +It is bound to `v' in Rmail buffers and summaries. It displays plain +text and multipart messages in a temporary buffer, and offers buttons +to save attachments. + +*** The command `rmail-redecode-body' no longer accepts the optional arg RAW. +Since Rmail now holds messages in their original undecoded form in a +separate buffer, `rmail-redecode-body' no longer encodes the original +message, and therefore there should be no need to avoid encoding it. + +*** The o command is now `rmail-output'. It is an all-purpose command +for copying messages from Rmail and appending them to files. It +handles Babyl-format files as well as mbox-format files, and it +handles both kinds properly when they are visited in Emacs. It always +copies the full headers of the message. + +*** The C-o command is now `rmail-output-as-seen'. It uses +the message as displayed, appending it to an mbox file. + +*** The modified status of the Rmail buffer is reported in the mode-line. +Previously, this information was hidden. + +** TeX modes + +*** New option latex-indent-within-escaped-parens +permits to customize indentation of LaTeX environments delimited +by escaped parens. + +** T-mouse Mode + +*** If the gpm mouse server is running and t-mouse-mode is enabled, +Emacs uses a Unix socket in a GNU/Linux console to talk to server, +rather than faking events using the client program mev. This C level +approach provides mouse highlighting and help echoing in the +minibuffer. + +** Tramp + +*** New connection methods. +The new methods "plinkx", "plink2", "psftp", "sftp" and "fish" have +been introduced. There are also new so-called gateway methods +"tunnel" and "socks". + +*** IPv6 addresses. +IPv6 addresses are supported now as host names. They must be embedded +in square brackets, like in "/ssh:[::1]:". + +*** Multihop syntax has been removed. +The pseudo-method "multi" has been removed. Instead, multi hops +can be specified by the new variable `tramp-default-proxies-alist'. + +*** More default settings. +Default values can be set via the variables `tramp-default-user', +`tramp-default-user-alist' and `tramp-default-host'. + +*** Connection information is cached. +In order to reduce connection setup, information about used +connections is kept persistently in a file. The name of this file is +defined in the variable `tramp-persistency-file-name'. + +*** Control of remote processes. +Running processes on a remote host can be controlled by settings in +`tramp-remote-path' and `tramp-remote-process-environment'. + +*** Success of remote copy is checked. +When the variable `file-precious-flag' is set, the success of a remote +file copy is checked via the file's checksum. + +*** Passwords can be read from an authentification file. +Tramp uses the package `auth-source' to read passwords from a file, if +necessary. + +** VC and related modes + +*** VC now supports applying VC operations to a set of files at a time. +This enables VC to work much more effectively with changeset-oriented +version-control systems such as Subversion, GNU Arch, Mercurial, Git +and Bzr. VC will now pass a multiple-file commit to these systems as +a single changeset. + +*** vc-dir is a new command that displays file names and their VC +status. It allows to apply various VC operations to a file, a +directory or a set of files/directories. + +*** VC switches are no longer appended, rather the first non-nil value is used. +(This was for the most part true in Emacs 22, but was not advertised). +This is because there is an increasing variety of VC systems, and they +do not all accept the same "common" options. For example, a CVS diff +command used to append the values of `vc-cvs-diff-switches', +`vc-diff-switches', and `diff-switches'. Now the first non-nil value +from that sequence is used. The special value `t' means "no switches". + +*** Clicking on the VC mode-line entry now pops the VC menu. + +*** The VC mode-line entry now has a tooltip that explains the VC file status. + +*** In VC Annotate mode, the key bindings have changed to use lower +case keys instead of the upper case keys used in the past. + +*** In VC Annotate mode, for VC systems that support changesets, you can +see the diff for the whole changeset (not only for the current file) +by typing the D key. Using the "Show changeset diff of revision at +line" menu entry does the same thing. + +*** In VC Annotate mode, you can type v to toggle the annotation visibility. + +*** In VC Annotate mode, you can type f to show the file revision on +the current line. + +*** Asynchronous VC commands display [Waiting...] in the mode-line +of the corresponding buffer as long as the asynchronous process is +active. + +*** Log entries can be modified using the key "e" in log-view. +For now only CVS, RCS, SCCS and SVN support this functionality. +This is done by the `modify-change-comment' backend function. + +*** In log-view-mode, for VC systems that support changesets, you can +see the diff for the whole changeset (not only for the current file) +by typing the D key or using the "Changeset Diff" menu entry. + +*** In Log Edit mode, C-c C-d now shows the diff for the files involved. + +*** vc-git supports the "git grep" command. + +*** VC Support for Meta-CVS has been removed for lack of a maintainer able +to update it to the new VC. + +** Miscellaneous + +*** comint-mode uses `start-file-process' now (see Lisp Changes). +If `default-directory' is a remote file name, subprocesses are started +on the corresponding remote system. + +*** Eldoc highlights the function argument under point +with the face `eldoc-highlight-function-argument'. + +*** In Etags, the --members option is now the default. +Use --no-members if you want the old default behavior of not tagging +struct members in C, members variables in C++ and variables in PHP. + +*** The `gdb' command only works with the graphical interface now. +Use `gud-gdb' if you want the (old) text command mode. + +*** goto-address.el provides two new minor modes, goto-address-mode and +goto-address-prog-mode, which buttonize URLS and email addresses. + +*** The new command `eshell/info' runs info in an eshell buffer. + +*** The new variable `ffap-rfc-directories' specifies a list of local +directories in which `ffap-rfc' will first search for RFCs. + +*** hide-ifdef-mode allows shadowing ifdef-blocks instead of hiding them. +See option `hide-ifdef-shadow' and function `hide-ifdef-toggle-shadowing'. + +*** `icomplete-prospects-height' now supercedes `icomplete-prospects-length'. + +*** Info displays breadcrumbs in the header of the page. +See Info-breadcrumbs-depth to control it. + +*** net-utils has an `iwconfig' command, similar to the existing `ifconfig'. +It is used to configure wireless interfaces. + +*** The pcmpl-unix package supports hostname completion for ssh and scp. + +*** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs. + +*** smerge-refine highlights word-level details of changes in conflict. +It's used automatically as you move through conflicts, see +smerge-auto-refine-mode. + +*** talk.el has been extended for multiple tty support. + +*** A new command `display-time-world' has been added to the Time +package. It creates a buffer with an updating time display using +several time zones. + +*** The appearance of superscript and subscript in TeX is more customizable. +See the documentation of the variables: tex-fontify-script, +tex-font-script-display, tex-suscript-height-ratio, and +tex-suscript-height-minimum. + +*** view-remove-frame-by-deleting is now by default t +since users found iconification of view-mode frames distracting. + +*** WoMan tries to add locale-specific manual page directories to the +search path. This can be disabled by setting `woman-locale' to nil. + + +* Changes in Emacs 23.1 on non-free operating systems + +** Case is now considered significant in completion on MS-Windows. +The default value of `completion-ignore-case' is now nil on +MS-Windows, the same as it is for other operating systems. The +variable doesn't apply to reading a file name -- in that case Emacs +heeds `read-file-name-completion-ignore-case' instead. + +** IPv6 is supported on MS-Windows. +Emacs now supports IPv6 on Windows XP and later, and earlier versions +of Windows with third party IPv6 stacks installed. In Emacs 22, IPv6 was +supported on other platforms, but not on Windows due to using the winsock +1.1 header file, even though Emacs was linking to the winsock 2 library. + +** Busy cursor (hourglass) now displays on MS-Windows. +When Emacs is busy, an hourglass mouse cursor is displayed on Windows. +In Emacs 22 only X supported the busy cursor. + +** Battery status is available on MS-Windows +Emacs can now display the battery status in the mode-line when enabled with +display-battery-mode or from the Options menu. More verbose battery +information is also available with the command `battery'. In Emacs 22 +battery status was supported only on GNU/Linux and Mac. + +** More keys available on MS-Windows. +Keys normally associated with IMEs, and some exotic keys not normally found +on standard keyboards have been given names so they can be bound to functions +inside Emacs. If there are keys on your keyboard that have not been exposed +to Emacs in the past, try C-h k to see if they are available now. + +Emacs can now bind functions to the extra buttons for media player and +browser control present on some keyboards. These buttons are disabled +by default, since enabling them prevents their system-wide use when +Emacs has focus. To enable them, set the variable +w32-pass-multimedia-buttons to nil. See the doc string of that variable +for the list of extra keys that are available. + +** BDF fonts no longer supported on MS-Windows. +The font backend was completely rewritten for this release. The focus +on Windows has been getting acceptable performance and full unicode +support, including complex script shaping for native Windows fonts. A +rewrite of the BDF font support has not happened due to lack of time +and developers. If demand still exists for such a backend even with +the improved language support for native Windows fonts, future +development in this direction will most likely be based on the +freetype library, giving access to a wider range of font formats. + + +* Incompatible Lisp Changes in Emacs 23.1 + +** Variables cannot be both buffer-local and frame-local any more. + +** `functionp' returns nil for special forms. +I.e., it only returns t for objects that can be passed to `funcall'. + +** The behavior of map-char-table has changed. It may call the +specified function with a cons (FROM . TO) as a key if characters in +that range have the same value. + +** Process changes + +*** The function `dired-call-process' has been removed. + +*** The multibyteness of process filters is now determined by the +coding-system used for decoding. The functions +`process-filter-multibyte-p' and `set-process-filter-multibyte' are +obsolete. + +** The variable `byte-compile-warnings' can now be a list starting with `not', +meaning to disable the specified warnings. The meaning of this list +may therefore be the reverse of what you expect (of course, this is +only an issue if you make use of the new `not' syntax). Rather than +checking/manipulating elements directly, use the new functions +`byte-compile-warning-enabled-p', `byte-compile-disable-warning', and +`byte-compile-enable-warning.' + +** `mode-name' is no longer guaranteed to be a string. +Use `(format-mode-line mode-name)' to ensure a string value. + +** The function x-font-family-list has been removed. +Use the new function font-family-list (see Lisp Changes, below). + +** Internationalization changes + +*** The value of the function `charset-id' is now always 0. + +*** The functions `register-char-codings' and `coding-system-spec' +have been removed. + +*** The cpXXX coding systems are now supported automatically. +The functions cp-...-codepage, which you had to use in Emacs 22 to +enable support for these coding systems, have been deleted. + +*** The following features have been removed. They were used for +displaying various scripts with specific fonts, and are no longer +needed now that OpenType font support is available: + +**** `devanagari' and `devan-util', and all associated devanagari-* and +dev-* functions and variables (formerly used for Devanagari script). + +**** `kannada' and `knd-util', and all associated kannada-* and knd-* +functions and variables (formerly used for Kannada script). + +**** `malayalam' and `mlm-util', and all associated malayalam-* and +mlm-* functions and variables (formerly used for Malayalam script). + +**** `tamil' and `tml-util, and all associated tamil-* and tml-* +functions and variables (formerly used for Tamil script). + +*** The meaning of NAME argument of `set-fontset-font' is changed. +Previously nil is accepted as the default fontset. Now, nil is for +the fontset of the selected frame and t is for the default fontset. + +*** The meaning of FONTSET argument of `print-fontset' is changed. +Now, nil is for the fontset of the selected frame and t is for the +default fontset. + +** If a function in write-region-annotate-functions returns with a +different buffer current, Emacs no longer kills that buffer +automatically. This behavior existed in previous versions of Emacs, +but was undocumented. To kill a buffer after write-region, give the +variable `write-region-post-annotation-function' a buffer-local value +of `kill-buffer'. + +** The variable temp-file-name-pattern has been removed. +This variable was only used by call-process-region, which now uses +temporary-file-directory instead. + +** The COUNT and SYSTEM-FLAG arguments to define-abbrev have been +removed. The function now takes extra arguments for specifying +arbitrary abbrev properties. + +** end-of-defun-function is now guaranteed to work only when called +from the start of a defun. It must now leave point exactly at the end +of defun, since `end-of-defun' now itself moves forward over +whitespace after calling it. + + +* Lisp Changes in Emacs 23.1 + +** The new variable `generate-autoload-cookie' controls the magic comment +string used by `update-file-autoloads' to find autoloaded forms. The +variable `generated-autoload-file' similarly controls the name of the +file where `update-file-autoloads' writes the calls to `autoload'. +The default values are ";;;###autoload" and `loaddefs.el', +respectively. + +** New primitives `list-system-processes' and `process-attributes' +let Lisp programs access the processes that are running on the local +machine. See the doc strings of these functions for more details. +Not all platforms support accessing this information; on those that +don't, these primitives will return nil. + +** New variable `user-emacs-directory'. +Use this instead of "~/.emacs.d". + +** If a local hook function has a non-nil `permanent-local-hook' +property, `kill-all-local-variables' does not remove it from the local +value of the hook variable; it remains even if you change major modes. + +** `frame-inherited-parameters' lets new frames inherit parameters from +the selected frame. + +** New keymap `input-decode-map' overrides like key-translation-map, but +applies before function-key-map. Also it is terminal-local contrary to +key-translation-map. Terminal-specific key-sequences are generally added to +this map rather than to function-key-map now. + +** `ignore-errors' is now a standard macro (does not require the CL package). + +** `interprogram-paste-function' can now return one string or a list +of strings. In the latter case, Emacs puts the second and following +strings on the kill ring. + +** In `condition-case', a handler can specify "let the debugger run first". +You do this by writing `debug' in the list of conditions to be handled, +like this: + + (condition-case nil + (foo bar) + ((debug error) nil)) + +** clone-indirect-buffer now runs the clone-indirect-buffer-hook. + +** `beginning-of-defun-function' now takes one argument, the count given to +`beginning-of-defun'. (N.B. `end-of-defun-function' doesn't take any +arguments.) + +** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED. +IDENTIFICATION specifies which part of the remote identifier has to be +returned. With CONNECTED passed non-nil, it is checked whether a +remote connection has been established already. + +** The new macro `declare-function' suppresses compiler warnings about +undefined functions. + +** Changes to interactive function handling + +*** The new interactive spec code ^ says to first call +handle-shift-selection if shift-select-mode is non-nil, before reading +the command arguments. This is used for shift-selection (see above). + +*** Built-in functions can now have an interactive specification that +is not a prompt string. If the `intspec' parameter of a `DEFUN' +starts with a `(', the string is evaluated as a Lisp form. + +*** The interactive-form of a function can be added post-facto via the +`interactive-form' symbol property. Mostly useful to add complex +interactive forms to subroutines. + +** Region changes + +*** Commands should use `use-region-p' to test whether there is +an active region that they should operate on. + +*** `region-active-p' returns non-nil when Transient Mark mode is +enabled and the mark is active. Most commands that act specially on +the active region in Transient Mark mode should use `use-region-p' +instead of `region-active-p', because `use-region-p' obeys the new +user option `use-empty-active-region' (see Editing Changes, above). + +*** If a command sets `transient-mark-mode' to (only . OLDVAL), that +means to activate transient-mark-mode temporarily, until the next +unshifted point motion command or mark deactivation. Afterwards, +reset transient-mark-mode to the value OLDVAL. The values `only' and +`identity', introduced in Emacs 22, are now deprecated. + +** Emacs session information + +*** The new variables `before-init-time' and `after-init-time' record the +value of `current-time' before and after Emacs loads the init files. + +*** The new function `emacs-uptime' returns the uptime of an Emacs instance. + +*** The new function `emacs-init-time' returns the duration of the +Emacs initialization. + +** Changes affecting display-buffer + +*** display-buffer tries to be smarter when splitting windows. +The new option split-window-preferred-function lets you specify your own +function to pop up new windows. Its default value split-window-sensibly +can split a window either vertically or horizontally, whichever seems +more suitable in the current configuration. You can tune the behavior +of split-window-sensibly by customizing split-height-threshold and the +new option split-width-threshold. Both options now take the value nil +to inhibit splitting in one direction. Setting split-width-threshold to +nil inhibits horizontal splitting and gets you the behavior of Emacs 22 +in this respect. In any case, display-buffer may now split the largest +window vertically even when it is not as wide as the containing frame. + +*** If pop-up-frames has the value `graphic-only', display-buffer only +makes a separate frame on graphic displays. + +*** select-frame and set-frame-selected-window have a new optional +argument NORECORD. If non-nil, this will avoid messing with the order +of recently selected windows and the buffer list. + +** Window parameters can now be defined. +These are analogous to frame parameters, but are associated with +individual windows. + +*** The new functions window-parameters, window-parameter, and +set-window-parameter are used to query and set window parameters. + +** Minibuffer and completion changes + +*** A list of default values can be specified for the DEFAULT argument of +functions `read-from-minibuffer', `read-string', `read-command', +`read-variable', `read-buffer', `completing-read'. Elements of this list +are available for inserting into the minibuffer by typing `M-n'. +For empty input these functions return the first element of this list. + +*** New function `read-regexp' uses the regexp history and some useful +regexp defaults (string at point, last Isearch/replacement regexp/string) +via M-n when reading a regexp in the minibuffer. + +*** minibuffer-local-must-match-filename-map is now named +minibuffer-local-filename-must-match-map. + +*** The `require-match' argument to `completing-read' accepts the new +values `confirm-only' and `confirm-after-completion'. + +** Search and replacement changes + +*** The regexp form \(?:\) specifies the group number explicitly. + +*** New function `match-substitute-replacement' returns the result of +`replace-match' without actually using it in the buffer. + +*** The new variable `replace-search-function' determines the function +to use for searching in query-replace and replace-string. The +function it specifies is called by `perform-replace' when its 4th +argument is nil. + +*** The new variable `replace-re-search-function' determines the +function to use for searching in `query-replace-regexp', +`replace-regexp', `query-replace-regexp-eval', and +`map-query-replace-regexp'. The function it specifies is called by +`perform-replace' when its 4th argument is non-nil. + +*** New keymap `search-map' bound to `M-s' provides global bindings +for search related commands. + +*** New keymap `multi-query-replace-map' contains additonal keys bound +to `automatic-all' and `exit-current' for multi-buffer interactive replacement. + +*** The variable `inhibit-changing-match-data', if non-nil, prevents +the search and match primitives from changing the match data. + +*** New functions `word-search-forward-lax' and `word-search-backward-lax'. +These are like `word-search-forward and `word-search-backward', except +that the end of the search string need not match a word boundary, +unless it ends in whitespace. + +** File handling changes + +*** set-file-modes is now interactive and can take the mode value in +symbolic notation thanks to auxiliary functions. + +*** file-local-variables-alist stores an alist of file-local +variables defined in the current buffer. + +** Face-remapping + +*** Each face can be remapped to a different face definition using the +variable `face-remapping-alist'. This is an alist that maps faces to +replacement definitions (which can be face names, lists of face names, +or attribute/value plists. If this variable is buffer-local, the +remapping occurs only in that buffer. + +*** text-scale-mode remaps the default face to a larger or smaller +size in the current buffer. This feature is used by the Buffer Face +menu and the new `C-x C-+', `C-x C--', and `C-x C-0' commands (see +Editing Changes, above). + +*** New functions: + +**** `face-remap-add-relative' adds a face remapping entry to the +current buffer. + +**** ``face-remap-remove-relative' removes a face remapping entry from +the current buffer. + +**** `face-remap-reset-base' restores a face to its global definition. + +**** `face-remap-set-base' sets the base remapping of a face. + +** Process changes + +*** The new function `start-file-process' is similar to `start-process', +but obeys file handlers. The file handler is chosen based on +`default-directory'. The functions `start-file-process-shell-command' +and `process-file-shell-command' are also new; they call internally +`start-file-process' and `process-file', respectively. + +*** The new function `process-lines' executes an external program and +returns its output as a list of lines. + +** Character code, representation, and charset changes. + +*** In multibyte buffers and strings, characters are represented by +UTF-8 byte sequences. The character code space is now 0x0..0x3FFFFF +with no gap; code points 0x0..0x10FFFF are Unicode characters of the +same code points, while code points 0x3FFF80..0x3FFFFF are raw 8-bit +bytes. + +*** Generic characters no longer exist. + +*** The concept of a charset has changed. A single character may +belong to multiple charsets (e.g. a-grave, U+00E0, belongs to charsets +unicode, iso-8859-1, iso-8859-3, etc). + +**** The dimension of a charset is now 1, 2, 3, or 4, and the size of +each dimension is no longer limited to 94 or 96. + +**** A dynamic charset priority list is used to infer the charset of +characters for display. + +*** The functions `split-char' and `make-char' now accept up to 4 +positional codes instead of just 2. + +*** The functions `encode-char' and `decode-char' now accept any character sets. + +*** The function `define-charset' now accepts a completely different +form of arguments (old-style arguments still work). + +*** The value of the function `char-charset' depends on the current +priorities of charsets. + +*** The function get-char-code-property now accepts many Unicode base +character properties. They are `name', `general-category', +`canonical-combining-class', `bidi-class', `decomposition', +`decimal-digit-value', `digit-value', `numeric-value', `mirrored', +`old-name', `iso-10646-comment', `uppercase', `lowercase', and +`titlecase'. + +*** The functions `modify-syntax-entry' and `modify-category-entry' now +accept a cons of characters as the first argument, and modify all +entries in that range of characters. + +*** Use of `translation-table-for-input' for character code unification +is now obsolete, since Emacs 23.1 and later uses Unicode as basis for +internal representation of characters. + +*** New functions: + +**** `characterp' returns t if and only if the argument is a character. +This replaces `char-valid-p', which is now obsolete. + +**** `max-char' returns the maximum character code (currently #x3FFFFF). + +**** `define-charset-alias' defines an alias of a charset. + +**** `set-charset-priority' sets priorities of charsets. + +**** `charset-priority-list' returns a prioritized list of charsets. + +**** `unibyte-string' makes a unibyte string from bytes. + +**** `define-char-code-property' defines a character code property. + +**** `char-code-property-description' returns the description string of +a character code property. + +*** New variables: + +**** `find-word-boundary-function-table' is a char-table of functions to +search for a word boundary. + +**** `char-script-table' is a char-table of script names. + +**** `char-width-table' is a char-table of character widths. + +**** `print-charset-text-property' controls how to handle `charset' text +property on printing a string. + +**** `printable-chars' is a char-table of printable characters. + +** Code conversion changes + +*** The new function `define-coding-system' should be used to define a +coding system instead of `make-coding-system' (which is now obsolete). + +*** The functions `encode-coding-region' and `decode-coding-region' +have an optional 4th argument to specify where the result of +conversion should go. + +*** The functions `encode-coding-string' and `decode-coding-string' +have an optional 4th argument specifying a buffer to store the result +of conversion. + +*** The new variable `inhibit-null-byte-detection' controls whether to +consider text with null bytes as binary data. By default, it is +`nil', and Emacs uses `no-conversion' for any text containing null +bytes. + +*** The functions `set-coding-priority' and `make-coding-system' are obsolete. + +*** New functions: + +**** `with-coding-priority' executes Lisp code using the specified +coding system priority order. + +**** `check-coding-systems-region' checks if the text in the region is +encodable by the specified coding systems. + +**** `coding-system-aliases' returns a list of aliases of a coding system. + +**** `coding-system-charset-list' returns a list of charsets supported +by a coding system. + +**** `coding-system-priority-list' returns a list of coding systems +ordered by their priorities. + +**** `set-coding-system-priority' sets priorities of coding systems. + +**** `coding-system-from-name' returns a coding system matching with +the argument name. + +** There is a new input method, Robin, different from Quail. +It has three functionalities: + i) a simple input method (converts an ASCII sequence into a string). +ii) converts an existing buffer substring into another string +iii) reverse conversion (each character produced by a +robin rule can hold the original ASCII sequence as a char-code-property) + +*** The new function `robin-define-package' defines a Robin package. + +*** The new function `robin-modify-package' modifies an existing Robin package. + +*** The new function `robin-use-package' starts using a Robin package +as an input method. + +*** The new function `string-to-unibyte' is like `string-as-unibyte' +but signals an error if STRING contains a non-ASCII, non-eight-bit +character. + +** Changes related to the new font backend + +*** Which font backends to use can be specified by the X resource +"FontBackend". For instance, to use both X core fonts and Xft fonts: + +Emacs.FontBackend: x,xft + +If this resource is not set, Emacs tries to use all font backends +available on your graphic device. + +*** New frame parameter `font-backend' specifies a list of +font-backends supported by the frame's graphic device. On X, they are +currently `x' and `xft'. + +*** The function `set-fontset-font' now accepts a script name as the +second argument, and has an optional 5th argument to control how to +set the font. + +*** New functions: + +**** `fontp' checks if the argument is a font-spec or font-entity. + +**** `font-spec' creates a new font-spec object. + +**** `font-get' returns a font property value. + +**** `font-put' sets a font property value. + +**** `font-face-attributes' returns a plist of face attributes set by a font. + +**** `list-fonts' returns a list of font-entities matching a font spec. + +**** `find-font' returns the font-entity best matching the given font spec. + +**** `font-family-list' returns a list of family names of available fonts. + +**** `font-xlfd-name' returns an XLFD name of a given font spec, font +entity, or font object. + +**** `clear-font-cache' clears all font caches. + +** Changes related to multiple-terminal (multi-tty) support + +*** $TERM is now set to `dumb' for subprocesses. If you want to know the +$TERM inherited by Emacs you will have to look inside initial-environment. + +*** $DISPLAY is now dynamically inherited from the frame's `display'. + +*** The `window-system' variable is now frame-local. The new +`initial-window-system' variable contains the `window-system' value +for the first frame. `window-system' is also now a function that +takes a frame argument. + +*** The `keyboard-translate-table' variable and the terminal and +keyboard coding systems are now terminal-local. + +*** You can specify a terminal device (`tty' parameter) and a terminal +type (`tty-type' parameter) to `make-terminal-frame'. + +*** The function `make-frame-on-display' now works during a tty +session. + +*** A new `terminal' data type. +The functions `get-device-terminal', `terminal-parameters', +`terminal-parameter', `set-terminal-parameter' use this data type. + +*** Function key sequences are now mapped using `local-function-key-map', +a new variable. This inherits from the global variable function-key-map, +which is not used directly any more. + +*** New hooks: + +**** before-hack-local-variables-hook is called after setting new +variable file-local-variables-alist, and before actually applying the +file-local variables. + +**** `suspend-tty-functions' and `resume-tty-functions' are called +after a tty frame has been suspended or resumed, respectively. The +functions are called with the terminal id of the frame being +suspended/resumed as a parameter. + +**** The special hook `delete-terminal-functions' is called before +deleting a terminal. + +*** New functions: + +**** `delete-terminal' + +**** `suspend-tty' + +**** `resume-tty'. + +*** `initial-environment' holds the environment inherited from Emacs's parent. + +** Redisplay changes + +*** For underlined characters, the distance between the underline and +the baseline is controlled by a new variable, `underline-minimum-offset'. + +*** You can now pass the value of the `invisible' property to +invisible-p to check whether it would cause the text to be invisible. +This is convenient when checking invisibility of text with no buffer +position (e.g. in before/after-strings). + +*** `clear-image-cache' can be told to flush only images of a specific file. + +*** `vertical-motion' can now be given a goal column. +It now accepts a cons cell (COLS . LINES) in its first argument, which +says to stop, where possible, at a pixel x-position equal to COLS +times the default column width. + +*** redisplay-end-trigger-functions, set-window-redisplay-end-trigger, +and window-redisplay-end-trigger are obsolete. Use `jit-lock-register' +instead. + +*** The new variables `wrap-prefix' and `line-prefix' specify display +specs which are appended at display-time to every continuation line +and non-continuation line, respectively. In addition, Emacs +recognizes the `wrap-prefix' and `line-prefix' text or overlay +properties; these have the same effects as the variables of the same +name, but take precedence. + +** The Lisp interpreter now treats non-breaking space as whitespace. + +** Miscellaneous new functions + +*** `apply-partially' performs a "curried" application of a function. + +*** `buffer-swap-text' swaps text between two buffers. This can be +useful for modes such as tar-mode, archive-mode, RMAIL. + +*** `combine-and-quote-strings' produces a single string from a list of strings +sticking a separator string in between each pair, and quoting those +strings that include the separator as their substring. Useful for +consing shell command lines from the individual arguments. + +*** `custom-note-var-changed' tells Custom to treat the change in a +certain variable as having been made within Custom. + +*** `face-all-attributes' returns an alist describing all the basic +attributes of a given face. + +*** `format-seconds' converts a number of seconds into a readable +string of days, hours, etc. + +*** `image-refresh' refreshes all images associated with a given image +specification. + +*** `locate-user-emacs-file' helps packages to select the appropriate +place to save user-specific files. It defaults to `user-emacs-directory' +unless the file already exists at $HOME. + +*** `read-color' reads a color name using the minibuffer. + +*** `read-shell-command' does what its name says, with completion. It +uses the minibuffer-local-shell-command-map for that. + +*** `split-string-and-unquote' splits a string into a list of substrings +on the boundaries of a given delimiter, and unquotes the substrings that +are quoted. Useful for taking apart shell commands. + +*** The two new functions `looking-at-p' and `string-match-p' can do +the same matching as `looking-at' and `string-match' without changing +the match data. + +*** The two new functions `make-serial-process' and +`serial-process-configure' provide a Lisp interface to the new serial +port support (see Emacs changes, above). + +** Miscellaneous new variables + +*** `auto-save-include-big-deletions', if non-nil, means auto-save is +not turned off automatically after a big deletion. + +*** `read-circle', if nil, disables the reading of recursive Lisp +structures using the #N= and #N# syntax. + +*** `this-command-keys-shift-translated' is non-nil if the key +sequence invoking the current command was found by shift-translation. + +*** `window-point-insertion-type' determines the insertion-type of the +marker used for window-point. + +*** bookmark provides `bookmark-make-record-function' so special major +modes like Info can teach bookmark.el how to save and restore the +relevant data. + +*** `fill-forward-paragraph-function' specifies which function the +filling code should use to find paragraph boundaries. + + +* New Packages for Lisp Programming in Emacs 23.1 + +** The new package avl-tree.el deals with the AVL tree data structure. + +** The new package check-declare.el verifies the accuracy of +declare-function macros (see Lisp Changes, above). + +** find-cmd.el can build `find' commands using lisp syntax. + +** The package misearch.el has been added. It allows Isearch to search +through multiple buffers. A variable `multi-isearch-next-buffer-function' +defines the function to call to get the next buffer to search in the series +of multiple buffers. Top-level functions `multi-isearch-buffers', +`multi-isearch-buffers-regexp', `multi-isearch-files' and +`multi-isearch-files-regexp' accept a single argument that specifies +a list of buffers/files to search for a string/regexp. + +** The new major mode `special-mode' is intended as a parent for +major modes such as those that set the "'mode-class 'special" property. + + +---------------------------------------------------------------------- +This file is part of GNU Emacs. + +GNU Emacs is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +GNU Emacs is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Emacs. If not, see . + + +Local variables: +mode: outline +paragraph-separate: "[ ]*$" +end: + +arch-tag: e759449d-88b3-4de4-9900-3a6c3dfa23e2 diff --cc lisp/ChangeLog index 36775118554,18643c3f824..5261f3f30d2 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,309 -1,74 +1,380 @@@ + 2010-09-23 Glenn Morris + + * 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. + -2010-09-21 Stefan Monnier ++2010-09-23 Stefan Monnier + + * newcomment.el (comment-normalize-vars): Better test validity of + comment-end-skip. + + 2010-09-19 Stefan Monnier + + * emacs-lisp/float-sup.el (float-pi): New name for `pi'. + (float-e): New name for `e'. + (degrees-to-radians, radians-to-degrees): + * calendar/solar.el (solar-longitude): + * calculator.el (calculator-registers, calculator-funcall): + * textmodes/artist.el (artist-spray-random-points): + * play/bubbles.el (bubbles--initialize-images): Use new names. + + 2010-09-19 Eric M. Ludlam + + 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. + + 2010-07-03 Jan Moringen + + * 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. + -2010-09-15 Glenn Morris ++2010-09-23 Glenn Morris + + * 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) + + * calendar/appt.el (appt-check): Rather than showing the diary, + just turn off invisible display, and only if needed. + + * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019) + +2010-09-23 Glenn Morris + + * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar): + (byte-compile-defvar, byte-compile-cl-warn): + Start warnings with lower-case, like the majority. + + * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode. + + * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071) + + * progmodes/ld-script.el (auto-mode-alist): Move to files.el. + * files.el (auto-mode-alist): Move ld-script entries here, further down + the list. + + * vc/add-log.el: Don't require timezone when compiling. + (timezone-make-date-sortable): Autoload it. + (change-log-sortable-date-at): Don't require timezone. + Use `ignore-errors'. + + * comint.el (comint-use-prompt-regexp-instead-of-fields): + Move alias before definition, so it does not need autoloading. + + * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el: + * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el: + * international/kkc.el, international/ogonek.el, mail/feedmail.el: + * net/browse-url.el, net/eudc-vars.el, net/net-utils.el: + * net/rcompile.el, net/rlogin.el, textmodes/enriched.el: + * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el: + * textmodes/refer.el, textmodes/spell.el, textmodes/table.el: + * textmodes/tex-mode.el, textmodes/two-column.el: + Remove leading `*' from docs of defcustoms etc. + +2010-09-23 Teodor Zlatanov + + * net/netrc.el (netrc-parse): Remove encrypt.el mentions. + +2010-09-22 Dan Christensen + + * calendar/time-date.el (date-to-time): Try using parse-time-string + first before using the slower timezone-make-date-arpa-standard. + +2010-09-22 Katsumi Yamaoka + + * calendar/time-date.el (format-seconds): Comment fix. + +2010-09-22 Glenn Morris + + * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function' + is not automatically buffer-local. + +2010-09-21 Stefan Monnier + + * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo. + (smie-indent-comment): Be more careful with comment-start-skip. + (smie-indent-comment-close, smie-indent-comment-inside): New funs. + (smie-indent-functions): Use them. + +2010-09-21 Michael Albinus + + * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message. + +2010-09-21 Jan Djärv + + * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable + tool-bar-position. Don't modify frame parameters here. + (menu-bar-options-save): Add tool-bar-position. + + * tool-bar.el (tool-bar-position): New defcustom (Bug#7049). + +2010-09-20 Stefan Monnier + + * textmodes/reftex-parse.el (reftex-what-macro) + (reftex-context-substring): Let-bind forward-sexp-function to nil + since we don't need/want to treat \begin...\end as a block (bug#7053). + + * emacs-lisp/lisp.el (up-list): Don't do nothing silently. + + * simple.el (blink-matching-open): Use syntax-class. + + * progmodes/pascal.el (pascal-mode): Use define-derived-mode. + Set invisibility spec for pascal's outline mode. + (pascal-outline-change): Clean up calling convention. + (pascal-show-all, pascal-hide-other-defuns): Update callers. + + * progmodes/prolog.el (prolog-smie-forward-token) + (prolog-smie-backward-token): New functions. + (prolog-mode-variables): Use them to parse "!," correctly. + Set up smie-blink-matching for ".". + + * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start' + and `end'. + (ispell-region, ispell-process-line): Update users. + + * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode + point-min==1. + + * textmodes/ispell.el: Fix commenting convention. + (ispell-parse-output): Simplify, use push. + (ispell-region): Use match-string-no-properties. + (ispell-begin-skip-region-regexp): Use mapconcat to simplify. + (ispell-minor-mode): Use define-minor-mode. + (ispell-message): Remove unused var `skip-regexp'. + (ispell-add-per-file-word-list): Use dynamic let-binding. + Try and use the proper comment marker. + + * mail/sendmail.el: Fix commenting convention. + (sendmail-send-it): Use line-beginning-position. + + * help-fns.el (describe-variable): Add original value, if applicable. + +2010-09-20 Juanma Barranquero + + * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca. + + * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'. + +2010-09-19 Stefan Monnier + + * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message. + (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions. + (smie-prec2-levels): Use them to better diagnose precedence cycles. + (smie-blink-matching-check): Don't signal a mismatch if car is t. + (smie-blink-matching-open): Rewrite to remove assumptions, so that + something like "." can also be a closer. + (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp) + (smie-indent--offset, smie-indent--offset-rule, smie-indent--column): + Rename internal functions to use "--". Update callers. + + * frame.el (make-frame-names-alist): Don't list frames on other displays. + + * fringe.el (fringe-styles): New var. + (fringe-mode, fringe-query-style): Use it. + +2010-09-18 Michael R. Mauger + + * progmodes/sql.el: Version 2.8 + (sql-login-params): Update widget structure; changes still needed. + (sql-product-alist): Add :list-all and :list-table features for + SQLite, Postgres and MySQL products. + (sql-redirect): Handle default value. + (sql-execute, sql-execute-feature): New functions. + (sql-read-table-name): New function. + (sql-list-all, sql-list-table): New functions. User API. + (sql-mode-map, sql-interactive-mode-map): Add key definitions + for above functions. + (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions + for above functions. + (sql-postgres-login-params): Add user and database defaults. + (sql-buffer-live-p): Bug fix. + (sql-product-history): New variable. + (sql-read-product): New function. Use it. + (sql-set-product, sql-product-interactive): Use it. + (sql-connection-history): New variable. + (sql-read-connection): New function. Use it. + (sql-connect): New function. + (sql-for-each-login): Redesign function interface. + (sql-make-alternate-buffer-name, sql-save-connection): Use it. + (sql-get-login-ext, sql-get-login): Use it. Handle default values. + (sql-comint): Check for program. Existing live buffer. + (sql-comint-postgres): Add port parameter. + +2010-09-19 Stefan Monnier + + * emacs-lisp/warnings.el: Fix commenting convention. + (display-warning): Use special mode and make the buffer read-only. + +2010-09-18 Jay Belanger + + * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the + empty string when it follows a repeated or optional pattern. + +2010-09-18 Stefan Monnier + + * indent.el (indent-according-to-mode): Apply syntax-propertize. + (indent-region): Use indent-according-to-mode. + +2010-09-18 Eli Zaretskii + + * fringe.el (fringe-mode): Doc fix. + +2010-09-14 Kan-Ru Chen (tiny change) + + * textmodes/nroff-mode.el (nroff-view): Kill old buffer before + refreshing the preview buffer. + +2010-09-18 Stefan Monnier + + * textmodes/tex-mode.el (tex-syntax-propertize-rules) + (latex-syntax-propertize-rules): New consts; replace + tex-font-lock-syntactic-keywords. + (tex-env-mark, latex-env-before-change): New functions. + (latex-electric-env-pair-mode): New minor mode. + (tex-font-lock-verb): Change arguments; do move point. + (tex-font-lock-syntactic-face-function): Adjust to new verbatim + representation as a form of comment. + (tex-font-lock-keywords-1): Remove workaround, now unneeded. + (doctex-syntax-propertize-rules): New const; replaces + doctex-font-lock-syntactic-keywords. + (tex-common-initialization, doctex-mode): Use syntax-propertize-rules. + + * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove. + (fortran-make-syntax-propertize-function): New function; replaces + fortran-font-lock-syntactic-keywords. + (fortran-mode): Use it. + (fortran-line-length): Use it. Improve interactive spec. + + * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro. + (syntax-propertize-rules): Add var-ref case. Fix offset computation + when adding surrounding \(..\). + + * progmodes/js.el (js-mode): Fix last change (bug#7054). + +2010-09-17 Stefan Monnier + + * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers): + Use with-current-buffer. + + * isearch.el (isearch-face): Rename from `isearch'. + (isearch-highlight): Use new name. + +2010-09-17 Eli Zaretskii + + * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not + 5, for `half' width fringes. (Bug#6933) + +2010-09-17 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar) + (byte-compile-defvar): "foo/bar" does not lack a prefix. + + * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow. + +2010-09-17 Stephen Berman + + * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width + in calculating new frame position. Add more space between new and + parent on the left (Bug#7048). + +2010-09-17 Michael Albinus + + * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a + defmacro. + +2010-09-16 Chong Yidong + + * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names. + + * term/x-win.el (x-cut-buffer-or-selection-value): Define as + obsolete alias for x-selection-value. + + * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge. + +2010-09-16 Michael Albinus + + * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload + cookie. + +2010-09-15 Michael Albinus + + * net/tramp-compat.el (tramp-compat-with-temp-message) + (tramp-compat-font-lock-add-keywords, tramp-compat-process-get) + (tramp-compat-process-put): New defuns. + + * net/tramp.el (top): + * net/tramp-gvfs.el (top): + * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'. + + * net/tramp.el (tramp-progress-reporter-update): + Use `tramp-compat-funcall'. + + * net/tramp.el (tramp-process-actions): + * net/tramp-gvfs.el (tramp-handle-vc-registered): + * net/tramp-sh.el (tramp-gvfs-handler-askquestion) + (tramp-get-remote-stat, tramp-get-remote-readlink): + Use `tramp-compat-with-temp-message'. + + * net/tramp-sh.el (top): Require 'cl. + (tramp-handle-start-file-process): Use `tramp-compat-process-get'. + (tramp-open-connection-setup-interactive-shell): + Use `tramp-compat-process-put'. + +2010-09-15 Alan Mackenzie + + * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the + indentation. + (c-forward-<>-arglist-recur): Fix an infinite recursion. + +2010-09-15 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type + `lexical' for warnings related to lexical scoping. + (byte-compile-file-form-defvar, byte-compile-defvar): Warn about + global vars which don't have a prefix and could hence affect lexical + scoping in unrelated files. + +2010-09-14 Lars Magne Ingebrigtsen + + * net/imap.el: Revert back to version + cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes + seem problematic. + +2010-09-14 Juanma Barranquero + + * obsolete/old-whitespace.el (whitespace-unload-function): + Explicitly pass `obarray' to `unintern' to avoid a warning. + 2010-09-14 Stefan Monnier * emacs-lisp/byte-run.el (set-advertised-calling-convention): @@@ -2190,3769 -614,515 +2261,3673 @@@ * align.el (align-default-spacing): Doc fix. (align-region-heuristic, align-regexp): Fix typos in docstrings. -2010-07-23 Juanma Barranquero +2010-08-08 Stephen Peters - * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494). + * calendar/icalendar.el + (icalendar--split-value): Fix splitting regexp. (Bug#6766) + (icalendar--get-weekday-numbers): New. + (icalendar--convert-recurring-to-diary): Handle multiple byday + values in weekly rules. (Bug#6766) -2010-07-19 Juanma Barranquero +2010-08-08 Ulf Jasper - * time.el (display-time-day-and-date): Remove spurious * in docstring. - (display-time-world-buffer-name, display-time-world-mode-map): - Fix typos in docstrings. + * calendar/icalendar.el (icalendar-uid-format): Doc fix. + (icalendar--create-uid, icalendar-export-region) + (icalendar--parse-summary-and-rest): Code formatting. -2010-07-17 Shyam Karanatt (tiny change) +2010-08-08 Jay Belanger - * image-mode.el (image-display-size): New function. - (image-forward-hscroll, image-next-line, image-eol, image-eob) - (image-mode-fit-frame): Use it (Bug#6639). + * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property + to italicize headers. + (calc-highlight-selections-with-faces): New variable. + (calc-selected-face, calc-nonselected-face): New faces. -2010-07-17 Chong Yidong + * calc/calccomp.el (math-comp-highlight-string): Use + `calc-highlight-selections-with-faces' to determine how to highlight + sub-formulas. - * dired.el (dired-buffers-for-dir): Handle list values of - dired-directory (Bug#6636). + * calc/calc-sel.el (calc-show-selections): Change message to when + using faces to highlight selections. -2010-07-16 Reiner Steib +2010-08-07 Michael R. Mauger - * vc.el (vc-coding-system-inherit-eol): New defvar. - (vc-coding-system-for-diff): Use it to decide whether to inherit - from the file the EOL format for reading the diffs of that file. - (Bug#4451) + * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords): + Add SQLite 3 keywords, functions and datatypes. + (sql-interactive-mode): Remove `comint-process-echoes' set to t + (Bug#6686). -2010-07-16 Eli Zaretskii +2010-08-07 Chong Yidong - * mail/rmailmm.el (rmail-mime-save): Make the temp buffer - unibyte, so compressed attachments are not compressed again. + * simple.el (select-active-regions): Move to keyboard.c. + (deactivate-mark): Used saved-region-selection. + (select-active-region): Function removed. + (activate-mark, set-mark, push-mark-command) + (handle-shift-selection): Don't call it. + (keyboard-quit): Avoid adding the region to the window selection. -2010-07-14 Jan Djärv + * mouse.el (mouse-drag-track): Remove hacks to deal with old + select-active-regions implementation. + (mouse-yank-at-click): Doc fix. - * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127 - now that unicode is used (Bug#6594). + * cus-start.el: Add custom declaration for select-active-regions. -2010-07-14 Chong Yidong +2010-08-07 Eli Zaretskii - * simple.el (push-mark-command): Set the selection if - select-active-regions is non-nil. + * simple.el (delete-forward-char): Doc fix. -2010-07-10 Glenn Morris + * tutorial.el (help-with-tutorial): Hack safe file-local variables + after reading the tutorial. - * calendar/calendar.el (calendar-week-end-day): New function. - * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars. - Respect calendar-week-start-day. (Bug#6606) - (cal-tex-insert-day-names, cal-tex-insert-blank-days) - (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day. - (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and - respect calendar-week-start-day. +2010-08-06 Alan Mackenzie -2010-07-10 Chong Yidong + * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix + for the case that a C style comment has its delimiters alone on + their respective lines. - * simple.el (use-region-p): Doc fix (Bug#6607). +2010-08-06 Michael Albinus -2010-07-07 Christoph Scholtes + * net/tramp.el (tramp-handle-start-file-process): Set connection + property "vec". + (tramp-process-sentinel): Use it for flushing the cache. We + cannot do it via the process buffer, the buffer could be deleted + already when running the sentinel. - * progmodes/python.el (python-font-lock-keywords): Add Python 2.7 - builtins (BufferError, BytesWarning, WindowsError; callables - bin, bytearray, bytes, format, memoryview, next, print; __package__). +2010-08-06 Jürgen Hötzel (tiny change) -2010-07-07 Glenn Morris + * comint.el (comint-mode): Make directory tracking functions + functional on remote files. (Bug#6764) - * play/zone.el (zone-fall-through-ws): Fix next-line -> - forward-line fallout. +2010-08-06 Dan Nicolaescu -2010-07-06 Chong Yidong + * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer. - * mouse.el (mouse-appearance-menu): Add docstring. +2010-08-05 Eli Zaretskii - * help.el (describe-key): Print up-event using key-description. + * emacs-lisp/find-gc.el (find-gc-source-files): Rename + unexec.c => unexcoff.c. -2010-07-03 Michael Albinus + * emacs-lisp/authors.el (authors-fixed-entries): Rename + unexec.c => unexcoff.c. - * net/zeroconf.el (zeroconf-resolve-service) - (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'. - (zeroconf-publish-service): Use `dbus-string-to-byte-array'. +2010-08-05 Michael Albinus -2010-07-03 Jan Moringen + * net/tramp.el (tramp-handle-dired-uncache): Flush directory + cache, not only file cache. + (tramp-process-sentinel): New defun. + (tramp-handle-start-file-process): Use it, in order to invalidate + file caches. - * net/zeroconf.el (zeroconf-service-remove-hook): New defun. +2010-08-03 Leo -2010-06-30 Dan Nicolaescu + * server.el (server-start): Simplify loop. - Avoid displaying files with a nil state in vc-dir. - * vc-dir.el (vc-dir-update): Obey the noinsert argument in all - cases that cause insertion. - (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files - with a nil state. +2010-08-02 Stefan Monnier -2010-06-30 Chong Yidong + * frame.el (screen-height, screen-width, set-screen-width) + (set-screen-height): Remove ancient compatibility aliases. - * xml.el (xml-parse-region): Avoid infloop (Bug#5281). + * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces + when justifying. It seems useless and harmful for ncols=1 (bug#6738). -2010-06-29 Leo + * emacs-lisp/timer.el (timer-event-handler): Protect against timers + that change current buffer. - * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537) +2010-08-01 YAMAMOTO Mitsuharu -2010-06-27 Oleksandr Gavenko (tiny change) + * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the + beginning of the string. Use `string-match-p'. (Bug#6765) - * generic-x.el (bat-generic-mode): Fix regexp for command line - switches (Bug#5719). +2010-08-01 Jan Djärv -2010-06-27 Masatake YAMATO + * cus-start.el (x-gtk-use-system-tooltips): New variable. - * htmlfontify.el (hfy-face-attr-for-class): Use append instead - of nconc to avoid pure storage error (Bug#6239). +2010-08-01 Chong Yidong -2010-06-27 Christoph (tiny change) + * emacs-lisp/package.el (package--list-packages): Fix column alignment. + (package--builtins): Tweak descriptions. + (package-print-package): Upcase descriptions if necessary. + Show all built-in packages in font-lock-builtin-face. + (package-list-packages-internal): Omit "emacs" package. + Show status of built-in packages as "built-in". - * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window) - (bookmark-bmenu-other-window-with-mouse): Remove unnecessary - bindings of bookmark-automatically-show-annotations (Bug#6515). +2010-07-31 Chong Yidong -2010-06-25 Eli Zaretskii + * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark + before killing to preserve the primary selection (Bug#6701). - * arc-mode.el (archive-zip-extract): Don't quote the file name on - MS-Windows and MS-DOS. (Bug#6467, Bug#6144) + * term/x-win.el (x-select-text): Doc fix. -2010-06-24 Štěpán Němec (tiny change) +2010-07-31 Nathaniel Flath - * comint.el (make-comint, make-comint-in-buffer): Mention return - value in the docstrings. (Bug#6498) + Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang). + The following functions were modified or created: -2010-06-24 Yoni Rabkin + * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms) + (objc-font-lock-extra-types): + * progmodes/cc-mode.el (c-basic-common-init): + * progmodes/cc-langs.el (c-make-mode-syntax-table) + (c++-make-template-syntax-table) + (c-identifier-syntax-modifications, c-symbol-start, c-operators) + (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds) + (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re) + (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key): + * progmodes/cc-fonts.el (c-make-inverse-face) + (c-basic-matchers-after): + * progmodes/cc-engine.el (c-forward-keyword-clause) + (c-forward-<>-arglist, c-forward-<>-arglist-recur) + (c-forward-name, c-forward-type, c-forward-decl-or-cast-1) + (c-guess-continued-construct, c-guess-basic-syntax): - * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern, - since it is not present when using some non-default switches. +2010-07-31 Jan Djärv -2010-06-23 Karl Fogel + * faces.el (face-all-attributes): Improve documentation (Bug#6767). - * simple.el (compose-mail): Fix doc string to refer to - `compose-mail-user-agent-warnings', instead of to the - nonexistent `compose-mail-check-user-agent'. +2010-07-31 Eli Zaretskii -2010-06-22 Dan Nicolaescu + * files.el (bidi-paragraph-direction): Define safe local values. - Fix vc-annotate for renamed files when using Git. - * vc-git.el (vc-git-find-revision): Deal with empty results from - ls-files. Doe not pass the object as a file name to cat-file, it - is not a file name. - (vc-git-annotate-command): Pass the file name using -- to avoid - ambiguity with the revision. - (vc-git-previous-revision): Pass a relative file name. + * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to + language-info-alist. Remove outdated FIXME in a comment. -2010-06-22 Glenn Morris +2010-07-31 Alan Mackenzie - * progmodes/js.el (js-mode-map): Use standard capitalization and - ellipses for menu entries. + * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688: + Auto-fill broken in C/C++ modes. - * wid-edit.el (widget-complete): Doc fix. +2010-07-29 Jan Djärv -2010-06-22 Jürgen Hötzel (tiny change) + * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left) + (menu-bar-showhide-tool-bar-menu-customize-disable) + (menu-bar-showhide-tool-bar-menu-customize-enable-right) + (menu-bar-showhide-tool-bar-menu-customize-enable-bottom) + (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions + (menu-bar-showhide-tool-bar-menu): If tool bar is moveable, + make a menu for Options => toolbar that can move it. - * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change. +2010-07-29 Chong Yidong -2010-06-22 Dan Nicolaescu + * emacs-lisp/package-x.el (package--make-rss-entry): + (package-maint-add-news-item, package--update-news) + (package-upload-buffer-internal): New arg ARCHIVE-URL. - Fix annotating other revisions for renamed files in vc-annotate. - * vc-annotate.el (vc-annotate): Add an optional argument for the - VC backend. Use it when non-nil. - (vc-annotate-warp-revision): Pass the VC backend to vc-annotate. (Bug#6487) + * emacs-lisp/package.el (package-archive-url): Rename from + package-archive-id. + (package-install): Doc fix. + (package-download-single, package-download-tar, package-install) + (package-menu-view-commentary): Callers changed. - Fix vc-annotate-show-changeset-diff-revision-at-line for git. - * vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal): - Do not pass the file name to the 'previous-revision call when we - don't want a file diff. (Bug#6489) +2010-07-29 Michael Albinus -2010-06-21 Dan Nicolaescu + * net/tramp.el (tramp-handle-start-file-process): Check only for + `remote-tty' process property. + (tramp-open-shell): Don't check for tty. + (tramp-open-connection-setup-interactive-shell): Set `remote-tty' + process property. - Fix finding revisions for renamed files in vc-annotate. - * vc.el (vc-find-revision): Add an optional argument for - the VC backend. Use it when non-nil. - * vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC - backend to vc-find-revision. (Bug#6487) + * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote + host. -2010-06-21 Dan Nicolaescu +2010-07-28 Chong Yidong - Fix reading file names in Git annotate buffers. - * vc-git.el (vc-git-annotate-extract-revision-at-line): - Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481) + * emacs-lisp/package.el (package-load-list, package-archives) + (package-archive-contents, package-user-dir) + (package-directory-list, package--builtins, package-alist) + (package-activated-list, package-obsolete-alist): Mark as risky. + +2010-07-28 Phil Hagelberg + + Add support for non-default package repositories. + * emacs-lisp/package.el (package-archive-base): Var deleted. + (package-archives): New variable. + (package-archive-contents): Doc fix. + (package-load-descriptor): Do nothing if descriptor file is missing. + (package--write-file-no-coding): New function. + (package-unpack-single): Use it. + (package-archive-id): New function. + (package-download-single, package-download-tar) + (package-menu-view-commentary): Use it. + (package-installed-p): Make second argument optional. + (package-read-all-archive-contents): New function. + (package-initialize): Use it. + (package-read-archive-contents): Add ARCHIVE argument. + (package--add-to-archive-contents): New function. + (package-install): Don't call package-read-archive-contents. + (package--download-one-archive): Store archive file in a + subdirectory of package-user-dir. + (package-menu-execute): Remove spurious line movement. + +2010-07-28 Jan Djärv + + * cus-start.el (tool-bar-style): Add text-image-horiz. + +2010-07-28 Michael Albinus + + * progmodes/gud.el (gud-common-init): Check for remoteness of + `file', and not of `default-directory'. + +2010-07-28 Michael Albinus + + * net/tramp.el (tramp-methods): Move hostname to the end in all + ssh `tramp-login-args'. + (tramp-verbose): Describe verbose level 9. + (tramp-open-shell): Check for tty if `tramp-verbose' >= 9. + (tramp-open-connection-setup-interactive-shell): Trace stty + settings if `tramp-verbose' >= 9. + (tramp-handle-start-file-process): Implement tty setting. + (Bug#4604, Bug#6360) + + * net/tramp-cmds.el (tramp-bug): Recommend setting of + `tramp-verbose' to 9. + +2010-07-27 Aaron S. Hawley + + * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode) + (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp): + Remove references to package `lisp-re' (bug#4369). + +2010-07-27 Tom Tromey + + * progmodes/js.el (js-mode): + * progmodes/make-mode.el (makefile-mode): + * progmodes/simula.el (simula-mode): + * progmodes/tcl.el (tcl-mode): Derive from prog-mode. + +2010-07-27 Juanma Barranquero + + * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494). + - * cedet/semantic/db-file.el (object-write): Fix typo in docstring. - + * time.el (display-time-day-and-date): Remove spurious * in docstring. + (display-time-world-buffer-name, display-time-world-mode-map): + Fix typos in docstrings. + +2010-07-27 Shyam Karanatt (tiny change) + + * image-mode.el (image-display-size): New function. + (image-forward-hscroll, image-next-line, image-eol, image-eob) + (image-mode-fit-frame): Use it (Bug#6639). + +2010-07-27 Chong Yidong + + * dired.el (dired-buffers-for-dir): Handle list values of + dired-directory (Bug#6636). + +2010-07-26 Sam Steingold + + * mouse.el (mouse-yank-primary, mouse-yank-secondary): + Do not call `x-get-selection' the second time, reuse the value. + +2010-07-26 Daiki Ueno + + * epa-mail.el (epa-mail-mode-map): Add alternative key bindings + which consist of control chars only. Suggested by Richard Stallman. + +2010-07-25 Daiki Ueno + + * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE + exists before passing an error to find-file-not-found-functions + (bug#6723). + +2010-07-23 Lukas Huonker + + * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank): + Remove leading nil element, adjust values. + (tetris-shapes, tetris-shape-scores): + Change representation of shapes and remove some redundancy. + (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape) + (tetris-draw-shape, tetris-erase-shape, tetris-test-shape): + Adjust for working with new representation of shapes. + (tetris-shape-rotations): New function. + (tetris-move-bottom, tetris-move-left, tetris-move-right) + (tetris-rotate-prev, tetris-rotate-next): + Adjust for working with the new version of tetris-test-shape. + +2010-07-23 Markus Triska + + * progmodes/ps-mode.el: Use comint (bug#5954). + (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return].. + (ps-mode-other-newline): Simplify. + (ps-run-mode): Derive from comint-mode instead of + fundamental-mode, yielding input history etc. + (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region) + (ps-run-send-string): Adapt for comint-mode. + (ps-run-newline): Remove now unneeded function. + +2010-07-23 Michael Albinus + + * net/tramp.el (tramp-methods): Move hostname to the end in all + plink `tramp-login-args'. + +2010-07-23 Michael Albinus + + * net/tramp.el (tramp-open-shell): New defun. + (tramp-find-shell, tramp-open-connection-setup-interactive-shell): + Use it. + +2010-07-23 Michael Albinus + + * net/tramp.el (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) + +2010-07-23 Juanma Barranquero + + * custom.el (custom-declare-variable): Give a clearer error message + when the docstring is missing (bug#6476). + +2010-07-22 Michael R. Mauger + + * progmodes/sql.el: Version 2.4. Improved Login prompting. + (sql-login-params): New widget definition. + (sql-oracle-login-params, sql-mysql-login-params) + (sql-solid-login-params, sql-sybase-login-params) + (sql-informix-login-params, sql-ingres-login-params) + (sql-ms-login-params, sql-postgres-login-params) + (sql-interbase-login-params, sql-db2-login-params) + (sql-linter-login-params): Use it. + (sql-sqlite-login-params): Use it; Define "database" parameter as + a file name. + (sql-sqlite-program): Change to "sqlite3". + (sql-comint-sqlite): Make sure database name is complete. + (sql-for-each-login): New function. + (sql-connect, sql-save-connection): Use it. + (sql-get-login-ext): New function. + (sql-get-login): Use it. + (sql-make-alternate-buffer-name): Handle :file parameters. + +2010-07-22 Juanma Barranquero + + * dired.el (dired-no-confirm): Document value t and fix defcustom to + accept it (bug#6597). Suggested by Drew Adams . + +2010-07-22 Teemu Likonen (tiny change) + + * dired.el (dired-mode-map): Use command remapping (bug#6632). + +2010-07-22 Lawrence Mitchell + + * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620). + +2010-07-21 Michael Albinus + + * net/tramp.el (tramp-get-ls-command) + (tramp-get-ls-command-with-dired): Run tests on "/dev/null" + instead of "/". + +2010-07-20 Michael R. Mauger + + * progmodes/sql.el: Version 2.3. + (sql-connection-alist): Changed keys from symbols to strings; + enhanced the widget definition. + (sql-mode-menu): Added submenu to select connections. + (sql-interactive-mode-menu): Added "Save Connection" item. + (sql-add-product): Fixed menu item. + (sql-get-product-feature): Improved error handling. + (sql--alt-buffer-part, sql--alt-if-not-empty): Removed. + (sql-make-alternate-buffer-name): Simplified. + (sql-product-interactive): Handle missing product. + (sql-connect): Support string keys, minor improvements. + (sql-save-connection): New function. + (sql-connection-menu-filter): New function. + +2010-07-20 Michael Albinus + + * net/tramp.el (tramp-file-name-handler): Trace 'quit. + (tramp-open-connection-setup-interactive-shell): Apply + workaround for IRIX64 bug. Move argument of last + `tramp-send-command' where it belongs to. + +2010-07-20 Michael Albinus + + * net/tramp.el (tramp-perl-file-attributes) + (tramp-perl-directory-files-and-attributes): Don't pass "$3". + (tramp-maybe-open-connection): Use `async-args' and `gw-args' in + front of `login-args'. + +2010-07-19 Juanma Barranquero + + * time.el (display-time-world-mode): Define with `define-derived-mode'. + Set `show-trailing-whitespace' to nil. + (display-time-world-display): Simplify. + +2010-07-18 Alan Mackenzie + + Enhance `c-file-style' in file/directory local variables. + * progmodes/cc-mode.el (c-count-cfss): New function. + (c-before-hack-hook): Call `c-set-style' differently according to + whether c-file-style was set in file or directory local + variables. + +2010-07-18 Michael R. Mauger + + * progmodes/sql.el: Version 2.2. + (sql-product, sql-user, sql-database, sql-server, sql-port): Use + defcustom :safe keyword rather than putting safe-local-variable + property. + (sql-password): Use defcustom :risky keyword rather than putting + risky-local-variable property. + (sql-oracle-login-params, sql-sqlite-login-params) + (sql-solid-login-params, sql-sybase-login-params) + (sql-informix-login-params, sql-ingres-login-params) + (sql-ms-login-params, sql-postgres-login-params) + (sql-interbase-login-params, sql-db2-login-params) + (sql-linter-login-params): Add `port' option. + (sql-get-product-feature): Added NO-INDIRECT parameter. + (sql-comint-oracle, sql-comint-sybase) + (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql) + (sql-comint-solid, sql-comint-ingres, sql-comint-ms) + (sql-comint-postgres, sql-comint-interbase, sql-comint-db2) + (sql-comint-linter): Renamed sql-connect-* functions to + sql-comint-*. + (sql-product-alist, sql-mode-menu): Renamed as above and + :sqli-connect-func to :sqli-comint-func. + (sql-connection): New variable. + (sql-interactive-mode): Set it. + (sql-connection-alist): New variable. + (sql-connect): New function. + (sql--alt-buffer-part, sql--alt-if-not-empty) + (sql-make-alternate-buffer-name): Improved alternative buffer name. + +2010-07-17 Thierry Volpiatto + + * image-mode.el (image-bookmark-make-record): Do not set context + in an image (Bug#6650). + +2010-07-17 Chong Yidong + + * simple.el (select-active-region): New function. + (push-mark-command, set-mark, activate-mark) + (handle-shift-selection): Use it. + (deactivate-mark): Don't check for size of region. + + * mouse.el (mouse-drag-track): Use select-active-region. + +2010-07-17 Michael Albinus + + * net/tramp.el (tramp-get-ls-command-with-dired): Make test for + "--dired" stronger. + +2010-07-17 Chong Yidong + + * term/x-win.el (x-select-enable-primary): Change default to nil. + (x-select-enable-clipboard): Add :version keyword. + + * mouse.el (mouse-drag-copy-region): + * simple.el (select-active-regions): Likewise. + +2010-07-16 Reiner Steib + + * vc/vc.el (vc-coding-system-inherit-eol): New defvar. + (vc-coding-system-for-diff): Use it to decide whether to inherit + from the file the EOL format for reading the diffs of that file. + (Bug#4451) + +2010-07-16 Eli Zaretskii + + * mail/rmailmm.el (rmail-mime-save): Make the temp buffer + unibyte, so compressed attachments are not compressed again. + +2010-07-16 Michael Albinus + + * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired + "/bin/sh" but `tramp-remote-sh' from `tramp-methods'. + (tramp-find-shell): Simplify setting connection property. + (tramp-get-ls-command): Make test for "--color=never" stronger. + +2010-07-15 Simon South + + * progmodes/delphi.el (delphi-previous-indent-of): Indent case + blocks within record declarations (i.e. variant parts) correctly. + +2010-07-15 Simon South + + * progmodes/delphi.el (delphi-token-at): Give newlines precedence + over literal tokens when parsing so newlines aren't "absorbed" by + single-line comments. Corrects the indentation of case blocks + that have a comment on the first line. + +2010-07-14 Karl Fogel + + * bookmark.el (bookmark-load-hook): Fix doc string as suggested + by Drew Adams (Bug#5504). + +2010-07-14 Jan Djärv + + * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127 + now that Unicode is used (Bug#6594). + +2010-07-14 Chong Yidong + + * term/x-win.el (x-select-enable-clipboard): Default to t. + (x-initialize-window-system): Don't overwrite Paste menu item. + + * simple.el (select-active-regions): Default to t. + (push-mark-command): Don't overwrite primary with empty string. + + * mouse.el: Bind mouse-2 to mouse-yank-primary. + (mouse-drag-copy-region): Default to nil. + + * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite + Cut/Copy/Paste menu bar items. + +2010-07-13 Thierry Volpiatto + + Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975). + Patch applied by Karl Fogel. + + * bookmark.el (bookmark-set): Don't set `bookmark-yank-point' + and `bookmark-current-buffer' if they have been already set in + another buffer (e.g gnus-art). + +2010-07-13 Karl Fogel + Thierry Volpiatto + + Preparation for setting bookmarks in Gnus article buffers (Bug#5975). + + * bookmark.el (bookmark-make-record-default): Allow unneeded + information to be omitted from the record. + + Adjust declarations and calls: + + * info.el (bookmark-make-record-default): Adjust declaration. + (Info-bookmark-make-record): Adjust call. + + * woman.el (bookmark-make-record-default): Adjust declaration. + (woman-bookmark-make-record): Adjust call. + + * man.el (bookmark-make-record-default): Adjust declaration. + (Man-bookmark-make-record): Adjust call. + + * image-mode.el (bookmark-make-record-default): Adjust declaration. + + * doc-view.el (bookmark-make-record-default): Adjust declaration. + +2010-07-13 Karl Fogel + + * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'. + This is also from Thierry Volpiatto's patch in bug #6444. However, + because it was extraneous to the functional change in that patch, + and causes a re-indendation, I am committing it separately. + +2010-07-13 Thierry Volpiatto + + * bookmark.el (bookmark-show-annotation): Ensure annotations show, + e.g. in Info bookmarks, by using `switch-to-buffer-other-window'. + Patch applied by Karl Fogel (Bug#6444). + +2010-07-13 Chong Yidong + + * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625). + +2010-07-13 Adrian Robert + + * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew + Dempsky; bug#5084). Remove incorrect binding for S-tab. + (ns-alternatives-map): Change S-tab binding to backtab + (bug#6616). + + * simple.el (normal-erase-is-backspace-setup-frame): Set mode on + under ns. + +2010-07-12 Andreas Schwab + + * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs. + (Bug#5806) + + * language/tv-util.el (tai-viet-re): Remove format. + +2010-07-12 Kenichi Handa + + * language/hebrew.el: Remove no-byte-compile declaration. + Change coding: tag to utf-8. Register hebrew-shape-gstring in + composition-function-table for 3-character looking back. + (hebrew-font-get-precomposed): New function. + (hebrew-shape-gstring): Utilize precomposed glyphs if available. + +2010-07-11 Chong Yidong + + * mouse.el (mouse-drag-track): Handle select-active-regions + (Bug#6612). + +2010-07-11 Magnus Henoch + + * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass + empty argument to gvfs-copy. + +2010-07-10 Glenn Morris + + * calendar/calendar.el (calendar-week-end-day): New function. + * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars. + Respect calendar-week-start-day. (Bug#6606) + (cal-tex-insert-day-names, cal-tex-insert-blank-days) + (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day. + (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and + respect calendar-week-start-day. + +2010-07-10 Chong Yidong + + * simple.el (use-region-p): Doc fix (Bug#6607). + +2010-07-10 Aleksei Gusev (tiny change) + + * progmodes/compile.el (compilation-error-regexp-alist-alist): Add + regexps for cucumber and ruby. + +2010-07-08 Daiki Ueno + + * epa-file.el (epa-file-error, epa-file--find-file-not-found-function) + (epa-file-insert-file-contents): Hack to prevent + find-file from opening empty buffer when decryption failed + (bug#6568). + +2010-07-07 Agustín Martín + + * textmodes/ispell.el (ispell-alternate-dictionary): + Use file-readable-p. + Return nil if no word-list is found at default locations. + (ispell-complete-word-dict): Default to nil. + (ispell-command-loop): Use 'word-list' when using lookup-words. + (lookup-words): Use ispell-complete-word-dict or + ispell-alternate-dictionary. Check for word-list availability + and handle errors if needed with better messages (Bug#6539). + (ispell-complete-word): Use ispell-complete-word-dict or + ispell-alternate-dictionary. + +2010-07-07 Christoph Scholtes + + * progmodes/python.el (python-font-lock-keywords): Add Python 2.7 + builtins (BufferError, BytesWarning, WindowsError; callables + bin, bytearray, bytes, format, memoryview, next, print; __package__). + +2010-07-07 Glenn Morris + + * play/zone.el (top-level): Do not require timer, tabify, or cl. + (zone-shift-left): Ignore intangibility, and any errors from + forward-char. + (zone-shift-right): Remove no-op end-of-line. Ignore intangibility. + (zone-pgm-putz-with-case): Use upcase-region rather than inserting, + deleting, and copying text properties. + (zone-line-specs, zone-pgm-stress): Check forward-line exit status. + (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting + to point-max is hard. + (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes. + (zone-fill-out-screen): Ignore intangibility. + +2010-07-05 Chong Yidong + + * menu-bar.el (menu-bar-mode): + * tool-bar.el (tool-bar-mode): Replace default-frame-alist element + if it has been set. + + * mouse.el (mouse-drag-track): Call mouse-start-end to handle + word/line selection (Bug#6565). + +2010-07-04 Juanma Barranquero + + * net/dbus.el (dbus-send-signal): Declare function. + +2010-07-04 Michael Albinus + + * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1). + (dbus-register-property): New optional argument EMITS-SIGNAL. + (dbus-property-handler): Send signal "PropertiesChanged" if requested. + +2010-07-03 Chong Yidong + + * mouse.el (mouse-drag-overlay): Variable deleted. + (mouse-move-drag-overlay, mouse-show-mark): Functions deleted. + (mouse--remap-link-click-p): New function. + (mouse-drag-track): Handle dragging by using temporary Transient + Mark mode, instead of a special overlay. + (mouse-kill-ring-save, mouse-save-then-kill): Don't call + mouse-show-mark. + + * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay + deleted. + +2010-07-02 Juri Linkov + + * autoinsert.el (auto-insert-alist): Fix readability + by using dotted pair notation for lambda. + +2010-07-02 Juri Linkov + + * faces.el (read-face-name): Rename arg `string-describing-default' + to `default'. Doc fix. Display the default value in quotes + in the prompt. With empty input, return the `default' arg, + unless the default value is a string (in which case return nil). + (describe-face): Replace the string `default' arg of `read-face-name' + with the symbol `default'. + +2010-07-02 Chong Yidong + + * emulation/viper-cmd.el (viper-delete-backward-char) + (viper-del-backward-char-in-insert) + (viper-del-backward-char-in-replace, viper-change) + (viper-backward-indent): Replace delete-backward-char with + delete-char (Bug#6552). + +2010-07-01 Chong Yidong + + * ruler-mode.el (ruler--save-header-line-format): Fix typos. + +2010-06-30 Chong Yidong + + * frame.el (make-frame): Add default-frame-alist to the PARAMETERS + argument passed to frame-creation-function (Bug#5378). + + * faces.el (x-handle-named-frame-geometry) + (x-handle-reverse-video, x-create-frame-with-faces) + (face-set-after-frame-default, tty-create-frame-with-faces): Don't + separately consult default-frame-alist. It is now passed as the + PARAMETER argument. + +2010-06-30 Andreas Schwab + + * startup.el (command-line): Don't call tool-bar-setup in a + tty-only build. + +2010-06-30 Chong Yidong + + * ruler-mode.el (ruler--save-header-line-format): New fun. + (ruler-mode): Use it as a setter function, so as not to overwrite + ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370). + +2010-06-29 Chong Yidong + + * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers. + (vc-root-diff, vc-print-root-log, vc-log-incoming) + (vc-log-outgoing): Use it. + (vc-diff-internal): Set diff-vc-backend. + + * vc/diff-mode.el (diff-vc-backend): New var. + +2010-06-28 Jan Djärv + + * dynamic-setting.el (font-setting-change-default-font): Remove + call to message. + +2010-06-28 Kenichi Handa + + * international/quail.el (quail-insert-kbd-layout): Fix the + showing of untranslated characters. + +2010-06-28 Chong Yidong + + * simple.el (delete-active-region): New option. + (delete-backward-char): Implement in Lisp. + (delete-forward-char): New command. + + * mouse.el (mouse-region-delete-keys): Deleted. + (mouse-show-mark): Simplify. + + * bindings.el (global-map): Bind delete and DEL, the former to + delete-forward-char. + +2010-06-27 Lennart Borgman + + * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB. + (ruby-mode): Bind indent-line-function (Bug#5119). + +2010-06-27 Chong Yidong + + * startup.el (command-line): Recognize "0" X resource value. + +2010-06-27 Chong Yidong + + * startup.el (command-line): Use X resources to set the value of + menu-bar-mode and tool-bar-mode, before calling frame-initialize. + + * menu-bar.el (menu-bar-mode): + * tool-bar.el (tool-bar-mode): Don't change default-frame-alist. + Set init-value to t. + + * frame.el (frame-notice-user-settings): Don't change + default-frame-alist based on menu-bar-mode and tool-bar-mode, or + vice versa (Bug#2249). + +2010-06-26 Eli Zaretskii + + * w32-fns.el (w32-convert-standard-filename): Doc fix. + +2010-06-25 Agustín Martín + + * textmodes/flyspell.el (flyspell-check-previous-highlighted-word): + Make sure `flyspell-word' re-checks word after function run (Bug#6504). + + * textmodes/ispell.el (ispell-init-process): Make sure ispell and + default directories are expanded (Bug#6143). + +2010-06-24 Juri Linkov + + * minibuffer.el (completions-format): Change default from nil to + `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459) + +2010-06-24 Juri Linkov + + * vc/vc.el (vc-diff-internal): Set `revert-buffer-function' + buffer-locally to lambda that re-runs the vc diff command. + (Bug#6447) + +2010-06-24 Chong Yidong + + * kmacro.el (kmacro-call-macro): Don't issue hint message if the + echo area is in use (Bug#3412). + +2010-06-22 Glenn Morris + + * textmodes/texinfmt.el (texinfo-format-region) + (texinfo-raise-lower-sections, texinfo-format-separate-node) + (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias) + (texinfo-format-option, texinfo-noindent): + Use line-beginning-position and line-end-position. + + * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el: + * calc/calc-store.el, calc/calc-units.el, calc/calc.el: + * calc/calccomp.el: Add explicit utf-8 coding cookies to files with + utf-8 characters. + +2010-06-21 Karl Fogel + + * play/zone.el (zone-fall-through-ws): Fix next-line -> + forward-line fallout. + +2010-07-06 Chong Yidong + + * mouse.el (mouse-appearance-menu): Add docstring. + + * help.el (describe-key): Print up-event using key-description. + +2010-07-03 Michael Albinus + + * net/zeroconf.el (zeroconf-resolve-service) + (zeroconf-service-resolver-handler): Use + `dbus-byte-array-to-string'. + (zeroconf-publish-service): Use `dbus-string-to-byte-array'. + +2010-07-03 Jan Moringen + + * net/zeroconf.el (zeroconf-service-remove-hook): New defun. + +2010-06-30 Dan Nicolaescu + + Avoid displaying files with a nil state in vc-dir. + * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all + cases that cause insertion. + (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files + with a nil state. + +2010-06-30 Chong Yidong + + * xml.el (xml-parse-region): Avoid infloop (Bug#5281). + +2010-06-29 Leo + + * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537) + +2010-06-27 Oleksandr Gavenko (tiny change) + + * generic-x.el (bat-generic-mode): Fix regexp for command line + switches (Bug#5719). + +2010-06-27 Masatake YAMATO + + * htmlfontify.el (hfy-face-attr-for-class): Use append instead + of nconc to avoid pure storage error (Bug#6239). + +2010-06-27 Christoph (tiny change) + + * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window) + (bookmark-bmenu-other-window-with-mouse): Remove unnecessary + bindings of bookmark-automatically-show-annotations (Bug#6515). + +2010-06-25 Eli Zaretskii + + * arc-mode.el (archive-zip-extract): Don't quote the file name on + MS-Windows and MS-DOS. (Bug#6467, Bug#6144) + +2010-06-24 Štěpán Němec (tiny change) + + * comint.el (make-comint, make-comint-in-buffer): Mention return + value in the docstrings. (Bug#6498) + +2010-06-24 Yoni Rabkin + + * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern, + since it is not present when using some non-default switches. + +2010-06-23 Karl Fogel + + * simple.el (compose-mail): Fix doc string to refer to + `compose-mail-user-agent-warnings', instead of to the + nonexistent `compose-mail-check-user-agent'. + +2010-06-21 Alan Mackenzie + + Fix an indentation bug: + + * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END. + (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account + of existing values. + + * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after) + (c-clear->-pair-props-if-match-before): now return t when they've + cleared properties, nil otherwise. + (c-before-change-check-<>-operators): Set c-new-beg/end correctly + by taking account of the existing value. + + * progmodes/cc-defs.el + (c-clear-char-property-with-value-function): Fix this to clear the + property rather than overwriting it with nil. + +2010-06-20 Chong Yidong + + * emacs-lisp/package.el (package-print-package): Add link to + package description via describe-package. + (describe-package-1): List package requirements. Add button to + perform installation. + (package-menu-describe-package): New command. + + * help-mode.el (help-package): New button type. + +2010-06-19 Chong Yidong + + * emacs-lisp/package.el: Move package-list-packages binding to + menu-bar.el. + (describe-package, describe-package-1, package--dir): New funs. + (package-activate-1): Use package--dir. + + * emacs-lisp/package-x.el (gnus-article-buffer): Require package. + + * help-mode.el (help-package-def): New button type. + + * menu-bar.el: Move package-list-packages binding here from + package.el. + +2010-06-19 Gustav Hållberg (tiny change) + + * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423) + +2010-06-18 Stefan Monnier + + * emacs-lisp/edebug.el (edebug-read-list): + Phase out old-style backquotes. + +2010-06-17 Juri Linkov + + * help-mode.el (help-mode): Set buffer-local variable + revert-buffer-function to help-mode-revert-buffer. + (help-mode-revert-buffer): New function. + + * info.el (Info-revert-find-node): Check for major-mode Info-mode + before popping to "*info*" (like in other Info functions). + Keep buffer-name in old-buffer-name. Keep Info-history-forward in + old-history-forward. Pop to old-buffer-name or "*info*" to + recreate the killed buffer. Set Info-history-forward from + old-history-forward. + (Info-breadcrumbs-depth): Add :group and :version. + +2010-06-17 Dan Nicolaescu + + * emacs-lisp/package.el (package-menu-mode-map): Add a menu. + +2010-06-17 Agustín Martín + + * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp + for languages like Portuguese with pt_{BR,PT} and no plain pt. + +2010-06-17 Juanma Barranquero + + * emacs-lisp/package.el (package-menu-mode-map): + Move initialization into declaration. + + * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry. + +2010-06-17 Chong Yidong + + * emacs-lisp/package.el (package-archive-base): Point to + elpa.gnu.org. + (package-enable, package-load-list): New defcustoms. + (package-user-dir, package-directory-list): Turn into defcustoms. + Don't include package-user-dir in package-directory-list. + (package--builtins-base): Don't include Emacs as a "package". + (package-subdirectory-regexp): New var. + (package-load-all-descriptors, package-compute-transaction) + (package-download-transaction): Obey package-load-list. + (package-activate-1): Rename from package-do-activate. + (package-list-packages-internal): Check package-load-list. + (package-load-descriptor, package-generate-autoloads) + (package-unpack, package-unpack-single) + (package--read-archive-file, package-delete): Use + expand-file-name. + + * emacs-lisp/package-x.el: New file. Package uploading + functionality split out from package.el. + + * startup.el (command-line): Load packages after reading init + file. + +2010-06-17 Tom Tromey + + * emacs-lisp/package.el: New file. + +2010-06-22 Dan Nicolaescu + + Fix vc-annotate for renamed files when using Git. + * vc-git.el (vc-git-find-revision): Deal with empty results from + ls-files. Doe not pass the object as a file name to cat-file, it + is not a file name. + (vc-git-annotate-command): Pass the file name using -- to avoid + ambiguity with the revision. + (vc-git-previous-revision): Pass a relative file name. + +2010-06-22 Glenn Morris + + * progmodes/js.el (js-mode-map): Use standard capitalization and + ellipses for menu entries. + + * wid-edit.el (widget-complete): Doc fix. + +2010-06-22 Jürgen Hötzel (tiny change) + + * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change. + +2010-06-22 Dan Nicolaescu + + Fix annotating other revisions for renamed files in vc-annotate. + * vc-annotate.el (vc-annotate): Add an optional argument for the + VC backend. Use it when non-nil. + (vc-annotate-warp-revision): Pass the VC backend to vc-annotate. + (Bug#6487) + + Fix vc-annotate-show-changeset-diff-revision-at-line for git. + * vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal): + Do not pass the file name to the 'previous-revision call when we + don't want a file diff. (Bug#6489) + +2010-06-21 Dan Nicolaescu + + Fix finding revisions for renamed files in vc-annotate. + * vc.el (vc-find-revision): Add an optional argument for + the VC backend. Use it when non-nil. + * vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC + backend to vc-find-revision. (Bug#6487) + +2010-06-21 Dan Nicolaescu + + Fix reading file names in Git annotate buffers. + * vc-git.el (vc-git-annotate-extract-revision-at-line): Remove + trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481) + +2010-06-20 Alan Mackenzie + + * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set + in file local variables, set it first. + +2010-06-19 Glenn Morris + + * descr-text.el (describe-char-unicode-data): Insert separating + space when needed. (Bug#6422) + + * progmodes/idlwave.el (idlwave-action-and-binding): + Fix typo in 2009-12-03 change. (Bug#6450) + +2010-06-17 Stefan Monnier + + * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special + handling for `lambda' (misunderstanding). + +2010-06-16 Jay Belanger + + * calc/calc-poly.el (math-accum-factors): Make sure that + constants aren't distributed after they are factored out. + +2010-06-16 Juri Linkov + + * facemenu.el (list-colors-display): Call `pop-to-buffer' before + `list-colors-print'. (Bug#6332) + + * subr.el (read-quoted-char): Fix up last change (bug#6290). + +2010-06-16 Stefan Monnier + + * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda' + specially, since it's a macro. Fix up wrong hint passed to maybe-cons. + + * font-lock.el (font-lock-major-mode): Rename from + font-lock-mode-major-mode to distinguish it from + global-font-lock-mode's own font-lock-mode-major-mode (bug#6135). + (font-lock-set-defaults): + * font-core.el (font-lock-default-function): Adjust users. + (font-lock-mode): Don't set it at all. + +2010-06-16 Stefan Monnier + + * vc-annotate.el (vc-annotate): Use vc-read-revision. + +2010-06-16 Glenn Morris + + * calendar/appt.el (appt-time-msg-list): Doc fix. + (appt-check): Let-bind appt-warn-time. + (appt-add): Make the 3rd argument optional. + Simplify argument names. Doc fix. Check for integer WARNTIME. + Only add WARNTIME to the output list if non-nil. + +2010-06-16 Ivan Kanis + + * calendar/appt.el (appt-check): Let the 3rd element of + appt-time-msg-list specify the warning time. + (appt-add): Add new argument with the warning time. (Bug#5176) + +2010-06-16 Bob Rogers (tiny change) + + * vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions + older than version 1.6. (Bug#6361) + +2010-06-16 Helmut Eller + + * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote', + used by cl-do-arglist. (Bug#6408) + +2010-06-16 Agustín Martín + + * textmodes/ispell.el (ispell-dictionary-base-alist): Fix + portuguese casechars/not-casechars for missing 'çÇ'. + Suggested by Rolando Pereira (bug#6434). + +2010-06-15 Juanma Barranquero + + * facemenu.el (list-colors-sort): Doc fix. + +2010-06-15 Bob Rogers (tiny change) + + * progmodes/sql.el (sql-connect-mysql): Fix typo. + +2010-06-14 Juri Linkov + + Add sort option `list-colors-sort'. (Bug#6332) + * facemenu.el (color-rgb-to-hsv): New function. + (list-colors-sort): New defcustom. + (list-colors-sort-key): New function. + (list-colors-display): Doc fix. Sort list according to the option + `list-colors-sort'. + (list-colors-print): Add HSV values to `help-echo' property of + RGB strings. + +2010-06-14 Juri Linkov + + * compare-w.el: Move to the "vc" subdirectory. + +2010-06-14 Stefan Monnier + + * image-mode.el (image-mode-map): Remap left-char and right-char. + + * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior. + +2010-06-12 Chong Yidong + + * term/common-win.el (x-colors): Add all the color names defined + in rgb.txt (Bug#6332). + + * facemenu.el (list-colors-print): Don't print extra names if it + will overflow the window width. + + * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02 + change (Bug#6343). + +2010-06-12 Eli Zaretskii + + * files.el (make-directory): Doc fix (bug#6396). + +2010-06-12 Michael Albinus + + * net/tramp.el (tramp-remote-process-environment): Protect version + string by apostroph. + (tramp-shell-prompt-pattern): Do not use a shy group in case of + XEmacs. + (tramp-file-name-for-operation): Add `call-process-region'. + (tramp-set-process-query-on-exit-flag): Fix wrong parentheses. + + * 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. + (tramp-advice-file-expand-wildcards): Do not use + `tramp-handle-file-remote-p'. + (tramp-compat-make-temp-file): Handle the case, that + `make-temp-file' has no third argument EXTENSION. + +2010-06-11 Juanma Barranquero + + * makefile.w32-in (WINS_BASIC): Include new directory vc. + + * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/. + +2010-06-11 Juri Linkov + + * finder.el (finder-known-keywords): Add keyword "vc" + for version control. + + * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el, + * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el, + * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el, + * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc". + +2010-06-11 Juri Linkov + + Move version control related files to the "vc" subdirectory. + * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el, + * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el, + * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el, + * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el, + * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el, + * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el, + * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el, + * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el: + Move files to the "vc" subdirectory. + +2010-06-11 Chong Yidong + + * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change + (Bug#6367). + +2010-06-11 Stephen Eglen + + * shell.el: Bind `shell-resync-dirs' to M-RET. + +2010-06-10 Michael Albinus + + * notifications.el: Move file from lisp/net, because it is + supposed to talk locally to the user. + +2010-06-10 Julien Danjou + + * net/notifications.el (notifications-on-action-signal) + (notifications-on-closed-signal): Pass notification id as first + argument to the callback functions. Add docstrings. + (notifications-notify): Fix docstring. + +2010-06-10 Glenn Morris + + * emacs-lisp/authors.el (authors-ignored-files) + (authors-valid-file-names): Add some files. + +2010-06-10 Stefan Monnier + + * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve + merge conflict, giving preference to the emacs-23 version of the code. + +2010-06-09 Stefan Monnier + + * emacs-lisp/advice.el (ad-compile-function): + Define warning-suppress-types before we let-bind it (bug#6275). + + * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook; + declare it, make it buffer-local and permanent-local (bug#6324). + (vc-resynch-window): Adjust name. + * vc-hooks.el (vc-find-file-hook): Adjust name. + +2010-06-09 Michael Albinus + + * net/notifications.el (notifications-notify): Fix docstring. + +2010-06-09 Juanma Barranquero + + Update to Unicode 6.0.0 beta. + * international/charprop.el: Update copyright. + * international/mule-cmds.el (ucs-names): Update character ranges. + * international/uni-bidi.el: + * international/uni-category.el: + * international/uni-combining.el: + * international/uni-comment.el: + * international/uni-decimal.el: + * international/uni-decomposition.el: + * international/uni-digit.el: + * international/uni-lowercase.el: + * international/uni-mirrored.el: + * international/uni-name.el: + * international/uni-numeric.el: + * international/uni-old-name.el: + * international/uni-titlecase.el: + * international/uni-uppercase.el: Regenerate. + +2010-06-09 Juanma Barranquero + + * emacs-lisp/smie.el (comment-string-strip): Declare function. + (smie-precs-precedence-table): Fix typo in docstring. + + * vc-mtn.el (log-edit-extract-headers): Declare function. + + * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration. + + * net/notifications.el (dbus-register-signal): Declare function. + (notifications-notify): Fix typos and reflow docstring. + +2010-06-09 Dan Nicolaescu + + Improve VC create/retrieve tag/branch. + * vc.el (vc-create-tag): Do not read the directory name for VCs + with repository revision granularity. Adjust the tag/branch + prompt. Reset VC properties. + (vc-retrieve-tag): Do not read the directory name for VCs + with repository revision granularity. Reset VC properties. + +2010-06-09 Julien Danjou + + * net/notifications.el: New file. + +2010-06-09 Dan Nicolaescu + + Add optional support for resetting VC properties. + * vc-dispatcher.el (vc-resynch-window): Add new optional argument, + call vc-file-clearprops when true. + (vc-resynch-buffer): Add new optional argument, pass it down. + (vc-resynch-buffers-in-directory): Likewise. + + Improve support for special markup in the VC commit message. + * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup. + * vc-hg.el (vc-hg-checkin): Add support for Date:. + * vc-git.el (vc-git-checkin): + * vc-bzr.el (vc-bzr-checkin): Likewise. + +2010-06-09 Stefan Monnier + + * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that + can be handled with a ((:before "fn") (:prev "=>" parent)) rule. + +2010-06-07 Martin Pohlack + + * iimage.el: Remove images as soon as the underlying text is modified. + (iimage-modification-hook): New function. + (iimage-mode-buffer): Use it. + +2010-06-07 Stefan Monnier + + * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from + smie-indent-offset-after. Add :prev case. Make a bit more generic. + (smie-indent-virtual): Remove `virtual' arg. Update callers. + (smie-indent-keyword): Add handling of open-paren keywords. + (smie-indent-comment-continue): Don't assume comment-continue. + +2010-06-07 Martin Rudalics + + * window.el (pop-to-buffer): Remove the conditional that + compares new-window and old-window, so it will reselect + the selected window unconditionally. + http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html + +2010-06-07 Stefan Monnier + + * emacs-lisp/smie.el (smie-indent-offset-after) + (smie-indent-forward-token, smie-indent-backward-token): New functions. + (smie-indent-after-keyword): Use them. + (smie-indent-fixindent): Only applies to the indentation of the BOL. + (smie-indent-keyword): Tweak the black magic. + (smie-indent-comment-continue): Strip comment-continue before use. + (smie-indent-functions): Indent comments before keywords. + +2010-06-06 Juri Linkov + + * isearch.el (isearch-lazy-highlight-search): Fix looping + by checking for empty match. This syncs this loop with the + similar loop in `isearch-search'. (Bug#6362) + +2010-06-05 Juanma Barranquero + + * net/dbus.el (dbus-register-method): Declare function. + (dbus-handle-event, dbus-property-handler): Fix typos in docstrings. + (dbus-introspect): Doc fix. + (dbus-event-bus-name, dbus-introspect-get-interface) + (dbus-introspect-get-argument): Reflow docstrings. + +2010-06-05 Dan Nicolaescu + + vc-log-incoming/vc-log-outgoing fixes for Git. + * vc-git.el (vc-git-log-view-mode): Fix font lock for + incoming/outgoing logs. + (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream} + instead of vc-git-compute-remote. + (vc-git-compute-remote): Remove. + +2010-06-04 Chong Yidong + + * term/common-win.el (x-colors): Add "dark green" and "dark + turquoise" (Bug#6332). + +2010-06-04 Juri Linkov + + * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates. + Instead of setting `replace' to t and replacing the same string + with itself, don't do certain actions when + kill-do-not-save-duplicates is non-nil and string is equal to car + of kill-ring: don't call menu-bar-update-yank-menu, don't push + interprogram-paste strings to kill-ring, and don't push the input + argument `string' to kill-ring. + http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html + +2010-06-04 Juanma Barranquero + + * subr.el (directory-sep-char): Move from fileio.c and make a defconst. + +2010-06-04 Michael Albinus + + * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/". + (tramp-gvfs-handler-mounted-unmounted) + (tramp-gvfs-connection-mounted-p): Handle default-location. + + * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to + move files to trash. + +2010-06-04 Juanma Barranquero + + * international/mule-cmds.el (nonascii-insert-offset) + (nonascii-translation-table): Add obsolescence information. + + * international/mule.el (make-translation-table-from-vector): Doc fix. + - 2010-06-03 Eric Ludlam - - * cedet/semantic/lex-spp.el - (semantic-lex-spp-table-write-slot-value): Instead of erroring on - invalid values during save, just save a nil (Bug#6324). - +2010-06-03 Glenn Morris + + * desktop.el (desktop-clear-preserve-buffers): + Add "*Warnings*" buffer. (Bug#6336) + +2010-06-03 Dan Nicolaescu + + vc-log-incoming/vc-log-outgoing improvements for Git. + * vc-git.el (vc-git-log-outgoing): Use the same format as the + short log. + (vc-git-log-incoming): Likewise. Run "git fetch" before the log command. + + Add bindings for vc-log-incoming and vc-log-outgoing. + * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming + and vc-log-outgoing. + * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming + and vc-log-outgoing. + +2010-06-03 Chong Yidong + + * net/rcirc.el (rcirc-sort-nicknames): Remove. + (rcirc-handler-366): Always sort nicknames. + +2010-06-03 Juanma Barranquero + + * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler. + +2010-06-03 Chong Yidong + + * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix. + +2010-06-03 Stefan Monnier + + * net/rcirc.el (rcirc-sort-nicknames): Change default. + (rcirc-sort-nicknames-join): Avoid setq. + +2010-06-03 Deniz Dogan + + * net/rcirc.el (rcirc-sort-nicknames): New custom. + (rcirc-nickname<, rcirc-sort-nicknames-join): New funs. + (rcirc-handler-366): Use them. + +2010-06-03 Stefan Monnier + + Split smie-indent-calculate into more manageable chunks. + * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent) + (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword) + (smie-indent-close, smie-indent-comment-continue, smie-indent-bob) + (smie-indent-exps): Extract from smie-indent-calculate. + (smie-indent-functions): New var. + (smie-indent-functions): Use them. + +2010-06-02 Stefan Monnier + + * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp. + (smie-indent-calculate): Simplify and cleanup. + +2010-06-02 Michael Albinus + + * net/tramp-gvfs.el (top): Require url-util. + (tramp-gvfs-mount-point): Remove. + (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command): + New defuns. + (with-tramp-dbus-call-method): Format trace message. + (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-make-directory): Make more traces. + (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): 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. + (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). + +2010-06-02 Dan Nicolaescu + + * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax. + +2010-06-01 Juanma Barranquero + + * emacs-lisp/eldoc.el: Add completions for new commands left-* and + right-*. (Bug#6265) + +2010-06-01 Dan Nicolaescu + + Add support for vc-log-incoming, improve vc-log-outgoing for Git. + * vc-git.el (vc-git-compute-remote): New function. + (vc-git-log-outgoing): Use it instead of hard coding a value. + (vc-git-log-incoming): New function. + + Improve state updating for VC tag commands. + * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer + to update the state of all buffers in the directory. + + * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539). + +2010-06-01 Stefan Monnier + + * vc-bzr.el (vc-bzr-revision-completion-table): Apply + `file-directory-p' to the filename part rather than to the whole text. + - 2010-05-31 Jonathan Marchand (tiny change) - - * cedet/ede/cpp-root.el (ede-set-project-variables): Fix feature name - (bug#6231). - +2010-05-31 Stefan Monnier + + * man.el (Man-completion-table): Let the user type "-k " (bug#6319). + +2010-05-31 Drew Adams + + * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298). + +2010-05-31 Juanma Barranquero + + * subr.el (momentary-string-display): Just use read-event to read + the exit event (Bug#6238). + +2010-05-30 Eli Zaretskii + + * international/mule.el (define-coding-system): Doc fix (bug#6313). + +2010-05-30 Juanma Barranquero + + * emulation/cua-base.el: Recognize also `right-word' and `left-word'. + Suggested by Eli Zaretskii . + +2010-05-30 Stefan Monnier + + * minibuffer.el (completion-file-name-table): Don't return a boundary + past the end of `string' (bug#6299). + (completion--file-name-table): Delegate to completion-file-name-table + for the `boundaries' case. + +2010-05-30 Juanma Barranquero + + * emulation/cua-base.el: Recognize `right-char' and `left-char' as + movement commands. + + * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from + `path-separator', but maintain compatibility with Emacs 20.2. + +2010-05-29 Chong Yidong + + * server.el (server-process-filter): Receive parent-id argument + from emacsclient. + (server-create-window-system-frame): New arg. Pass parent-id as + frame parameter. + +2010-05-29 Eli Zaretskii + + Bidi-sensitive word movement with arrow keys. + * subr.el (right-arrow-command, left-arrow-command): Move to + bindings.el. + + * bindings.el (right-char, left-char): Move from subr.el and + rename from right-arrow-command and left-arrow-command. + (right-word, left-word): New functions. + (global-map) : Bind to right-char. + (global-map) : Bind to left-char. + (global-map) : Bind to right-word. + (global-map) : Bind to left-word. + + * ls-lisp.el (ls-lisp-classify-file): New function. + (ls-lisp-insert-directory): Call it if switches include -F (bug#6294). + (ls-lisp-classify): Call ls-lisp-classify-file. + (insert-directory): Remove blanks from switches. + +2010-05-29 Chong Yidong + + * ansi-color.el: Delete unused escape sequences (Bug#6085). + (ansi-color-drop-regexp): New constant. + (ansi-color-apply, ansi-color-filter-region) + (ansi-color-apply-on-region): Delete unrecognized control sequences. + (ansi-color-apply): Build string list before calling concat. + +2010-05-28 Juri Linkov + + * image-dired.el (image-dired-dired-toggle-marked-thumbs): + Replace LOCALP arg of `dired-get-filename' 'no-dir with nil. + (Bug#5270) + +2010-05-28 Michael Albinus + + * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall' + to ignored backtrace functions. + (with-progress-reporter): Expand docstring. + (tramp-handle-delete-file): Implement TRASH argument. + (tramp-get-remote-trash): New defun. + +2010-05-28 Michael Albinus + + * net/tramp-compat.el (tramp-compat-delete-file): Use + `symbol-value' for backward compatibility. + + * net/tramp.el (tramp-handle-make-symbolic-link) + (tramp-handle-load) + (tramp-do-copy-or-rename-file-via-buffer) + (tramp-do-copy-or-rename-file-directly) + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-handle-process-file, tramp-handle-call-process-region) + (tramp-handle-shell-command, tramp-handle-file-local-copy) + (tramp-handle-insert-file-contents, tramp-handle-write-region) + (tramp-delete-temp-file-function): Use `delete-file' instead + of `tramp-compat-delete-file'. + + * net/tramp-fish.el (tramp-fish-handle-delete-directory) + (tramp-fish-handle-make-symbolic-link) + (tramp-fish-handle-process-file): Use `delete-file' instead + of `tramp-compat-delete-file'. + + * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use + `delete-file' instead of `tramp-compat-delete-file'. + + * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg. + (tramp-gvfs-handle-write-region): Use `delete-file' instead of + `tramp-compat-delete-file'. + + * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use + `delete-file' instead of `tramp-compat-delete-file'. + + * net/tramp-smb.el (tramp-smb-handle-copy-file) + (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file) + (tramp-smb-handle-write-region): Use `delete-file' instead of + `tramp-compat-delete-file'. + (tramp-smb-handle-delete-directory): Use 'trash as arg. + +2010-05-27 Chong Yidong + + * dired.el (dired-delete-file): New arg TRASH. + (dired-internal-do-deletions): New arg TRASH. Use progress reporter. + (dired-do-flagged-delete, dired-do-delete): Use trash. + + * speedbar.el (speedbar-item-delete): Allow trashing. + + * files.el (delete-directory): New arg TRASH. + + * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file) + (ange-ftp-rename-remote-to-remote) + (ange-ftp-rename-local-to-remote) + (ange-ftp-rename-remote-to-local, ange-ftp-load) + (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from + `delete-file'. + (ange-ftp-delete-directory): Add optional arg to `delete-file', to + allow trashing. + + * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to + handle new TRASH arg of `delete-file'. + + * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH. + (tramp-handle-make-symbolic-link, tramp-handle-load) + (tramp-do-copy-or-rename-file-via-buffer) + (tramp-do-copy-or-rename-file-directly) + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-handle-process-file, tramp-handle-call-process-region) + (tramp-handle-shell-command, tramp-handle-file-local-copy) + (tramp-handle-insert-file-contents, tramp-handle-write-region) + (tramp-delete-temp-file-function): Use null TRASH arg in + tramp-compat-delete-file call. + + * net/tramp-fish.el (tramp-fish-handle-delete-directory) + (tramp-fish-handle-delete-file) + (tramp-fish-handle-make-symbolic-link) + (tramp-fish-handle-process-file): Use null TRASH arg in + `tramp-compat-delete-file' call. + + * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH + arg in `tramp-compat-delete-file' call. + + * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg. + (tramp-gvfs-handle-write-region): Use null TRASH arg in + `tramp-compat-delete-file' call. + + * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg. + (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in + `tramp-compat-delete-file' call. + + * net/tramp-smb.el (tramp-smb-handle-copy-file) + (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file) + (tramp-smb-handle-write-region): Use null TRASH arg in + tramp-compat-delete-file call. + (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file. + (tramp-smb-handle-delete-file): Rename arg. + + * diff.el (diff-sentinel): + * epg.el (epg--make-temp-file, epg-decrypt-string) + (epg-verify-string, epg-sign-string, epg-encrypt-string): + * jka-compr.el (jka-compr-partial-uncompress) + (jka-compr-call-process, jka-compr-write-region): + * server.el (server-sentinel): Remove optional arg from + delete-file, reverting 2010-05-03 change. + +2010-05-27 Chong Yidong + + * progmodes/verilog-mode.el (verilog-type-font-keywords): Use + font-lock-constant-face, not obsolete font-lock-reference-face. + +2010-05-27 Kenichi Handa + + * language/hebrew.el (hebrew-shape-gstring): Check if a glyph + element of GSTRING is nil. + +2010-05-27 Stefan Monnier + + * emacs-lisp/smie.el (smie-forward-token-function) + (smie-backward-token-function): New vars. + (smie-backward-sexp, smie-forward-sexp) + (smie-indent-hanging-p, smie-indent-calculate): Use them. + (smie-default-backward-token): Rename from smie-backward-token and + skip comments. + (smie-default-forward-token): Rename from smie-forward-token and + skip comments. + (smie-next-sexp): Handle nil results from next-token. + (smie-indent-calculate): Add a new case for special `fixindent' comments. + +2010-05-27 Chong Yidong + + * progmodes/verilog-mode.el (verilog-type-font-keywords): + Use font-lock-constant-face, not obsolete font-lock-reference-face. + +2010-05-27 Masatake YAMATO + + * htmlfontify.el (hfy-face-resolve-face): New function. + (hfy-face-to-style): Use it (Bug#6279). + +2010-05-26 Stefan Monnier + + * progmodes/ada-xref.el (ada-gnat-parse-gpr): + * emulation/edt.el (edt-load-keys): Avoid (expand-file-name "."). + +2010-05-26 Glenn Morris + + * emulation/edt.el (edt-load-keys): Use locate-library. + +2010-05-25 Chong Yidong + + * log-edit.el (log-edit-strip-single-file-name): Default to nil. + (log-edit-changelog-entries): Doc fix. + (log-edit-changelog-insert-entries): Args changed. + Rename relative filenames in ChangeLog entries. Delete tabs. + (log-edit-insert-changelog-entries): Reorganize return value of + `log-edit-changelog-entries' to pass filenames to + log-edit-changelog-insert-entries. + +2010-05-25 Thierry Volpiatto + + * dired.el (dired-mode-map): Rebind "\C-t\C-t" from + `image-dired-dired-insert-marked-thumbs' to + `image-dired-dired-toggle-marked-thumbs'. + + * image-dired.el: Require cl when compiling. + (image-dired-dired-toggle-marked-thumbs): Rename from + `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix. + Use interactive spec "P". Set LOCALP arg of `dired-get-filename' + to 'no-dir. Skip files whose names don't match + `image-file-name-regexp'. When file has a thumbnail overlay, + delete it. (Bug#5270) + +2010-05-25 Juri Linkov + + * image-mode.el (image-mode): Add image-after-revert-hook to + after-revert-hook. + (image-after-revert-hook): New function. (Bug#5669) + +2010-05-25 Juri Linkov + + * image.el (image-animated-p): When delay between animated images + is 0, set it to 10 (0.1 sec). (Bug#6258) + +2010-05-25 Christian Lynbech (tiny change) + + * net/tramp.el (tramp-handle-insert-directory): Don't use + `forward-word', its default syntax could be changed. + +2010-05-25 Michael Albinus + + * net/tramp.el (tramp-progress-reporter-update): New defun. + (with-progress-reporter): Use it. + (tramp-process-actions): + * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve + current message, in order to let progress reporter continue + afterwards. (Bug#6257) + +2010-05-25 Glenn Morris + + * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name): + Add :version. + +2010-05-25 Ryan Yeske + + * net/rcirc.el (rcirc-default-user-name): Change to "user". + (rcirc-default-full-name): Change to "unknown". + (rcirc-user-name-history): Add variable. + +2010-05-25 Ryan Yeske + Jonathan Rockway + + * net/rcirc.el (rcirc-server-alist): Add :pass. + (rcirc): When prompting for connection parameters, also prompt for + username and password. + (rcirc-connect): Take a PASS argument. If PASS is non-nil, send + value to server when connecting. + +2010-05-25 Stefan Monnier + + * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use. + (smie-merge-prec2s): Pass the tables as separate args. + (smie-bnf-precedence-table): Adjust call accordingly. + (smie-prec2-levels): Set levels at the end. + + Replace Lisp calls to delete-backward-char by delete-char. + * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el, + * skeleton.el, term.el, time.el, wid-edit.el, woman.el, + * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el, + * calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el, + * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el, + * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el, + * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el, + * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el, + * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el, + * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el, + * progmodes/ps-mode.el, progmodes/verilog-mode.el, + * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el, + * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el, + * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to + delete-backward-char by calls to delete-char. + +2010-05-25 Kenichi Handa + + * language/hebrew.el (hebrew-shape-gstring): New function. + Register it in composition-function-table for all Hebrew combining + characters. + +2010-05-25 Stefan Monnier + + * epa.el (epa--select-keys): Don't explicitly delete the window since + that can fail (e.g. sole window in frame). Use dedication instead. + +2010-05-24 Uday S Reddy (tiny change) + + * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201). + +2010-05-22 Chong Yidong + + * image.el (image-refresh): Define as an alias for image-flush. + + * image-mode.el (image-toggle-display-image): Caller changed. + +2010-05-21 Juri Linkov + + * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases. + Remove "all" from grep-files-aliases. Split grep-files-aliases by + whitespace, call wildcard-to-regexp on substrings and concat them + with "\\|". (Bug#6114) + +2010-05-21 Alan Mackenzie + + * progmodes/cc-engine.el (c-parse-state-get-strategy): + Replace parameter `here' with `here-' and `here-plus', which sandwich + any pertinent CPP construct. + (c-remove-stale-state-cache-backwards): Fix a bug which happens + when doing (c-parse-state) in a CPP construct: Exclude any "new" + CPP construct from taking part in the scanning. + +2010-05-21 Michael Albinus + + * net/tramp.el (tramp-do-copy-or-rename-file) + (tramp-handle-file-local-copy, tramp-maybe-open-connection): + Tune `with-progress-reporter' messages. + (tramp-handle-vc-registered): + * net/tramp-fish.el (tramp-fish-handle-file-local-copy) + (tramp-fish-handle-insert-file-contents) + (tramp-fish-maybe-open-connection): + * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): + * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file) + (tramp-imap-handle-insert-file-contents) + (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'. + +2010-05-21 Juanma Barranquero + + * add-log.el (change-log-font-lock-keywords): + Highlight all authors in multi-author entries. + + * smerge-mode.el (smerge-refine-ignore-whitespace) + (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict): + Fix typos in docstrings. + (smerge-resolve, smerge-refine-subst): Reflow docstrings. + +2010-05-21 Glenn Morris + + * progmodes/fortran.el (fortran-mode): + * progmodes/f90.el (f90-mode): Derive from prog-mode. + + * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer + having a relative path in src/Makefile.in. + +2010-05-20 Kevin Ryde + + * help-mode.el (help-make-xrefs): For Info node links turn + newlines into spaces. Link node names with newlines are matched + by help-xref-info-regexp and buttonized, this change ensures they + can be followed successfully with RET. (Bug#6206) + +2010-05-20 Juri Linkov + + * locate.el (locate): Use pop-to-buffer instead of + switch-to-buffer-other-window. (Bug#6204) + +2010-05-20 Juri Linkov + + * replace.el (replace-highlight): Fix lazy-highlighting + for `M-s w str M-% str RET'. + +2009-12-15 Masatake YAMATO + + * isearch.el (isearch-yank-word-or-char): Pull next subword + when `subword-mode' is activated. (Bug#6220) + +2010-05-20 Mark A. Hershberger + + * isearch.el (isearch-update-post-hook): New hook. + (isearch-update): Use the new hook. (Bug#6225) + +2010-05-20 Juri Linkov + + * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map: + [f1], [help], and (char-to-string help-char) instead of "\C-h". + (Bug#6222) + +2010-05-20 Juri Linkov + + * isearch.el (isearch-yank-string): Use isearch-process-search-string. + (Bug#6223) + +2010-05-20 Juri Linkov + + * dired-x.el (dired-jump, dired-jump-other-window): Add arg + FILE-NAME to read from the minibuffer when called interactively + with prefix argument instead of using buffer-file-name. + http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html + + * dired.el: Update autoloads. + +2010-05-20 Chong Yidong + + * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to + nxml-finish-element, for consistency with SGML mode. + + * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to + octave-close-block. + +2010-05-20 Juanma Barranquero + + * composite.el: Require cl when compiling. + (reference-point-alist, compose-gstring-for-graphic) + (compose-gstring-for-terminal): Fix typos in docstrings. + +2010-05-19 Juri Linkov + + * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with + set-window-parameter. + +2010-05-19 Michael Albinus + + * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute + where appropriate. + (tramp-maybe-open-connection): Use it. + +2010-05-19 Eli Zaretskii + + * simple.el (move-end-of-line): Make sure we are at line beginning + before backing up to end of previous line. + +2010-05-19 Michael Albinus + + * password-cache.el (password-cache-remove): Fix docstring. + + * net/secrets.el: Autoload the widget functions. + (secrets-search-items, secrets-create-item) + (secrets-get-attributes, secrets-expand-item): Attributes will be + stored on the password database without leading ":", as all other + clients do as well. + (secrets-mode): Fix docstring. + (secrets-show-secrets): Provide it as autoloaded command only when + D-Bus support is available. Check existence of Secret Service API. + +2010-05-19 Stefan Monnier + + * indent.el (indent-region): Deactivate region (bug#6200). + +2010-05-19 Glenn Morris + + * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204) + +2010-05-19 Kenichi Handa + + * composite.el: Register compose-gstring-for-graphic in + composition-function-table only for combining characters (Mn, Mc, Me). + +2010-05-18 Jay Belanger + + * calc/calc-trail.el (calc-trail-isearch-forward) + (calc-trail-isearch-backward): Ensure that the new window + point is set correctly. + +2010-05-18 Stefan Monnier + + * subr.el (read-quoted-char): Resolve modifiers after key + remapping (bug#6212). + +2010-05-18 Michael Albinus + + Add visualization code for secrets. + * net/secrets.el (secrets-mode): New major mode. + (secrets-show-secrets, secrets-show-collections) + (secrets-expand-collection, secrets-expand-item) + (secrets-tree-widget-after-toggle-function) + (secrets-tree-widget-show-password): New defuns. + +2010-05-18 Stefan Monnier + + * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB. + (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now + handled in smie-next-sexp. + (smie-indent-calculate): Provide a starting indentation (so the + recursion is well-founded ;-). + + Fix handling of non-associative equal levels. + * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even + when it's not needed. + (smie-op-left, smie-op-right): New functions. + (smie-next-sexp): New function, extracted from smie-backward-sexp. + Better handle equal levels to distinguish the associative case from + the "multi-keyword construct" case. + (smie-backward-sexp, smie-forward-sexp): Use it. + +2010-05-18 Juanma Barranquero + + * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler. + + * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp) + (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings. + +2010-05-17 Stefan Monnier + + Provide a simple generic indentation engine and use it for Prolog. + * emacs-lisp/smie.el: New file. + * progmodes/prolog.el (prolog-smie-op-levels) + (prolog-smie-indent-rules): New var. + (prolog-mode-variables): Use them to configure SMIE. + (prolog-indent-line, prolog-indent-level): Remove. + +2010-05-17 Jay Belanger + + * calc/calc-vec.el (math-vector-avg): Put the vector elements in + order before computing the averages. + +2010-05-16 Jay Belanger + + * calc/calc-vec.el (calc-histogram): + (calcFunc-histogram): Allow vectors as inputs. + (math-vector-avg): New function. + + * calc/calc-ext.el (math-group-float): Have the number of digits + being grouped depend on the radix (Bug#6189). + +2010-05-15 Ken Raeburn + + * version.el (emacs-copyright, emacs-version): Don't define here, + now that emacs.c defines it. + +2010-05-15 Eli Zaretskii + + * international/mule-cmds.el (mule-menu-keymap): Fix definition of + "Describe Language Environment" menu item. + + * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix. + + Bidi-sensitive movement with arrow keys. + * subr.el (right-arrow-command, left-arrow-command): New functions. + + * bindings.el (global-map): Bind them to right and left arrow keys. + + Don't override standard definition of convert-standard-filename. + * files.el (convert-standard-filename): Call + w32-convert-standard-filename and dos-convert-standard-filename on + the corresponding systems. + + * w32-fns.el (w32-convert-standard-filename): Rename from + convert-standard-filename. Doc fix. + + * dos-fns.el (dos-convert-standard-filename): Doc fix. + (convert-standard-filename): Don't defalias. + (register-name-alist, make-register, register-value) + (set-register-value, intdos): Obsolete aliases for the + corresponding dos-* functions and variables. + (dos-intdos): Add a doc string. + +2010-05-15 Jay Belanger + + * calc/calc-aent.el (math-read-token, math-find-user-tokens): + * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol): + (math-compose-tex-func): + * calc/calccomp.el (math-compose-expr): + * calc/calc-ext.el (math-format-flat-expr-fancy): + * calc/calc-store.el (calc-read-var-name): + * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters. + + * calc/calc.el (var-π, var-φ, var-γ): New variables. + * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol. + * calc/calc-units.el (math-unit-prefixes): Add mu for micro. + (math-standard-units): Add units. + +2010-05-15 Stefan Monnier + + * progmodes/asm-mode.el (asm-mode): + * progmodes/prolog.el (prolog-mode): Use define-derived-mode. + + * pcomplete.el (pcomplete-completions-at-point): New function, + extracted from pcomplete-std-complete. + (pcomplete-std-complete): Use it. + +2010-05-15 Glenn Morris + + * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): + Remove references to CVS, RCS and Old directories. + +2010-05-14 Jay Belanger + + * calc/calc-bin.el (math-format-twos-complement): Group digits when + appropriate. + +2010-05-14 Stefan Monnier + + * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove. + (sh-mode-syntax-table): Give it a default value instead. + (sh-header-marker): Make buffer-local. + (sh-mode): Move make-local-variable to the corresponding setq. + (sh-add-completer): Avoid gratuitously let-binding a buffer-local var. + Use complete-with-action. + + * simple.el (prog-mode): New (abstract) major mode. + * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it. + * progmodes/sh-script.el (sh-mode): Remove redundant var assignment. + +2010-05-14 Juanma Barranquero + + * progmodes/sql.el (sql-oracle-program): Reflow docstring. + (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock) + (sql-add-product-keywords, sql-highlight-product, sql-set-product) + (sql-make-alternate-buffer-name, sql-placeholders-filter) + (sql-escape-newlines-filter, sql-input-sender) + (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings. + +2010-05-13 Chong Yidong + + Add TeX open-block and close-block keybindings to SGML, and vice versa. + + * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to + latex-open-block and C-c / to latex-close-block. + + * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag + and C-c C-e to sgml-close-tag. + +2010-05-13 Michael Albinus + + * net/tramp.el (with-progress-reporter): Create reporter object + only when the message would be displayed. Handle nested calls. + (tramp-handle-load, tramp-handle-file-local-copy) + (tramp-handle-insert-file-contents, tramp-handle-write-region) + (tramp-maybe-send-script, tramp-find-shell): + Use `with-progress-reporter'. + (tramp-handle-dired-compress-file, tramp-maybe-open-connection): + Fix message text. + + * net/tramp-smb.el (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'. + +2010-05-13 Agustín Martín + + * textmodes/ispell.el (ispell-init-process): Do not kill ispell + process everytime when spellchecking from the minibuffer (bug#6143). + +2010-05-13 Stefan Monnier + + * progmodes/sh-script.el (sh-mode): Use define-derived-mode. + + * dos-fns.el: Add "dos-" prefix for namespace control. + (convert-standard-filename): Define as alias for + dos-convert-standard-filename but only if applicable. + +2010-05-12 Alan Mackenzie + + * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): + Push the mark at the start of these functions when appropriate. + +2010-05-12 Stefan Monnier + + * minibuffer.el (completion-cycle-threshold): New custom var. + (completion--do-completion): Use it. + (minibuffer-complete): Use cycling if appropriate. + +2010-05-11 Juanma Barranquero + + * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically + buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173). + +2010-05-11 Juri Linkov + + * scroll-all.el (scroll-all-check-to-scroll): + Add `scroll-up-command' and `scroll-down-command' (bug#6164). + +2010-05-11 Stefan Monnier + + * iimage.el (iimage-mode-map): Move initialization into declaration. + (iimage-mode-buffer): Use with-silent-modifications. + Simplify calling convention. Adjust callers. + (iimage-mode): Don't run hook redundantly. + + * minibuffer.el (completion-pcm--pattern->regex): + Fix last change (bug#6160). + +2010-05-10 Juri Linkov + + Remove nodes visited during Isearch from the Info history. + * info.el (Info-isearch-initial-history) + (Info-isearch-initial-history-list): New variables. + (Info-isearch-start): Record initial values of + Info-isearch-initial-history and Info-isearch-initial-history-list. + Add Info-isearch-end to isearch-mode-end-hook. + (Info-isearch-end): New function. + +2010-05-10 Michael Albinus + + * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in + format string, in order to work around a bug in pdksh. + Reported by Gilles Pion . + (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. + +2010-05-10 Juanma Barranquero + + Fix use of `filter-buffer-substring' (rework previous change). + * emulation/cua-base.el (cua--filter-buffer-noprops): New function. + (cua-repeat-replace-region): + * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle): + * emulation/cua-gmrk.el (cua-copy-region-to-global-mark) + (cua-cut-region-to-global-mark): Use it. + +2010-05-09 Michael R. Mauger + + * progmodes/sql.el: Version 2.1. + (sql-product-alist): Redesign structure of product info. + (sql-product, sql-user, sql-server, sql-database): Safe variables. + (sql-port, sql-port-history): New variables. + (sql-interactive-product): New variable. + (sql-send-terminator): New variable. + (sql-imenu-generic-expression): Add "Types" imenu entry. + (sql-oracle-login-params, sql-sqlite-login-params) + (sql-mysql-login-params, sql-solid-login-params) + (sql-sybase-login-params, sql-informix-login-params) + (sql-ingres-login-params, sql-ms-login-params) + (sql-postgres-login-params, sql-interbase-login-params) + (sql-db2-login-params, sql-linter-login-params) + (sql-oracle-scan-on): New variables. + (sql-mode-map): Add C-c C-i to start interactive mode. + (sql-mode-menu): Update existing menu entries. + (sql-font-lock-keywords-builder): Compile-time font-lock optimization. + (sql-mode-oracle-font-lock-keywords) + (sql-mode-postgres-font-lock-keywords) + (sql-mode-ms-font-lock-keywords) + (sql-mode-sybase-font-lock-keywords) + (sql-mode-informix-font-lock-keywords) + (sql-mode-interbase-font-lock-keywords) + (sql-mode-ingres-font-lock-keywords) + (sql-mode-solid-font-lock-keywords) + (sql-mode-mysql-font-lock-keywords) + (sql-mode-sqlite-font-lock-keywords) + (sql-mode-db2-font-lock-keywords) + (sql-mode-linter-font-lock-keywords): Update initialization to + reduce run-time complexity. + (sql-add-product, sql-del-product): New functions. + (sql-set-product-feature, sql-get-product-feature): New functions. + (sql-product-font-lock): Update product API. + (sql-add-product-keywords): New function. + (sql-highlight-product): Update product API. + (sql-help-list-products): New function. + (sql-help): Dynamically lists free and non-free products. + (sql-get-login): Correct bug in handling history and added + prompt for port. + (sql-copy-column): Copy without properties. + (sqli-input-sender): Apply filters to SQLi input. + (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting. + Implement as a filter. + (sql-escape-newlines-filter): Implement as a filter. + (sql-remove-tabs-filter): New function. + (sql-send-magic-terminator): New function. + (sql-send-string): Implement magic terminator. + (sql-send-region): Use `sql-send-string'. + (sql-interactive-mode): Use product API. + (sql-product-interactive): Use product API. + (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql) + (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase) + (sql-db2, sql-linter): Use `sql-product-interactive'. + (sql-connect): New function. + (sql-connect-oracle, sql-connect-sybase, sql-connect-informix) + (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid) + (sql-connect-ingres, sql-connect-ms, sql-connect-postgres) + (sql-connect-interbase, sql-connect-db2, sql-connect-linter): + Use `sql-connect'. + +2010-05-09 Stefan Monnier + + * minibuffer.el (completion-pcm-complete-word-inserts-delimiters): + New custom variable. + (completion-pcm--string->pattern): Use it. + (completion-pcm--pattern->regex, completion-pcm--pattern->string): + Make it handle any symbol as `any'. + (completion-pcm--merge-completions): Extract common suffix for the new + `prefix' symbol as well. + (completion-substring--all-completions): Use the new `prefix' symbol. + +2010-05-09 Michael Albinus + + * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if + not bound. + (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT. + (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) + * net/tramp.el (top, with-progress-reporter) + (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) + * net/tramp-cmds.el (tramp-cleanup-all-connections) + (tramp-reporter-dump-variable, tramp-load-report-modules) + (tramp-append-tramp-buffers) + * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it. + + * net/tramp-imap.el (top): Autoload `epg-make-context'. + +2010-05-08 Stefan Monnier + + * progmodes/compile.el (compilation-buffer-modtime): Rename from + buffer-modtime. Adjust users. + +2010-05-08 Chong Yidong + + * international/mule.el (auto-coding-alist): Only purecopy + car of each item, not the whole list (Bug#6083). + +2010-05-08 Chong Yidong + + * progmodes/js.el (js-mode): Make paragraph variables local before + calling c-setup-paragraph-variables (Bug#6071). + +2010-05-08 Eli Zaretskii + + * composite.el (compose-region, reference-point-alist): Fix typos + in the doc strings. + +2010-05-08 Alexander Klimov (tiny change) + + * calc/calc-graph.el (calc-graph-plot): Use the proper form for + gnuplot's "set" command. + +2010-05-08 Juanma Barranquero + + * abbrev.el (last-abbrev-text): Doc fix. + (abbrev-prefix-mark): Don't escape parenthesis. + +2010-05-08 Andreas Schwab + + * composite.el (find-composition): Doc fix. + +2010-05-08 Juanma Barranquero + + * progmodes/sql.el (sql-electric-stuff): Fix typo in tag. + (sql-oracle-program, sql-sqlite-options) + (sql-query-placeholders-and-send): Doc fixes. + (sql-set-product, sql-interactive-mode): Reflow docstrings. + (sql-imenu-generic-expression, sql-buffer) + (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords) + (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords) + (sql-mode-sybase-font-lock-keywords) + (sql-mode-informix-font-lock-keywords) + (sql-mode-interbase-font-lock-keywords) + (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords) + (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords) + (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords) + (sql-product-feature, sql-highlight-product) + (comint-line-beginning-position, sql-rename-buffer) + (sql-toggle-pop-to-buffer-after-send-region sql-oracle) + (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid) + (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter): + Fix typos in docstrings. + +2010-05-08 Juri Linkov + + * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display' + property instead of `invisible' and `after-string' (bug#5998). + +2010-05-08 Juri Linkov + + * image-mode.el (image-mode-as-text): Fix typo in docstring. + +2010-05-08 Juanma Barranquero + + * filecache.el (file-cache-add-directory-list) + (file-cache-add-directory-recursively): Fix typos in docstrings. + +2010-05-08 Kenichi Handa + + * language/indian.el (gurmukhi-composable-pattern): Fix typo. + (gujarati-composable-pattern): Fix typo. + +2010-05-08 Kenichi Handa + + * language/indian.el (oriya-composable-pattern) + (tamil-composable-pattern, malayalam-composable-pattern): + Add two-part vowels to "v" (vowel sign). + +2010-05-08 Chong Yidong + + * files.el (copy-directory): Handle symlinks (Bug#5982). + +2010-05-08 Dan Nicolaescu + + * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC. + (vc-hg-working-revision): Likewise. Use hg parents, not hg parent + (Bug#5846). + +2010-05-08 Glenn Morris + + * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string. + + * minibuffer.el (completion-at-point): Doc fix. + +2010-05-08 Stefan Monnier + + * electric.el (Electric-command-loop): Minor tweak. + + * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit + better with dedicated windows. + +2010-05-07 Chong Yidong + + * Version 23.2 released. + +2010-05-07 Deniz Dogan (tiny change) + Stefan Monnier + + Highlight vendor specific properties. + * textmodes/css-mode.el (css-proprietary-nmstart-re): New var. + (css-proprietary-property): New face. + (css-font-lock-keywords): Use them. + +2010-05-07 Eli Zaretskii + + * cus-start.el (all): Add native condition for tool-bar-* symbols. + +2010-05-07 Stefan Monnier + + * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files. + * files.el (auto-mode-alist): Remove redundant entries. + + * files.el (auto-save-mode): Move to simple.el to fix bootstrap. + * simple.el (auto-save-mode): Move from files.el. + * minibuffer.el (completion--common-suffix): Fix copy&paste error. + +2010-05-07 Christian von Roques (tiny change) + + * lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592). + +2010-05-07 Katsumi Yamaoka + + * mail/binhex.el (binhex-decode-region-internal) + * mail/uudecode.el (uudecode-decode-region-internal) + * net/dns.el (dns-read-string-name, dns-write, dns-read) + (dns-read-type, dns-query) + * pgg-parse.el (pgg-parse-armor) + * pgg.el (pgg-verify-region) + * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for + XEmacs. + + * net/imap.el (imap-disable-multibyte): Redefine it as a macro. + +2010-05-07 Juanma Barranquero + + * progmodes/cperl-mode.el (cperl-mode-unload-function): New function. + + Fix use of `filter-buffer-substring' (4th arg NOPROPS removed). + * emulation/cua-base.el (cua-repeat-replace-region): + * emulation/cua-gmrk.el (cua-copy-region-to-global-mark) + (cua-cut-region-to-global-mark): + Remove text properties with `set-text-properties'. + +2010-05-06 Michael Albinus + + * net/tramp.el (top, with-progress-reporter): + Use `symbol-function' inside `funcall'. + + * net/tramp-compat.el (tramp-compat-file-attributes) + (tramp-compat-delete-file, tramp-compat-delete-directory): + Handle only `wrong-number-of-arguments' error. + + * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo. + (tramp-gvfs-handle-file-selinux-context): Use `symbol-function' + inside `funcall'. + +2010-05-06 Stefan Monnier + + * minibuffer.el (completion--sreverse, completion--common-suffix): + New functions. + (completion-pcm--merge-completions): Extract common suffix when safe. + + * emacs-lisp/easy-mmode.el (define-minor-mode): + Make :variable more flexible. + * files.el (auto-save-mode): Use it to define using define-minor-mode. + +2010-05-05 Juri Linkov + + Add `slow' and `history' tags to the desktop data. + + * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag. + (Info-virtual-files) [*Apropos*]: Add `slow' tag. + (Info-finder-find-node): Require `finder.el' to be able + to restore node from the desktop. + (Info-desktop-buffer-misc-data): Save all nodes. Save additional + data `Info-history' and `slow' tag in the assoc list. + (Info-restore-desktop-buffer): Don't restore nodes with the + `slow' tag. Restore `Info-history'. + +2010-05-05 Michael Albinus + + Add FORCE argument to `delete-file'. + + * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun, + forcing to delete the temporary file. + (ange-ftp-delete-file): Add FORCE arg. + (ange-ftp-rename-remote-to-remote) + (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local) + (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress): + Force file deletion. + + * net/tramp-compat.el (tramp-compat-delete-file): New defun. + + * net/tramp.el (tramp-handle-delete-file): Add FORCE arg. + (tramp-handle-make-symbolic-link, tramp-handle-load) + (tramp-do-copy-or-rename-file-via-buffer) + (tramp-do-copy-or-rename-file-directly) + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-handle-process-file, tramp-handle-call-process-region) + (tramp-handle-shell-command, tramp-handle-file-local-copy) + (tramp-handle-insert-file-contents, tramp-handle-write-region) + (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'. + + * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg. + (tramp-fish-handle-make-symbolic-link) + (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'. + + * net/tramp-ftp.el (tramp-ftp-file-name-handler): + Use `tramp-compat-delete-file'. + + * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg. + (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'. + + * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg. + (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'. + + * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg. + (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy) + (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use + `tramp-compat-delete-file'. + +2010-05-05 Stefan Monnier + + Minor cleanups. + * subr.el (add-minor-mode): Use push. + * mail/supercite.el (sc-electric-mode): Use more descriptive arg name. + * emulation/edt.el (edt-select-mode): Simplify. + + Use define-minor-mode in more cases. + * term/tvi970.el (tvi970-set-keypad-mode): + * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode) + (normal-erase-is-backspace-mode): + * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode. + (set-scroll-bar-mode-1): (Re)move to its sole caller. + (get-scroll-bar-mode): New function. + * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg. + + Use define-minor-mode for less obvious cases. + * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword. + * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method. + * international/iso-ascii.el (iso-ascii-mode): + * frame.el (auto-raise-mode, auto-lower-mode): + * composite.el (global-auto-composition-mode): Use define-minor-mode. + +2010-05-04 Michael Albinus + + * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args' + in order to see error messages for failed logins. + +2010-05-03 Chong Yidong + + * diff.el (diff-sentinel): + + * epg.el (epg--make-temp-file, epg-decrypt-string) + (epg-verify-string, epg-sign-string, epg-encrypt-string): + + * jka-compr.el (jka-compr-partial-uncompress) + (jka-compr-call-process, jka-compr-write-region, jka-compr-load): + + * server.el (server-sentinel): Use delete-file's new FORCE arg + (Bug#6070). + +2010-05-03 Stefan Monnier + + Use define-minor-mode where applicable. + * view.el (view-mode): + * type-break.el (type-break-query-mode) + (type-break-mode-line-message-mode): + * textmodes/reftex.el (reftex-mode): + * term/vt100.el (vt100-wide-mode): + * tar-mode.el (tar-subfile-mode): + * savehist.el (savehist-mode): + * ibuf-ext.el (ibuffer-auto-mode): + * composite.el (auto-composition-mode): + * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode): + Use define-minor-mode. + (vhdl-mode): Use static mode-line format. + (vhdl-mode-line-update): Delete. + (vhdl-create-mode-menu, vhdl-activate-customizations) + (vhdl-hs-minor-mode): Don't bother calling it. + +2010-05-02 Stefan Monnier + + * simple.el (with-wrapper-hook): Move. + (buffer-substring-filters): Mark obsolete. + (filter-buffer-substring-functions): New variable. + (filter-buffer-substring): Use it. Remove unused arg `noprops'. + - Use a mode-line spec rather than a static string in Semantic. - * cedet/semantic/util-modes.el: - (semantic-minor-modes-format): New var to replace... - (semantic-minor-modes-status): Remove. - (semantic-mode-line-update): Construct a mode-line spec rather than - a static string so that mouse buttons can be used on individual minor - modes and so that semantic-mode-line-update only needs to be called - when global settings are changed. - (semantic-add-minor-mode, semantic-toggle-minor-mode-globally): - Call semantic-mode-line-update. - (semantic-toggle-minor-mode-globally): Don't assume mode is on - minor-mode-alist, check semantic-minor-mode-alist as well. - (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker) - (semantic-show-parser-state-marker, semantic-show-parser-state-mode) - (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode): - * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode): - * cedet/semantic/idle.el (semantic-idle-scheduler-mode) - (define-semantic-idle-service, semantic-idle-summary-mode): - * cedet/semantic/decorate/mode.el (semantic-decoration-mode): - Don't call semantic-mode-line-update any more. - - 2010-05-02 Stefan Monnier - - Use define-minor-mode in CEDET where applicable. - - * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode): - Use define-minor-mode. - - * cedet/semantic/util-modes.el (semantic-add-minor-mode): - Remove unused arg `keymap' and code redundant with define-minor-mode. - (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1. - (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode) - (semantic-highlight-func-mode, global-semantic-show-parser-state-mode) - (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode) - (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode) - (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode): - Use define-minor-mode. - (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup) - (semantic-show-unmatched-syntax-mode-setup) - (semantic-show-parser-state-mode-setup) - (semantic-highlight-func-mode-setup): Inline into sole caller. - - * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode) - (semantic-mru-bookmark-mode): Use define-minor-mode. - (semantic-mru-bookmark-mode-setup): Inline into sole caller. - - * cedet/semantic/idle.el (define-semantic-idle-service): - Use define-minor-mode and inline setup function into its sole caller. - (semantic-idle-scheduler-mode-setup) - (semantic-idle-summary-mode-setup): Inline into sole caller. - (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode): - Use define-minor-mode. - - * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode) - (semantic-decoration-mode): Use define-minor-mode. - (semantic-decoration-mode-setup): Inline into sole caller. - - * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration. - (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p. - (ede-dired-add-to-target): Use dolist. - +2010-05-01 Toru TSUNEYOSHI + Michael Albinus + + 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'. + +2010-05-01 Stefan Monnier + + * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode): + Remove unused functions. + + * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode. + Set find-tag-default-function as a variable rather than a property. + + * minibuffer.el (tags-completion-at-point-function): Move to etags.el. + * progmodes/etags.el (tags-completion-at-point-function): + Remove left over interactive spec. Add autoloading stub. + (complete-tag): Use tags-completion-at-point-function. + +2010-04-30 Chong Yidong + + * minibuffer.el (tags-completion-at-point-function): Fix return value. + +2010-04-29 Chong Yidong + + * ido.el (ido-init-completion-maps): Remove C-v binding. + (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765). + +2010-04-29 Chong Yidong + + * minibuffer.el (tags-completion-at-point-function): New function. + (completion-at-point-functions): Use it. + - * cedet/semantic.el (semantic-completion-at-point-function): - New function. - (semantic-mode): Use semantic-completion-at-point-function for - completion-at-point-functions instead. - + * progmodes/etags.el (complete-tag): Revert last change. + +2010-04-29 Alan Mackenzie + + * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an + off-by-one error (in end of macro position). + +2010-04-29 Stefan Monnier + + * net/browse-url.el (browse-url-firefox-program): Use iceweasel if + firefox is absent. Don't autoload. + (browse-url-galeon-program): Don't autoload. + +2010-04-28 Chong Yidong + + * bindings.el (complete-symbol): Move into minibuffer.el. + + * minibuffer.el (complete-tag): Move from etags.el. If tags + completion cannot be performed, return nil instead of signalling + an error. + (completion-at-point): Make it an alias for complete-symbol. + (complete-symbol): Move from bindings.el, and replace with the + body of completion-at-point. + + * progmodes/etags.el (complete-tag): Move to minibuffer.el. + - * cedet/semantic.el (semantic-mode): When enabled, add - semantic-ia-complete-symbol to completion-at-point-functions. - - * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil - if Semantic is not active. - +2010-04-28 Michael Albinus + + * net/tramp.el (tramp-remote-selinux-p): New defun. + (tramp-handle-file-selinux-context) + (tramp-handle-set-file-selinux-context): Use it. + +2010-04-28 Sam Steingold + + * progmodes/bug-reference.el (bug-reference-url-format): Mark as + `safe-local-variable' if the value is a string or a symbol with + the property `bug-reference-url-format'. + +2010-04-28 Chong Yidong + + * progmodes/bug-reference.el (bug-reference-url-format): + Revert 2010-04-27 change due to security risk. + +2010-04-28 Stefan Monnier + + Make it possible to locally disable a globally enabled mode. + * simple.el (fundamental-mode): Run fundamental-mode-hook. + * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode + rather than kill-all-local-variables so it runs fundamental-mode-hook. + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): + Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so + that subsequent hooks get a chance to disable it. + +2010-04-27 Stefan Monnier + + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): + Avoid re-enabling a minor mode after the user turned the minor mode + off if MODE-enable-in-buffers is run twice (typically once from + fundamental-mode's after-change-major-mode-hook and a second time from + run-mode-hook's own after-change-major-mode-hook). + + * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully. + +2010-04-27 Sam Steingold + + * progmodes/bug-reference.el (bug-reference-url-format): Mark as + `safe-local-variable' if the value is a string or a function, as + documented and implemented on 2010-04-02. + +2010-04-27 Juanma Barranquero + + * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil + when method is 'kill. + +2010-04-27 Agustín Martín + + * textmodes/ispell.el (ispell-init-process): Fix personal dictionary + condition in default directory check. + (ispell-init-process,ispell-kill-ispell,kill-buffer-hook): + Kill ispell process when killing its associated buffer. + +2010-04-27 Jan Djärv + + * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists, + but we aren't using it. + +2010-04-25 Jan Djärv + + * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended + checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca. + +2010-04-24 Glenn Morris + + * emacs-lisp/authors.el (authors-obsolete-files-regexps): + Ignore VCS-ignore files, and deleted nextstep preferences files. + (authors-ignored-files): Ignore deleted cedet test files, and "*.el". + (authors-ambiguous-files): New list. + (authors-valid-file-names): Add some deleted files. + (authors-renamed-files-alist): Add font-setting.el, edt-user.doc. + (authors-disambiguate-file-name): New function. (Bug#5501) + (authors-canonical-file-name): Doc fix. + Don't warn about obsolete files. + (authors-canonical-file-name, authors-scan-el): + Use authors-disambiguate-file-name. + + * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values): + Add autoload cookies. + (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs. + (generated-autoload-file): Set file-local value to "htmlfontify.el". + * htmlfontify.el (caddr, cadddr): Remove fallback definitions. + They have definitions / compiler macros in cl.el. + (htmlfontify-load-rgb-file, hfy-fallback-colour-values): + Replace manual autoloads with generated ones. + (htmlfontify-unload-rgb-file): Remove autoload. + * Makefile.in (autoloads): Ensure htmlfontify.el is writable. + +2010-04-23 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-set-default): New function. + (byte-compile-setq-default): Optimize for the + single-var case and don't call byte-compile-form in this case to avoid + inf-loop with byte-compile-set-default. + + * progmodes/compile.el (compilation-start): Abbreviate default directory. + +2010-04-23 Michael Albinus + + Implement SELINUX backends. + + * net/tramp.el (tramp-file-name-handler-alist): + Add `file-selinux-context' and `set-file-selinux-context'. + (tramp-handle-file-selinux-context) + (tramp-handle-set-file-selinux-context): New defuns. + (tramp-handle-copy-file, tramp-do-copy-or-rename-file): + Handle PRESERVE-SELINUX-CONTEXT. + + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + Add `file-selinux-context' and `set-file-selinux-context'. + (tramp-gvfs-handle-file-selinux-context) + (tramp-gvfs-handle-set-file-selinux-context): New defuns. + (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT. + + * net/ange-ftp.el (ange-ftp-copy-file): + * net/tramp-fish.el (tramp-fish-handle-copy-file): + * net/tramp-imap.el (tramp-imap-handle-copy-file): + * net/tramp-smb.el (tramp-smb-handle-copy-file): + Add PRESERVE-SELINUX-CONTEXT. + +2010-04-22 Michael Albinus + + Synchronize with Tramp repository. + + * net/tramp.el (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. + (with-progress-reporter): New defmacro. + (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file) + (tramp-maybe-open-connection): Use it. + +2010-04-22 Noah Lavine (tiny change) -2010-06-20 Alan Mackenzie + Detect ssh 'ControlMaster' argument automatically in some cases. - * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set - in file local variables, set it first. + * net/tramp.el (tramp-detect-ssh-controlmaster): New defun. + (tramp-default-method): Use it. -2010-06-19 Glenn Morris +2010-04-22 Michael Albinus - * descr-text.el (describe-char-unicode-data): Insert separating - space when needed. (Bug#6422) + * net/tramp.el (tramp-handle-copy-file): Add new optional + parameter `preserve-selinux-context'. + (tramp-file-name-for-operation): Add `set-file-selinux-context'. - * progmodes/idlwave.el (idlwave-action-and-binding): - Fix typo in 2009-12-03 change. (Bug#6450) +2010-04-22 Michael Albinus -2010-06-17 Stefan Monnier + * net/tramp.el (tramp-completion-handle-file-name-all-completions): + Ensure, that non remote files are still checked. Oops. - * subr.el (read-quoted-char): Fix up last change (bug#6290). +2010-04-21 Michael Albinus -2010-06-16 Stefan Monnier + Fix Bug#5840. - * font-lock.el (font-lock-major-mode): Rename from - font-lock-mode-major-mode to distinguish it from - global-font-lock-mode's own font-lock-mode-major-mode (bug#6135). - (font-lock-set-defaults): - * font-core.el (font-lock-default-function): Adjust users. - (font-lock-mode): Don't set it at all. + * icomplete.el (icomplete-completions): Use `non-essential'. -2010-06-15 Stefan Monnier + * net/tramp.el (tramp-connectable-p): New defun. + (tramp-handle-expand-file-name) + (tramp-completion-handle-file-name-all-completions) + (tramp-completion-handle-file-name-completion): Use it. - * vc-annotate.el (vc-annotate): Use vc-read-revision. +2010-04-21 Stefan Monnier -2010-06-15 Glenn Morris + * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors. - * calendar/appt.el (appt-time-msg-list): Doc fix. - (appt-check): Let-bind appt-warn-time. - (appt-add): Make the 3rd argument optional. - Simplify argument names. Doc fix. Check for integer WARNTIME. - Only add WARNTIME to the output list if non-nil. +2010-04-21 Jan Djärv -2010-06-15 Ivan Kanis + * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items. - * calendar/appt.el (appt-check): Let the 3rd element of - appt-time-msg-list specify the warning time. - (appt-add): Add new argument with the warning time. (Bug#5176) + * tool-bar.el (tool-bar-setup): Add :label on some tool bar items. -2010-06-12 Bob Rogers (tiny change) + * loadup.el: Load dynamic-setting.el if feature dynamic-setting + is present. - * vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions - older than version 1.6. (Bug#6361) + * info.el (info-tool-bar-map): Add labels. -2010-06-12 Helmut Eller + * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size. - * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote', - used by cl-do-arglist. (Bug#6408) + * cus-edit.el (custom-commands): Add labels for tool bar. + (custom-buffer-create-internal, Custom-mode): Adjust for + labels in custom-commands. -2010-06-09 Stefan Monnier + * dynamic-setting.el: Renamed from font-setting.el. - * emacs-lisp/advice.el (ad-compile-function): - Define warning-suppress-types before we let-bind it (bug#6275). +2010-04-21 John Wiegley - * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook; - declare it, make it buffer-local and permanent-local (bug#6324). - (vc-resynch-window): Adjust name. - * vc-hooks.el (vc-find-file-hook): Adjust name. + * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o + toggles the use of virtual buffers. + (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value. + (ido-toggle-virtual-buffers): New function. -2010-06-07 Jonathan Rockway +2010-04-21 Juanma Barranquero - * net/rcirc.el: Add support for password authentication. - (rcirc-server-alist): Add :password keyword. - (rcirc): Ask for a password, or get it from the server's alist. - (rcirc-connect): Add password argument. Pass it to server. + Use `define-derived-mode'; fix window selection; doc fixes. + * play/tetris.el (tetris, tetris-update-speed-function) + (tetris-tty-colors, tetris-x-colors, tetris-move-bottom) + (tetris-move-left, tetris-move-right, tetris-rotate-prev) + (tetris-rotate-next, tetris-end-game, tetris-start-game) + (tetris-pause-game): Fix typos in docstrings. + (tetris-mode-map, tetris-null-map): + Move initialization into declaration. + (tetris-mode): Define with `define-derived-mode'; + set show-trailing-whitespace to nil. + (tetris): Prefer window already displaying the "*Tetris*" buffer. -2010-06-05 Juanma Barranquero +2010-04-21 Karel Klíč - * net/dbus.el (dbus-register-method): Declare function. - (dbus-handle-event, dbus-property-handler): Fix typos in docstrings. - (dbus-introspect): Doc fix. - (dbus-event-bus-name, dbus-introspect-get-interface) - (dbus-introspect-get-argument): Reflow docstrings. + * files.el (backup-buffer): Handle SELinux context, and return it + if a backup was made by renaming. + (backup-buffer-copy): Set SELinux context to the target file. + (basic-save-buffer): Set SELinux context of the newly written file. + (basic-save-buffer-1): Now it also returns any SELinux context. + (basic-save-buffer-2): Set SELinux context of the newly created file, + and return it. + * net/tramp.el (tramp-file-name-for-operation): + Add file-selinux-context. -2010-06-04 Chong Yidong +2010-04-21 Stefan Monnier - * term/common-win.el (x-colors): Add "dark green" and "dark - turquoise" (Bug#6332). + Make the log-edit comments use RFC822 format throughout. -2010-06-03 Glenn Morris + * vc.el (vc-checkin, vc-modify-change-comment): + Adjust to new vc-start/finish-logentry. + (vc-find-conflicted-file): New command. + (vc-transfer-file): Adjust to new vc-checkin. + (vc-next-action): Improve scoping. - * desktop.el (desktop-clear-preserve-buffers): - Add "*Warnings*" buffer. (Bug#6336) + * vc-hg.el (vc-hg-log-edit-mode): Remove. + (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers. -2010-06-02 Dan Nicolaescu + * vc-git.el (vc-git-log-edit-mode): Remove. + (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers. + (vc-git-commits-coding-system): Rename from git-commits-coding-system. - * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539). + * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files. + (vc-start-logentry): Remove argument `extra'. + (vc-finish-logentry): Remove extra args. -2010-06-01 Stefan Monnier + * vc-bzr.el (vc-bzr-log-edit-mode): Remove. + (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers. + (vc-bzr-conflicted-files): New function. - * vc-bzr.el (vc-bzr-revision-completion-table): Apply - `file-directory-p' to the filename part rather than to the whole text. + * log-edit.el (log-edit-extra-flags) + (log-edit-before-checkin-process): Remove. + (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces. + (log-edit-headers-alist): New var. + (log-edit-header-contents-regexp): New const. + (log-edit-match-to-eoh): New function. + (log-edit-font-lock-keywords): Use them. + (log-edit): Insert a "Summary:" header as default. + (log-edit-mode): Mark font-lock rules as case-insensitive. + (log-edit-done): Cleanup headers. + (log-view-process-buffer): Remove. + (log-edit-extract-headers): New function to replace it. -2010-05-31 Stefan Monnier +2010-04-20 Juanma Barranquero - * man.el (Man-completion-table): Let the user type "-k " (bug#6319). + * subr.el (default-direction-reversed): Remove obsolescence info. -2010-05-31 Drew Adams +2010-04-20 Stefan Monnier - * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298). + * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the + windows/frames. -2010-05-31 Juanma Barranquero + * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point. + I.e. include text after point in the completion region. + Also, return nil when we're not after/in a symbol. - * subr.el (momentary-string-display): Just use read-event to read - the exit event (Bug#6238). + * international/mule-cmds.el (view-hello-file): Don't fiddle with the + default enable-multibyte-characters. -2010-05-29 Chong Yidong +2010-04-19 Stefan Monnier - * ansi-color.el: Delete unused escape sequences (Bug#6085). - (ansi-color-drop-regexp): New constant. - (ansi-color-apply, ansi-color-filter-region) - (ansi-color-apply-on-region): Delete unrecognized control sequences. - (ansi-color-apply): Build string list before calling concat. + * international/mule.el: Help the user choose a valid coding-system. + (read-buffer-file-coding-system): New function. + (set-buffer-file-coding-system): Use it. Prompt the user if the + coding-system cannot encode all the chars. -2010-05-27 Chong Yidong + * vc-bzr.el: Use standard *vc* and *vc-diff* buffers. + (vc-bzr-shelve-show, vc-bzr-shelve-apply) + (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot): + Don't use *vc-bzr-shelve*. - 2010-04-19 Chong Yidong - - * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): - Don't destroy list before using it. - - * progmodes/verilog-mode.el (verilog-type-font-keywords): - Use font-lock-constant-face, not obsolete font-lock-reference-face. +2010-04-19 Dan Nicolaescu -2010-05-27 Masatake YAMATO + Fix the version number for added files. + * vc-hg.el (vc-hg-working-revision): Check if the file is + registered after hg parent fails (Bug#5961). - * htmlfontify.el (hfy-face-resolve-face): New function. - (hfy-face-to-style): Use it (Bug#6279). +2010-04-19 Glenn Morris -2010-05-25 Stefan Monnier + * htmlfontify.el (htmlfontify-buffer) + (htmlfontify-copy-and-link-dir): Autoload entry points. - * epa.el (epa--select-keys): Don't explicitly delete the window since - that can fail (e.g. sole window in frame). Use dedication instead. +2010-04-19 Magnus Henoch -2010-05-19 Uday S Reddy (tiny change) + * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file + name relative to the project root (Bug#5960). - * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201). +2010-04-19 Glenn Morris -2010-05-18 Stefan Monnier + * vc-git.el (vc-git-print-log): Doc fix. - * subr.el (read-quoted-char): Resolve modifiers after key - remapping (bug#6212). +2010-04-19 Óscar Fuentes -2010-05-11 Stefan Monnier + * ido.el (ido-file-internal): Fix 2009-12-02 change. - * tmm.el (tmm-prompt): Don't try to precompute bindings. - (tmm-get-keymap): Compute shortcuts (bug#6171). +2010-04-19 Christoph (tiny change) -2010-05-10 Glenn Morris + * progmodes/grep.el (grep-compute-defaults): Fix handling of host + default settings (Bug#5928). - * desktop.el (desktop-save-buffer-p): Don't mistakenly include - all dired buffers, even tramp ones. (Bug#5755) [Backport from trunk] +2010-04-19 Glenn Morris -2010-05-07 Chong Yidong + * progmodes/fortran.el (fortran-match-and-skip-declaration): + New function. + (fortran-font-lock-keywords-3): Use it. (Bug#1385) - * Version 23.2 released. +2010-04-19 Kenichi Handa -2010-05-03 Chong Yidong + * language/indian.el (malayalam-composable-pattern): Fix previous + change (add U+0D4D "SIGN VIRAMA"). + (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp. + (tamil-composable-pattern): Fix typo in the regexp. + (telugu-composable-pattern): Fix U+0C4D and typo in the regexp. + (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp. + (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp. - * international/mule.el (auto-coding-alist): Only purecopy - car of each item, not the whole list (Bug#6083). +2010-04-19 Chong Yidong + + * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to + paragraph-separate (Bug#5821). + +2010-04-19 Juri Linkov + + Put breadcrumbs on overlay instead of inserting to buffer (bug#5809). + + * info.el (Info-find-node-2): Comment out code that skips + breadcrumbs line. + (Info-mouse-follow-link): New command. + (Info-link-keymap): New keymap. + (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'. + Return a string with links instead of inserting breadcrumbs + to the Info buffer. + (Info-fontify-node): Comment out code that inserts breadcrumbs. + Instead of putting the `invisible' text property over the Info + header, make an overlay over the Info header with the `invisible' + property and `after-string' set to the string returned by + `Info-breadcrumbs'. + +2010-04-19 Chong Yidong + + * help.el (help-window-setup-finish): Doc fix (Bug#5830). + Reported by monkey@sandpframing.com. + +2010-04-19 Stefan Monnier + + * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu. + (tmm-get-keymap): Add key-binding shortcuts now that they're not + available in the "keyseq cache" any more. + + * custom.el (defcustom): Add edebug spec. + +2010-04-18 Juri Linkov + + Test for special mode-class in view-buffer instead of view-file (bug#5513). + + * view.el (view-file, view-buffer): Move test for special mode-class + from view-file to view-buffer. + + * tar-mode.el (tar-extract): Turn if's into one cond + like in arc-mode.el. + +2010-04-18 Juri Linkov + + Add 7z archive format support (bug#5475). + + * arc-mode.el (archive-zip-extract): Try to find 7z executable. + (archive-7z-extract): New defcustom. + (archive-find-type): Add magic string for 7z. + (archive-extract-by-stdout): Add new optional arg `stderr-file'. + If `stderr-file' is non-nil, use `(t stderr-file)' for the + `buffer' arg of `call-process'. + (archive-zip-extract): Check `archive-zip-extract' for "7z" and + call the function `archive-7z-extract' with the variable + `archive-7z-extract' let-bound to `archive-zip-extract'. + (archive-7z-summarize, archive-7z-extract): New functions. + + * international/mule.el (auto-coding-alist): + * files.el (auto-mode-alist): Add 7z file extension. + +2010-04-18 Stefan Monnier + + * loadup.el: Setup hash-cons for pure data. + + Fix duplicate entries in cedet's loaddefs.el files. + * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever. + Should make most file-local generated-autoload-file unnecessary. + (print-readably): Silence warnings. + (autoload-find-destination): Take load-name as an arg to make sure + it's the same as the one that will be in the file. + (autoload-generate-file-autoloads): Adjust to above changes. + Try to make the dataflow a bit simpler. + + * cvs-status.el (cvs-refontify): Remove unused. + +2010-04-18 Jay Belanger + + * calc.el (calc-mode-map): Bind "O" to `calc-missing-key'. + + * calc-bin.el (calc-radix): Have the "O" option turn on + twos-complement mode. + +2010-04-17 Jay Belanger + + * calc-ext.el (calc-init-extensions): Add keybinding for 'calc-option'. + Add `calc-option-prefix-help' to calc-help autoloads. + (calc-inverse): Add "Option" to message, as appropriate. + (calc-hyperbolic): Add "Option" to message, as appropriate. + (calc-option, calc-is-option): New functions. + + * calc-help.el (calc-full-help): Add `calc-option-help'. + (calc-option-prefix-help): New function. + + * calc-misc.el (calc-help): Add "Option" entry. + + * calc.el (calc-local-var-list): Add `calc-option-flag'. + (calc-option-flag): New variable. + (calc-do): Set `calc-option-flag to nil. + (calc-set-mode-line): Add "Opt " as appropriate. + +2010-04-16 Juri Linkov + + Move scrolling commands from simple.el to window.el + because their primitives are implemented in window.c. + + * simple.el (scroll-error-top-bottom) + (scroll-up-command, scroll-down-command, scroll-up-line) + (scroll-down-line, scroll-other-window-down) + (beginning-of-buffer-other-window, end-of-buffer-other-window): + * window.el (scroll-error-top-bottom) + (scroll-up-command, scroll-down-command, scroll-up-line) + (scroll-down-line, scroll-other-window-down) + (beginning-of-buffer-other-window, end-of-buffer-other-window): + Move from simple.el to window.el because their primitives are + implemented in window.c. + +2010-04-16 Juri Linkov + + * isearch.el (isearch-lookup-scroll-key): Check both + `isearch-scroll' and `scroll-command' properties. + (scroll-up, scroll-down): Remove `isearch-scroll' property. + + * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property. + + * simple.el (scroll-up-command, scroll-down-command) + (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property. + +2010-04-15 Juri Linkov + + * simple.el (scroll-up-command, scroll-down-command) + (scroll-up-line, scroll-down-line): Put `scroll-command' + property on the these symbols. Remove them from + `scroll-preserve-screen-position-commands'. + + * mwheel.el (mwheel-scroll): Put `scroll-command' and + `isearch-scroll' properties on the `mwheel-scroll' symbol. + Remove it from `scroll-preserve-screen-position-commands'. + + * isearch.el (isearch-allow-scroll): Doc fix. + +2010-04-15 Michael Albinus + + * net/tramp.el (tramp-error-with-buffer): Don't show the + connection buffer when we are in completion mode. + (tramp-file-name-handler): 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. + +2010-04-15 Glenn Morris + + * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable. + +2010-04-15 Juanma Barranquero + + Simplify by using `define-derived-mode'. + * info.el (Info-mode): + * calendar/todo-mode.el (todo-mode): + * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'. + (gomoku-mode-map): Move initialization into declaration. + +2010-04-14 Michael Albinus + + Fix Bug#5840. + * ido.el (ido-file-name-all-completions-1): + * minibuffer.el (minibuffer-completion-help): + * net/tramp.el (tramp-completion-mode-p): Use `non-essential'. + +2010-04-14 Stefan Monnier + + * simple.el (non-essential): New var. + + Add a new field `location' to bookmarks for non-file bookmarks. + * bookmark.el (bookmark-location): Use the new field, if present. + (bookmark-insert-location): Undo last change, not needed any more. + * man.el (Man-bookmark-make-record): + * woman.el (woman-bookmark-make-record): Add `location' field. + +2010-04-14 Juri Linkov + + * simple.el (scroll-error-top-bottom): New defcustom. + (scroll-up-command, scroll-down-command): Use it. Doc fix. + + * emulation/pc-select.el (pc-select-override-scroll-error): + Obsolete in favor of `scroll-error-top-bottom'. + +2010-04-14 Juri Linkov + + * tutorial.el (tutorial--default-keys): Rebind `C-v' to + `scroll-up-command' and `M-v' to `scroll-down-command'. + + * emulation/cua-rect.el (cua--init-rectangles): + * forms.el (forms--change-commands): + * image-mode.el (image-mode-map): + Remap scroll-down-command and scroll-up-command + in addition to scroll-down and scroll-up. + +2010-04-14 Juri Linkov + + * mwheel.el (scroll-preserve-screen-position-commands): + Add mwheel-scroll to this list of commands. + + * simple.el (scroll-preserve-screen-position-commands): + Add scroll-up-command, scroll-down-command, scroll-up-line, + scroll-down-line to this list of commands. + +2010-04-13 Stefan Monnier + + * obsolete/complete.el: Move from lisp/complete.el. + + * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935). + + * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument + to the minor mode function now turns the mode ON unconditionally. + +2010-04-12 Stefan Monnier + + * vc-dir.el (vc-dir-kill-line): New command. + (vc-dir-mode-map): Bind it to C-k. + + * bookmark.el (bookmark-insert-location): Handle a nil filename. + + * woman.el: Add bookmark declarations to silence the compiler. + (bookmark-prop-get): Use `man-args' rather than `filename' as a first + step to compatibility between man and woman bookmarks. + Adjust for Man-default-bookmark-title renaming. + (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload. + + * man.el: Add bookmark declarations to silence the compiler. + (Man-name-local-regexp): Make it match NAME as well. + (Man-getpage-in-background): Return the buffer. + (Man-notify-when-ready): Use `case'. + (man-set-default-bookmark-title): Rename to Man-default-bookmark-title. + Don't hardcode "NAME". Simplify. + (Man-bookmark-make-record): Use Man-arguments rather than buffer-name. + Rename from Man-bookmark-make-record. + (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that + we have the actual man-args. Use Man-getpage-in-background rather + than `man' since the arg is already processed. Let bookmark.el do the + window handling. Only wait for the relevant process. + Don't forget to autoload. + + * bookmark.el (bookmark-default-file): Use locate-user-emacs-file. + +2010-04-12 Thierry Volpiatto + + * woman.el (woman-bookmark-make-record, woman-bookmark-jump): + New functions. + (woman-mode): Setup bookmark support. + + * man.el (man-set-default-bookmark-title, man-bookmark-make-record) + (man-bookmark-jump): New functions. + (Man-mode): Setup bookmark support. + +2010-04-10 Jari Aalto + + * comint.el (comint-password-prompt-regexp): Use regexp-opt, and + recognize ssh-keygen prompt (Bug#2817). + +2010-04-10 Michael Albinus + + * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter. + +2010-04-10 Michael Albinus + + Synchronize with Tramp repository. + + * net/tramp.el (tramp-completion-function-alist) + (tramp-file-name-regexp, tramp-chunksize) + (tramp-local-coding-commands, tramp-remote-coding-commands): + Fix docstring. + (tramp-remote-process-environment): Use `format' instead of `concat'. + (tramp-handle-directory-files-and-attributes) + (tramp-get-remote-path): Use `copy-tree'. + (tramp-handle-file-name-all-completions): Backward/ XEmacs + compatibility: Use `completion-ignore-case' if + `read-file-name-completion-ignore-case' does not exist. + (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-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-debug-outline-regexp): New defconst. + (tramp-get-debug-buffer): Use it. + (tramp-check-for-regexp): Use (forward-line 1). + (tramp-set-auto-save-file-modes): Adapt version check. + + * net/tramp-compat.el (tramp-advice-file-expand-wildcards): + Wrap call of `featurep' for 2nd argument. + (tramp-compat-make-temp-file): Simplify fallback implementation. + (tramp-compat-copy-tree): Remove function. + (tramp-compat-delete-directory): Provide implementation for older + Emacsen. + + * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes): + Do not use `tramp-fish-handle-file-attributes. + + * net/trampver.el: Update release number. + +2010-04-10 Glenn Morris + + * progmodes/compile.el (compilation-save-buffers-predicate): + Add missing :version tag. + +2010-04-09 Sam Steingold + + * progmodes/compile.el (compilation-save-buffers-predicate): + Remove the "autoload" cookie. + + * progmodes/bug-reference.el (turn-on-bug-reference-mode) + (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode' + and `bug-reference-prog-mode' can be used in hooks directly. + +2010-04-09 Dan Nicolaescu + + Add --author support to git commit. + * vc-git.el (vc-git-checkin): Pass extra-args to the commit command. + (vc-git-log-edit-mode): New minor mode. + (log-edit-mode, log-edit-extra-flags, log-edit-mode): + New declarations. + +2010-04-09 Eric Raymond + + * vc-hooks.el, vc-git.el: Improve documentation comments. + +2010-04-08 Stefan Monnier + + Fix some of the problems in defsubst* (bug#5728). + * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args. + (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728). + +2010-04-07 Sam Steingold + + * progmodes/compile.el (compilation-save-buffers-predicate): + New custom variable. + (compile, recompile): Pass it to `save-some-buffers'. -2010-05-02 Chong Yidong +2010-04-07 Jan Djärv - * progmodes/js.el (js-mode): Make paragraph variables local before - calling c-setup-paragraph-variables (Bug#6071). + * wid-edit.el (widget-choose): Move cursor to the second line of + the buffer (Bug#5695). -2010-05-01 Eli Zaretskii +2010-04-07 Dan Nicolaescu - * composite.el (compose-region, reference-point-alist): Fix typos - in the doc strings. + Add new VC methods: vc-log-incoming and vc-log-outgoing. + * vc.el (vc-print-log-setup-buttons): New function split out from + vc-print-log-internal. + (vc-log-internal-common): New function, a parametrized version of + vc-print-log-internal. + (vc-print-log-internal): Just call vc-log-internal-common with the + right arguments. + (vc-incoming-outgoing-internal): + (vc-log-incoming, vc-log-outgoing): New functions. + (vc-log-view-type): New permanent local variable. -2010-04-28 Alexander Klimov (tiny change) + * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing. - * calc/calc-graph.el (calc-graph-plot): Use the proper form for - gnuplot's "set" command. + * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead + of the dynamic bound vc-short-log. + (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions. -2010-04-26 Juanma Barranquero + * vc-git.el (vc-git-log-outgoing): New function. + (vc-git-log-view-mode): Use vc-log-view-type instead + of the dynamic bound vc-short-log. - * abbrev.el (last-abbrev-text): Doc fix. - (abbrev-prefix-mark): Don't escape parenthesis. + * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead + of the dynamic bound vc-short-log. Highlight the tag. + (vc-hg-log-incoming, vc-hg-log-outgoing): New functions. + (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode): + (vc-hg-incoming-mode): Remove. + (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing. -2010-04-24 Andreas Schwab +2010-04-07 Dan Nicolaescu - * composite.el (find-composition): Doc fix. + Fix default-directory for vc-root-diff. + * vc.el (vc-root-diff): Bind default-directory to the root + directory for the diff command. -2010-04-24 Juanma Barranquero +2010-04-07 Michael McNamara - * progmodes/sql.el (sql-electric-stuff): Fix typo in tag. - (sql-oracle-program, sql-sqlite-options) - (sql-query-placeholders-and-send): Doc fixes. - (sql-set-product, sql-interactive-mode): Reflow docstrings. - (sql-imenu-generic-expression, sql-buffer) - (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords) - (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords) - (sql-mode-sybase-font-lock-keywords) - (sql-mode-informix-font-lock-keywords) - (sql-mode-interbase-font-lock-keywords) - (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords) - (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords) - (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords) - (sql-product-feature, sql-highlight-product) - (comint-line-beginning-position, sql-rename-buffer) - (sql-toggle-pop-to-buffer-after-send-region) - (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid) - (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter): - Fix typos in docstrings. + * progmodes/verilog-mode.el (verilog-forward-sexp): + (verilog-calc-1): Support "disable fork" and "fork wait" multi + word keywords, suggested by Steve Pearlmutter. + (verilog-pretty-declarations): Support lineup of declarations in + port lists. + (verilog-skip-backward-comments, verilog-skip-forward-comment-p): + fix bug for /* / comments. + (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws): + Speed up and simplfy as this is never called with a bound. + (verilog-pretty-declarations): Enhance to line up declarations + inside a parameter list, suggested by Alan Morgan. + (verilog-pretty-expr): Tune assignment regular expression match + string for corner cases; also use markers instead of character + number as indent changes the later. -2010-04-23 Juri Linkov +2010-04-07 Wilson Snyder - * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display' - property instead of `invisible' and `after-string' (bug#5998). + * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown + as missing keyword. + (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE + causing truncation of AUTOWIRE signals. Reported by Bruce Tennant. + (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for + AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce + Tennant. + (verilog-keywords): + (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE + 1800-2009 keywords, including "global.". -2010-04-23 Juri Linkov +2010-04-06 John Wiegley - * image-mode.el (image-mode-as-text): Fix typo in docstring. + * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names + appearing in buffer list (if a live buffer name matched a recentf + file basename). Should use uniquify to offer a real solution. -2010-04-23 Juanma Barranquero +2010-04-06 John Wiegley + + * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog + comment to code, and add a :version tag. + (ido-virtual-buffers): Move defvar to fix byte-compiler warning. - * filecache.el (file-cache-add-directory-list) - (file-cache-add-directory-recursively): Fix typos in docstrings. +2010-04-06 Juanma Barranquero -2010-04-22 Kenichi Handa + Enable recentf-mode if using virtual buffers. + * ido.el (recentf-list): Declare for byte-compiler. + (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring. + (ido-make-buffer-list): Simplify. + (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode. - * language/indian.el (gurmukhi-composable-pattern): Fix typo. - (gujarati-composable-pattern): Fix typo. +2010-04-05 Juri Linkov -2010-04-20 Kenichi Handa + Scrolling commands which scroll a line instead of full screen. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html - * language/indian.el (oriya-composable-pattern) - (tamil-composable-pattern, malayalam-composable-pattern): - Add two-part vowels to "v" (vowel sign). + * simple.el (scroll-up-line, scroll-down-line): New commands. + Put property isearch-scroll=t on them. -2010-04-20 Chong Yidong + * emulation/ws-mode.el (scroll-down-line, scroll-up-line): + Remove commands. - * files.el (copy-directory): Handle symlinks (Bug#5982). +2010-04-05 Juri Linkov - * progmodes/compile.el (compilation-next-error-function): - Revert 2009-10-12 change (Bug#5983). + Scrolling commands which do not signal errors at top/bottom. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html -2010-04-20 Dan Nicolaescu + * simple.el (scroll-up-command, scroll-down-command): New commands. + Put property isearch-scroll=t on them. - * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC. - (vc-hg-working-revision): Likewise. Use hg parents, not hg parent - (Bug#5846). + * bindings.el (global-map): Rebind [prior] from `scroll-down' to + `scroll-down-command' and [next] from `scroll-up' to + `scroll-up-command'. -2010-04-20 Glenn Morris + * emulation/cua-base.el: Put property CUA=move on + `scroll-up-command' and `scroll-down-command'. + (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up' + and `scroll-down-command' to `cua-scroll-down'. - * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string. +2010-04-05 Juanma Barranquero - * minibuffer.el (completion-at-point): Doc fix. + * help.el (describe-mode): Return nil. -2010-04-17 Dan Nicolaescu +2010-04-04 John Wiegley - Fix the version number for added files. - * vc-hg.el (vc-hg-working-revision): Check if the file is - registered after hg parent fails (Bug#5961). + * ido.el (ido-use-virtual-buffers): New variable to indicate + whether "virtual buffer" support is enabled for IDO. + (ido-virtual): Face used to indicate virtual buffers in the list. + (ido-buffer-internal): If a buffer is chosen, and no such buffer + exists, but a virtual buffer of that name does (which would be why + it was in the list), recreate the buffer by reopening the file. + (ido-make-buffer-list): If virtual buffers are being used, call + `ido-add-virtual-buffers-to-list' before the make list hook. + (ido-virtual-buffers): New variable which contains a copy of the + current contents of the `recentf-list', albeit pared down for the + sake of speed, and with proper faces applied. + (ido-add-virtual-buffers-to-list): Using the `recentf-list', + create a list of "virtual buffers" to present to the user in + addition to the currently open set. Note that this logic could + get rather slow if that list is too large. With the default + `recentf-max-saved-items' of 200, there is little speed penalty. -2010-04-17 Glenn Morris +2010-04-03 Stefan Monnier - * htmlfontify.el (htmlfontify-buffer) - (htmlfontify-copy-and-link-dir): Autoload entry points. + * font-lock.el: Require CL when compiling. + (font-lock-turn-on-thing-lock): Use `case'. -2010-04-17 Magnus Henoch +2010-04-03 Eli Zaretskii - * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file - name relative to the project root (Bug#5960). + * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli + Zaretskii. - 2010-04-02 Juanma Barranquero - - * cedet/semantic/imenu.el (semantic-imenu-bucketize-type-members) - (semantic-create-imenu-directory-index): Fix typos in docstrings. - (semantic-imenu-goto-function): Reflow docstring. - -2010-04-16 Glenn Morris +2010-04-02 Juri Linkov - * vc-git.el (vc-git-print-log): Doc fix. + * ehelp.el (electric-help-orig-major-mode): + New buffer-local variable. + (electric-help-mode): Set it to original major-mode. Doc fix. + (with-electric-help): Use `electric-help-orig-major-mode' instead + of (default-value 'major-mode). Doc fix. + http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html -2010-04-14 Óscar Fuentes +2010-04-02 Sam Steingold - * ido.el (ido-file-internal): Fix 2009-12-02 change. + * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling + `vc-hg-command' with a list of flags. -2010-04-14 Christoph (tiny change) + * progmodes/bug-reference.el (bug-reference-bug-regexp): + Also accept "patch" and "RFE". + (bug-reference-fontify): `bug-reference-url-format' can also be a + function to be able to handle the bug kind. + (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add. - * progmodes/grep.el (grep-compute-defaults): Fix handling of host - default settings (Bug#5928). +2010-04-02 Jan Djärv -2010-04-10 Glenn Morris + * tmm.el (tmm-get-keymap): Check with symbolp before passing + value to fboundp, it may not be a symbol. - * progmodes/fortran.el (fortran-match-and-skip-declaration): - New function. - (fortran-font-lock-keywords-3): Use it. (Bug#1385) +2010-03-31 Chong Yidong -2010-04-07 Kenichi Handa + * cus-edit.el (custom-buffer-sort-alphabetically): Update :version. - * language/indian.el (malayalam-composable-pattern): Fix previous - change (add U+0D4D "SIGN VIRAMA"). - (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp. - (tamil-composable-pattern): Fix typo in the regexp. - (telugu-composable-pattern): Fix U+0C4D and typo in the regexp. - (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp. - (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp. +2010-03-31 Juri Linkov -2010-04-06 Chong Yidong + * simple.el (next-line, previous-line): Re-throw a signal + with `signal' instead of using `ding'. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html - * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to - paragraph-separate (Bug#5821). +2010-03-31 Juri Linkov -2010-04-05 Juri Linkov + * simple.el (keyboard-escape-quit): Raise deselecting the active + region higher than exiting the minibuffer. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html - Put breadcrumbs on overlay instead of inserting to buffer (bug#5809). +2010-03-31 Juri Linkov - * info.el (Info-find-node-2): Comment out code that skips - breadcrumbs line. - (Info-mouse-follow-link): New command. - (Info-link-keymap): New keymap. - (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'. - Return a string with links instead of inserting breadcrumbs - to the Info buffer. - (Info-fontify-node): Comment out code that inserts breadcrumbs. - Instead of putting the `invisible' text property over the Info - header, make an overlay over the Info header with the `invisible' - property and `after-string' set to the string returned by - `Info-breadcrumbs'. + * image.el (image-animated-p): Use `image-metadata' instead of + `image-extension-data'. Get GIF extenstion data from metadata + property `extension-data'. -2010-04-03 Chong Yidong +2010-03-31 Stefan Monnier - * help.el (help-window-setup-finish): Doc fix (Bug#5830). - Reported by monkey@sandpframing.com. + * simple.el (append-to-buffer): Simplify. -2010-03-30 Tomas Abrahamsson +2010-03-31 Tomas Abrahamsson * textmodes/artist.el (artist-mode): Fix typo in docstring. Reported by Alex Schröder . (Bug#5807) @@@ -6115,9 -1199,7 +6090,7 @@@ * faces.el (set-face-attribute): Fix typo in docstring. (face-valid-attribute-values): Reflow docstring. - * cedet/srecode/table.el (srecode-template-table): Fix docstring typo. - -2010-03-23 Glenn Morris +2010-03-24 Glenn Morris * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752). @@@ -6189,12 -1266,7 +6162,7 @@@ (tramp-open-connection-setup-interactive-shell): Remove workaround for OpenSolaris bug, it is not needed anymore. - 2010-03-24 Eric M. Ludlam - - * cedet/semantic/imenu.el: New file, from the CEDET repository - (Bug#5412). - -2010-03-12 Glenn Morris +2010-03-24 Glenn Morris * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427) @@@ -6202,425 -1274,6 +6170,420 @@@ * files.el (auto-mode-alist): Accept more verilog file patterns. +2010-03-24 Stefan Monnier + + * vc-dir.el (vc-dir-headers): Abbreviate the working dir. + +2010-03-24 Glenn Morris + + * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to + log-edit-before-checkin-process. + + * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry. + + * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare. + + * vc-dispatcher.el (vc-start-logentry): Doc fix. + (log-view-process-buffer, log-edit-extra-flags): Declare. + + * log-edit.el (log-edit-before-checkin-process): Doc fix. + - * cedet/semantic/bovine/c.el (semantic-c-describe-environment): - Consistently check ede-object is bound throughout. - - * cedet/ede/project-am.el (ede-shell-run-something): Declare. - +2010-03-23 Sam Steingold + + Fix bug#5620: recalculate all markers on compilation buffer + modifications, not on file modifications. + * progmodes/compile.el (buffer-modtime): New buffer-local variable: + the buffer modification time, for buffers not associated with files. + (compilation-mode): Create it. + (compilation-filter): Update it. + (compilation-next-error-function): Use it instead of + `visited-file-modtime' for timestamp. + +2010-03-23 Juri Linkov + + Implement Occur multi-line matches. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html + + * replace.el (occur): Doc fix. + (occur-engine): Set `begpt' to the beginning of the first line. + Set `endpt' to the end of the last match line. At first, count + line numbers between `origpt' and `begpt'. Split out code from + `out-line' variable to new let-bindings `match-prefix' and + `match-str'. In `out-line' add non-numeric prefix to all + non-first lines of multi-line matches. Finally, count lines + between `begpt' and `endpt' and add to `lines'. + +2010-03-23 Juri Linkov + + * replace.el (occur-accumulate-lines, occur-engine): + Use `occur-engine-line' instead of duplicate code. + (occur-engine-line): New function created from duplicate code + in `occur-accumulate-lines' and `occur-engine'. + + * replace.el (occur-engine-line): Add optional arg `keep-props'. + (occur-accumulate-lines, occur-engine): Add arg `keep-props'. + +2010-03-23 Juri Linkov + + * finder.el: Remove TODO tasks. + + * info.el (Info-finder-find-node): Add node "all" + with all package info. Handle a list of multiple keywords + separated by comma. + (info-finder): In interactive use with a prefix argument, + use `completing-read-multiple' to read a list of keywords + separated by comma. + +2010-03-23 Stefan Monnier + + Add a new completion style `substring'. + * minibuffer.el (completion-basic--pattern): New function. + (completion-basic-try-completion, completion-basic-all-completions): + Use it. + (completion-substring--all-completions) + (completion-substring-try-completion) + (completion-substring-all-completions): New functions. + (completion-styles-alist): New style `substring'. + +2010-03-22 Stefan Monnier + + Get rid of .elc files after removal of the corresponding .el. + * Makefile.in (compile-clean): New target. + (compile-main): Use it. + +2010-03-22 Jan Djärv + + * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we + don't do make there. When compiling with separate object dir, there + is no Makefile there. + +2010-03-22 Stefan Monnier + + Get rid of the ELCFILES abomination, again. + * Makefile.in (update-elclist, ELCFILES, compile-last): Remove. + (all, compile): Don't call compile-last. + (compile-main): Build the "elcfiles" list dynamically. + (compile-targets): New (internal) target. + +2010-03-21 Andreas Schwab + + * Makefile.in (top_srcdir): Define. + (abs_top_builddir): Define. + (srcdir): Don't append `/..'. + (EMACS): Use ${abs_top_builddir}. + (all, compile, compile-always, compile-last): Don't set emacswd. + (update-subdirs, update-authors): Use $(top_srcdir) instead of + $(srcdir). + (lisp): Use $(srcdir) instead of @srcdir@. + +2010-03-21 Juri Linkov + + Fix message of multi-line occur regexps and multi-buffer header lines. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html + + * replace.el (occur-1): Don't display regexp if it is longer + than window-width. Use `query-replace-descr' to display regexp. + (occur-engine): Don't display regexp in the buffer header for + multi-buffer occur. Display a separate header line with total + match count and regexp for multi-buffer occur. + Use `query-replace-descr' to display regexp. + +2010-03-20 Teodor Zlatanov + + * net/secrets.el: Fix parenthesis. + (secrets-enabled): Fix parenthesis. + +2010-03-20 Stefan Monnier + + Use more relative file and directory names. + * Makefile.in (EMACS): Arrange for it to work when we chdir. + (setwins, setwins_almost, setwins_for_subdirs): + Don't `cd'; output relative names. + (all, compile, compile-always, compile-last): Set emacswd. + (custom-deps, finder-data, autoloads, update-subdirs, compile-last): + Just cd to the lisp source dir so we can use relative file names. + + * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738). + +2010-03-20 Glenn Morris + + * textmodes/rst.el: Use faces for font-lock customization, and make the + old -face variables obsolete. + (rst-block, rst-external, rst-definition, rst-directive, rst-comment) + (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces. + (rst-block-face, rst-external-face, rst-definition-face) + (rst-directive-face, rst-comment-face, rst-emphasis1-face) + (rst-emphasis2-face, rst-literal-face, rst-reference-face): + Make obsolete. + (rst-font-lock-keywords-function): Update for above changes. + +2010-03-20 Juri Linkov + + * s-region.el: + * obsolete/s-region.el: Move to obsolete. + +2010-03-19 Juanma Barranquero + + * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'. + +2010-03-19 Dan Nicolaescu + + * vc-hooks.el (vc-path): Remove variable and obsolete declaration. + +2010-03-19 Dan Nicolaescu + + Add special markup processing for commit logs. + * log-edit.el (log-edit-extra-flags): New variable. + (log-edit): Add new argument MODE. Use that mode when non-nil + instead of the log-view-mode. + (log-view-process-buffer): New function. + + * vc.el: Document that the checkin method takes optional + arguments. Document new backend specific method: log-view-mode. + (vc-default-log-edit-mode): New function. + (vc-checkin): Use a backend specific log-view-mode. + Pass extra arguments to the checkin method. + (vc-modify-change-comment): Pass a dummy extra argument. + + * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to + log-edit. + (vc-start-logentry): Add a mode argument, pass it to vc-log-edit. + (vc-finish-logentry): Process the log buffer before passing it + down. Pass log-edit-extra-flags. + + * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit + command. + (log-edit-extra-flags, log-edit-before-checkin-process): + New declarations. + + * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit + command. + (log-edit-extra-flags, log-edit-before-checkin-process): + New declarations. + (vc-hg-log-edit-mode): New derived mode. + + * vc-arch.el (vc-arch-checkin): + * vc-cvs.el (vc-cvs-checkin): + * vc-git.el (vc-git-checkin): + * vc-mtn.el (vc-mtn-checkin): + * vc-rcs.el (vc-rcs-checkin): + * vc-sccs.el (vc-sccs-checkin): + * vc-svn.el (vc-svn-checkin): Add an optional ignored argument. + +2010-03-19 Stefan Monnier + + * outline.el (hide-sublevels): Don't hide trailing newline (and fix + parent typo). + +2010-03-19 Glenn Morris + + * password-cache.el (password-cache, password-cache-expiry): Autoload. + +2010-03-18 Glenn Morris + + * emacs-lisp/autoload.el (autoload-rubric): Doc fix. + + * replace.el (query-replace-history): Give it a doc string. + (map-query-replace-regexp): Use query-replace-from-history-variable + and query-replace-to-history-variable. + + * mail/hashcash.el (declare-function): Remove duplicate definition. + + * mail/emacsbug.el (report-emacs-bug-pretest-address): + Make it an obsolete alias for report-emacs-bug-address. + (message-strip-special-text-properties): Declare. + (report-emacs-bug): Remove test for a pretest bug address. + Combine message-mode-specific code. + + * mail/supercite.el: Don't require sendmail. + (mh-in-header-p): Declare rather than using with-no-warnings. + (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than + mail-header-end. Don't bind mysterious variable `kill-lines-magic'. + + * calendar/cal-french.el: Convert to utf-8. + + * files.el (interpreter-mode-alist): Use emacs-lisp-mode for + Emacs scripts. + +2010-03-16 Michael Albinus + + * net/secrets.el (secrets-enabled): New variable. Use it instead + of a subfeature. + +2010-03-15 Michael Albinus + + * net/secrets.el (top): Register the D-Bus signals only when the + service "org.freedesktop.secrets" can be pinged. + Provide subfeature `enabled'. + +2010-03-14 Juri Linkov + + Add finder unknown keywords. + + * finder.el (finder-unknown-keywords): New function. + + * info.el (Info-finder-find-node): Use `finder-unknown-keywords' + to create a Finder node with unknown keywords. + +2010-03-14 Juri Linkov + + * finder.el (finder-compile-keywords): Replace `princ' with + `prin1' on a list of symbols interned from keyword strings. + + * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains + a comma, then split keywords using a comma and optional whitespace. + Otherwise, split by whitespace. + + * complete.el: + * face-remap.el: + * log-view.el: + * net/hmac-def.el: + * net/hmac-md5.el: + * net/netrc.el: + * progmodes/mixal-mode.el: Fix keywords. + +2010-03-13 Michael Albinus + + * Makefile.in (ELCFILES): Add net/secrets.elc. + + * net/secrets.el: New file. + +2010-03-12 Chong Yidong + + * facemenu.el (list-colors-display, list-colors-print): New arg + callback. Use it to allow selecting colors. + + * wid-edit.el (widget-image-insert): Insert image prop even if the + current display is non-graphic. + (widget-field-value-set): New fun. + (editable-field): Use it. + (widget-field-value-get): Clean up unused var. + (widget-color-value-create, widget-color--choose-action): + New funs. Allow using list-colors-display to choose color. + +2010-03-12 Chong Yidong + + * cus-edit.el: Resort topmost custom groups. + (custom-buffer-sort-alphabetically): Default to t. + (customize-apropos): Use apropos-parse-pattern. + (custom-search-field): New var. + (custom-buffer-create-internal): Add custom-apropos search field. + (custom-add-parent-links): Don't display parent doc. + (custom-group-value-create): Don't sort top-level custom group. + (custom-magic-value-create): Show visibility button before option name. + + (custom-variable-state): New fun, from custom-variable-state-set. + (custom-variable-state-set): Use it. + (custom-group-value-create): Hide options with standard values + using the :hidden-states property. Use progress reporter. + + (custom-show): Simplify. + (custom-visibility): Disable images by default. + (custom-variable): New property :hidden-states. + (custom-variable-value-create): Enable images for + custom-visibility widgets. Use :hidden-states property to + determine initial visibility. + + * wid-edit.el (widget-image-find): Give images center ascent. + (visibility): Add :on-image and :off-image properties. + (widget-visibility-value-create): Use them. + +2010-03-12 Chong Yidong + + * cus-edit.el (processes): Remove from development group. + (oop, hypermedia): Delete group. + (comm): Promote to top-level group. + + * net/browse-url.el (browse-url): + * net/xesam.el (xesam): + * net/tramp.el (tramp): + * net/goto-addr.el (goto-address): + * net/ange-ftp.el (ange-ftp): Put in comm group. + + * view.el (view): Remove from editing group. + + * uniquify.el (uniquify): Put in files group. + + * net/browse-url.el (browse-url): + * ps-print.el (postscript): Put in external group. + + * cus-edit.el (outlines): + * textmodes/text-mode.el (text-mode-hook): + * textmodes/table.el (table): + * textmodes/picture.el (picture): + * outline.el (outlines): Put in wp group. + + * nxml/nxml-mode.el (nxml): Remove from wp group. + + * net/tramp-imap.el (tramp-imap): Put in tramp group. + + * mail/metamail.el (metamail): Remove from hypermedia group. + + * cus-edit.el (abbrev): + * whitespace.el (whitespace): + * vcursor.el (vcursor): + * reveal.el (reveal): + * hl-line.el (hl-line): Put in convenience group. + + * epg-config.el (epg): Put in data group. + + * emulation/pc-select.el (pc-select): Put in emulations group. + + * calculator.el (calculator): Put in applications group. + +2010-03-12 Dan Nicolaescu + + Add .dir-locals.el support for file-less buffers. + * files.el (hack-local-variables): Split out code to apply local + variable settings ... + (hack-local-variables-apply): ... here. New function. + (hack-dir-local-variables): Use the default directory for when the + buffer does not have an associated file. + (hack-dir-local-variables-non-file-buffer): New function. + * diff-mode.el (diff-mode): + * vc-annotate.el (vc-annotate-mode): + * vc-dir.el (vc-dir-mode): + * log-edit.el (log-edit-mode): + * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer. + +2010-03-12 Dan Nicolaescu + + Add support for shelving snapshots and for showing shelves. + * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point) + (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot): + New functions. + (vc-bzr-shelve-map, vc-bzr-shelve-menu-map) + (vc-bzr-extra-menu-map): Map them. + +2010-03-11 Glenn Morris + + * cus-edit.el (customize-changed-options-previous-release): + Bump to 23.1. + + * image.el (image-animate-max-time): Fix :version tag. + +2010-03-10 Chong Yidong + + * Branch for 23.2. + +2010-03-10 Stefan Monnier + + * vc-git.el (vc-git-revision-table): Include remote branches. + +2010-03-10 Kim F. Storm + + Animated image API. + http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html + + * image.el (image-animate-max-time): New defcustom. + (image-animated-types): New defconst. + (create-animated-image, image-animate-timer) + (image-animate-start, image-animate-stop, image-animate-timeout) + (image-animated-p): New functions. + + * image-mode.el (image-toggle-display-image): + Replace `create-image' with `create-animated-image'. + 2010-03-09 Miles Bader * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog, diff --cc lisp/cedet/ChangeLog index 00000000000,34120817a43..fb2fa1c9c05 mode 000000,100644..100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@@ -1,0 -1,1346 +1,1436 @@@ + 2010-09-21 Eric Ludlam + + Synch SRecode to CEDET 1.0. + + * pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is + 'never, disable all pulsing. + + * cedet.el (cedet-version): + * srecode.el (srecode-version): Bump version to 1.0. + + * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function. + (semantic-insert-foreign-tag): Use it. + + * 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. + + * srecode/table.el (srecode-template-table): Add :project slot. + (srecode-dump): Dump it. + + * srecode/map.el (srecode-map-update-map): Make map loading more + robust. + + * 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. + + * srecode/getset.el (srecode-insert-getset): Force tag table + update. Don't query the class if it is empty. + + * 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. + + * srecode/fields.el (srecode-fields-exit-confirmation): New option. + (srecode-field-exit-ask): Use it. + + * 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. + + * 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'. + + * 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. + + 2010-09-21 Eric Ludlam + + 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. + + 2010-09-19 Eric Ludlam + + Synch Semantic to CEDET 1.0. + + * 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. + + 2010-07-20 Juanma Barranquero + + * semantic/db-file.el (object-write): Fix typo in docstring. + + 2010-06-03 Eric Ludlam + + * semantic/lex-spp.el + (semantic-lex-spp-table-write-slot-value): Instead of erroring on + invalid values during save, just save a nil (Bug#6324). + + 2010-05-31 Jonathan Marchand (tiny change) + + * ede/cpp-root.el (ede-set-project-variables): Fix feature name + (bug#6231). + ++2010-05-02 Stefan Monnier ++ ++ Use a mode-line spec rather than a static string in Semantic. ++ * semantic/util-modes.el: ++ (semantic-minor-modes-format): New var to replace... ++ (semantic-minor-modes-status): Remove. ++ (semantic-mode-line-update): Construct a mode-line spec rather than ++ a static string so that mouse buttons can be used on individual minor ++ modes and so that semantic-mode-line-update only needs to be called ++ when global settings are changed. ++ (semantic-add-minor-mode, semantic-toggle-minor-mode-globally): ++ Call semantic-mode-line-update. ++ (semantic-toggle-minor-mode-globally): Don't assume mode is on ++ minor-mode-alist, check semantic-minor-mode-alist as well. ++ (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker) ++ (semantic-show-parser-state-marker, semantic-show-parser-state-mode) ++ (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode): ++ * semantic/mru-bookmark.el (semantic-mru-bookmark-mode): ++ * semantic/idle.el (semantic-idle-scheduler-mode) ++ (define-semantic-idle-service, semantic-idle-summary-mode): ++ * semantic/decorate/mode.el (semantic-decoration-mode): ++ Don't call semantic-mode-line-update any more. ++ ++2010-05-02 Stefan Monnier ++ ++ Use define-minor-mode in CEDET where applicable. ++ ++ * srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode): ++ Use define-minor-mode. ++ ++ * semantic/util-modes.el (semantic-add-minor-mode): ++ Remove unused arg `keymap' and code redundant with define-minor-mode. ++ (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1. ++ (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode) ++ (semantic-highlight-func-mode, global-semantic-show-parser-state-mode) ++ (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode) ++ (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode) ++ (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode): ++ Use define-minor-mode. ++ (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup) ++ (semantic-show-unmatched-syntax-mode-setup) ++ (semantic-show-parser-state-mode-setup) ++ (semantic-highlight-func-mode-setup): Inline into sole caller. ++ ++ * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode) ++ (semantic-mru-bookmark-mode): Use define-minor-mode. ++ (semantic-mru-bookmark-mode-setup): Inline into sole caller. ++ ++ * semantic/idle.el (define-semantic-idle-service): ++ Use define-minor-mode and inline setup function into its sole caller. ++ (semantic-idle-scheduler-mode-setup) ++ (semantic-idle-summary-mode-setup): Inline into sole caller. ++ (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode): ++ Use define-minor-mode. ++ ++ * semantic/decorate/mode.el (global-semantic-decoration-mode) ++ (semantic-decoration-mode): Use define-minor-mode. ++ (semantic-decoration-mode-setup): Inline into sole caller. ++ ++ * ede/dired.el (ede-dired-minor-mode): Initialize in declaration. ++ (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p. ++ (ede-dired-add-to-target): Use dolist. ++ + 2010-04-18 Chong Yidong + + * ede/pmake.el (ede-proj-makefile-insert-variables): + Don't destroy list before using it. + ++2010-04-29 Chong Yidong ++ ++ * semantic.el (semantic-completion-at-point-function): ++ New function. ++ (semantic-mode): Use semantic-completion-at-point-function for ++ completion-at-point-functions instead. ++ ++2010-04-28 Chong Yidong ++ ++ * semantic.el (semantic-mode): When enabled, add ++ semantic-ia-complete-symbol to completion-at-point-functions. ++ ++ * semantic/ia.el (semantic-ia-complete-symbol): Return nil ++ if Semantic is not active. ++ ++2010-04-19 Chong Yidong ++ ++ * ede/pmake.el (ede-proj-makefile-insert-variables): ++ Don't destroy list before using it. ++ + 2010-04-02 Juanma Barranquero + + * semantic/imenu.el (semantic-imenu-bucketize-type-members) + (semantic-create-imenu-directory-index): Fix typos in docstrings. + (semantic-imenu-goto-function): Reflow docstring. + + 2010-03-24 Juanma Barranquero + + * srecode/table.el (srecode-template-table): Fix docstring typo. + ++2010-03-24 Glenn Morris ++ ++ * semantic/bovine/c.el (semantic-c-describe-environment): ++ Consistently check ede-object is bound throughout. ++ ++ * ede/project-am.el (ede-shell-run-something): Declare. ++ + 2010-03-13 Eric M. Ludlam + + * semantic/imenu.el: New file, from the CEDET repository + (Bug#5412). + + 2010-03-06 Glenn Morris + + * semantic/grammar.el (semantic-grammar-header-template): + Update template copyright to GPLv3+. + + 2010-02-28 Chong Yidong + + * semantic/db-find.el + (semanticdb-find-translate-path-brutish-default): + * ede/make.el (ede-make-check-version): Use + with-current-buffer instead of save-excursion. + + 2010-02-16 Chong Yidong + + * data-debug.el (data-debug): Move to extensions group. + + * ede.el (ede): + * srecode.el (srecode): + * semantic.el (semantic): Put in tools and extensions group. + + 2010-02-14 Juanma Barranquero + + * ede.el (ede-run-target, project-delete-target) + (project-dist-files, ede-name, ede-documentation, ede-parent-project) + (ede-adebug-project, ede-adebug-project-parent) + (ede-adebug-project-root): Fix typos in docstrings. + + 2010-01-18 Juanma Barranquero + + * ede/locate.el (ede-locate-file-in-project) + (ede-locate-file-in-project-impl): Fix typos in docstrings. + (ede-enable-locate-on-project): Fix typos in error messages. + + * semantic/util-modes.el (semantic-unmatched-syntax-face) + (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format) + (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup) + (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings. + (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu): + Fix typos in menu help. + + * semantic.el (semantic-require-version, semantic--buffer-cache) + (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook) + (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run) + (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time) + (semantic-parse-stream, semantic-parse-region) + (semantic-parse-region-default, semantic--set-buffer-cache) + (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe) + (semantic-bovinate-toplevel, semantic-load-system-cache-loaded) + (semantic-default-submodes): + * semantic/db-ebrowse.el (semanticdb-table-ebrowse) + (semanticdb-create-ebrowse-database) + (semanticdb-find-tags-for-completion-method) + (semanticdb-find-tags-by-class-method) + (semanticdb-deep-find-tags-by-name-method) + (semanticdb-deep-find-tags-for-completion-method): + * semantic/db-el.el (semanticdb-elisp-mapatom-collector) + (semanticdb-find-tags-by-name-method, emacs-lisp-mode) + (semanticdb-find-tags-for-completion-method) + (semanticdb-find-tags-by-class-method) + (semanticdb-deep-find-tags-for-completion-method): + * semantic/db-find.el (semanticdb-find-translate-path) + (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p) + (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector) + (semanticdb-find-tags-by-name-method) + (semanticdb-find-tags-by-name-regexp-method) + (semanticdb-find-tags-for-completion-method) + (semanticdb-find-tags-by-class-method) + (semanticdb-find-tags-external-children-of-type-method) + (semanticdb-find-tags-subclasses-of-type-method) + (semanticdb-deep-find-tags-by-name-method) + (semanticdb-deep-find-tags-by-name-regexp-method) + (semanticdb-deep-find-tags-for-completion-method): + * semantic/db-global.el (semanticdb-enable-gnu-global-hook) + (semanticdb-enable-gnu-global-in-buffer) + (semanticdb-find-tags-for-completion-method) + (semanticdb-deep-find-tags-by-name-method) + (semanticdb-deep-find-tags-for-completion-method): + * semantic/db-javascript.el (semanticdb-javascript-tags) + (javascript-mode, semanticdb-find-translate-path) + (semanticdb-find-tags-for-completion-method) + (semanticdb-find-tags-by-class-method) + (semanticdb-deep-find-tags-by-name-method) + (semanticdb-deep-find-tags-for-completion-method) + (semanticdb-find-tags-external-children-of-type-method): + * semantic/idle.el (semantic-idle-work-core-handler) + (define-semantic-idle-service, semantic-idle-summary-useful-context-p) + (global-semantic-idle-scheduler-mode): + * srecode/dictionary.el (srecode-field-value) + (srecode-dictionary-add-section-dictionary): + Fix typos in docstrings. + + 2010-01-17 Glenn Morris + + * semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix. + + 2010-01-17 Juanma Barranquero + + * semantic.el (semantic-mode): Fix typos in docstrings. + + 2010-01-16 Mario Lang + + * ede/cpp-root.el (ede-cpp-root-project): + * ede/files.el (ede-expand-filename): + * ede/simple.el (ede-simple-project): + * semantic/complete.el (semantic-complete-read-tag-engine) + (semantic-complete-inline-tag-engine): + * semantic/db-el.el (semanticdb-equivalent-mode): + * semantic/db-global.el (semanticdb-equivalent-mode): + * semantic/db-javascript.el (semanticdb-equivalent-mode): + * semantic/db.el (semanticdb-equivalent-mode): + * semantic/decorate/include.el (semantic-decoration-unknown-include-describe): + * semantic/idle.el (semantic-idle-work-for-one-buffer): + Remove duplicated words in doc-strings. + + 2010-01-14 Juanma Barranquero + + * semantic/edit.el (semantic-reparse-needed-change-hook) + (semantic-no-reparse-needed-change-hook): + * srecode/insert.el (srecode-resolve-argument-list) + (srecode-template-inserter-blank, srecode-template-inserter-variable) + (srecode-template-inserter-ask, srecode-template-inserter-width) + (srecode-template-inserter-section-start) + (srecode-template-inserter-section-end, srecode-insert-method): + + 2010-01-12 Juanma Barranquero + + * data-debug.el (data-debug): Fix customization group reference. + + 2010-01-12 Juanma Barranquero + + * semantic/analyze.el (semantic-analyze-push-error) + (semantic-analyze-context, semantic-analyze-context-assignment) + (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag): + * semantic/java.el (java-mode, semantic-tag-include-filename) + (semantic-java-doc-keywords-map): + * semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast) + (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region) + (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch) + (semantic-c-classname, semantic-format-tag-uml-prototype) + (semantic-c-dereference-namespace, semantic-analyze-type-constants): + * semantic/bovine/el.el (semantic-elisp-form-to-doc-string) + (semantic-emacs-lisp-obsoleted-doc, semantic-up-context) + (semantic-get-local-variables, semantic-end-of-command) + (semantic-beginning-of-command, semantic-ctxt-current-class-list) + (lisp-mode): + * semantic/bovine/make.el (makefile-mode): + * semantic/wisent/python.el (wisent-python-string-re) + (wisent-python-implicit-line-joining-p, wisent-python-forward-string) + (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line) + (semantic-lex, semantic-get-local-variables, python-mode): + * semantic/wisent/python-wy.el (wisent-python-wy--keyword-table): + * srecode/extract.el (srecode-extract-state-set) + (srecode-extract-method): Fix typos in docstrings. + + 2010-01-10 Chong Yidong + + * semantic.el (semantic-new-buffer-setup-functions): + Add python parser. + + 2010-01-10 Richard Kim + + * semantic/wisent/python-wy.el: + * semantic/wisent/python.el: New files. + + 2010-01-02 Juanma Barranquero + + * semantic/db-typecache.el (semanticdb-typecache-find-default): + Fix typo in docstring. + + 2009-12-14 Chong Yidong + + * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode) + (semantic-mru-bookmark-mode): Doc fixes. + + * semantic/db.el (semanticdb-cache-get): Use error instead + of assert. + + 2009-12-05 Chong Yidong + + * semantic/ia.el (semantic-ia-complete-symbol): + Make argument optional. + + 2009-12-05 Eric Ludlam + + * semantic/bovine/c.el (semantic-c-describe-environment): + Describe project macro symbols. + + * semantic/complete.el (semantic-complete-do-completion): + Don't call semantic-collector-current-exact-match. + + * ede.el (ede-apply-preprocessor-map): Accept lists of + ede-objects as targets. + + * ede/pmake.el (ede-proj-makefile-insert-variables): Output + a target's object list even if compiler vars are already in the + Makefile. + + * ede/emacs.el (ede-preprocessor-map): Add config.h to the + list of headers producing necessary macros. + + 2009-11-24 Glenn Morris + + * semantic/idle.el (global-semantic-idle-scheduler-mode): + Move after definition of global-semantic-idle-tag-highlight-mode. + + 2009-11-22 Chong Yidong + + * srecode/map.el (srecode-get-maps): + * semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag): + * semantic/wisent/comp.el (wisent-toggle-verbose-flag): + * semantic/decorate/mode.el (semantic-decoration-mode) + (semantic-toggle-decoration-style): + * semantic/decorate/include.el + (semantic-decoration-include-describe) + (semantic-decoration-unknown-include-describe) + (semantic-decoration-unparsed-include-describe) + (semantic-decoration-all-include-summary): + * semantic/bovine/c.el (semantic-c-debug-mode-init): + * semantic/analyze/complete.el + (semantic-analyze-possible-completions): + * semantic/util-modes.el (semantic-highlight-edits-mode) + (semantic-show-unmatched-syntax-mode) + (semantic-show-parser-state-mode, semantic-stickyfunc-mode) + (semantic-highlight-func-mode): + * semantic/util.el (semantic-describe-buffer): + * semantic/symref.el (semantic-symref-find-references-by-name) + (semantic-symref-find-tags-by-name) + (semantic-symref-find-tags-by-regexp) + (semantic-symref-find-tags-by-completion) + (semantic-symref-find-file-references-by-name) + (semantic-symref-find-text): + * semantic/senator.el (senator-copy-tag, senator-kill-tag) + (senator-yank-tag): + * semantic/scope.el (semantic-calculate-scope): + * semantic/mru-bookmark.el (semantic-mru-bookmark-mode): + * semantic/idle.el (semantic-idle-scheduler-mode) + (define-semantic-idle-service): + * semantic/complete.el (semantic-complete-analyze-inline) + (semantic-complete-analyze-inline-idle): + * semantic/analyze.el (semantic-analyze-current-context): + * mode-local.el (describe-mode-local-bindings) + (describe-mode-local-bindings-in-mode): + * ede/make.el (ede-make-check-version): + * ede/locate.el (ede-enable-locate-on-project): + * cedet-idutils.el (cedet-idutils-expand-filename) + (cedet-idutils-version-check): + * cedet-global.el (cedet-gnu-global-expand-filename) + (cedet-gnu-global-version-check): + * cedet-cscope.el (cedet-cscope-expand-filename) + (cedet-cscope-version-check): Use called-interactively-p instead + of interactive-p. + + * semantic/ia.el (semantic-ia-completion-format-tag-function): + Use semantic-format-tag-prototype. + + 2009-11-21 Chong Yidong + + * semantic/complete.el (semantic-complete-read-tag-engine) + (semantic-complete-jump-local, semantic-complete-jump): + Improve prompt string. + + 2009-11-20 Chong Yidong + + * semantic/complete.el (semantic-complete-inline-map): Doc fix. + + * semantic/idle.el (define-semantic-idle-service) + (semantic-idle-summary-mode, semantic-idle-completions): Doc fix. + + 2009-11-20 Chong Yidong + + * cedet.el (cedet-menu-map): Re-order menu items. + + * semantic.el: Enable idle-mode menu items only if + global-semantic-idle-scheduler-mode is enabled. + (semantic-default-submodes): Doc fix. + + * semantic/idle.el (global-semantic-idle-scheduler-mode): + When turning off, disable other idle modes. + + 2009-11-15 Chong Yidong + + * semantic/idle.el (semantic-idle-summary-mode) + (semantic-idle-summary-mode): Define using define-minor-mode + instead of define-semantic-idle-service. + (semantic-idle-summary-mode): New function. + (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure + that mouse motion does not reset the echo area. + + 2009-11-08 Chong Yidong + + * semantic/ctxt.el (semantic-get-local-variables): Disable + the progress reporter entirely. + + 2009-11-03 Stefan Monnier + + * semantic/fw.el (semantic/loaddefs): + * srecode.el (srecode/loaddefs): + * ede.el (ede/loaddefs): Load rather than require. + * ede/cpp-root.el: + * ede/emacs.el: + * ede/files.el: + * ede/linux.el: + * ede/locate.el: + * ede/make.el: + * ede/shell.el: + * ede/speedbar.el: + * ede/system.el: + * ede/util.el: + * semantic/analyze.el: + * semantic/bovine.el: + * semantic/complete.el: + * semantic/ctxt.el: + * semantic/db-file.el: + * semantic/db-find.el: + * semantic/db-global.el: + * semantic/db-mode.el: + * semantic/db-typecache.el: + * semantic/db.el: + * semantic/debug.el: + * semantic/dep.el: + * semantic/doc.el: + * semantic/edit.el: + * semantic/find.el: + * semantic/format.el: + * semantic/html.el: + * semantic/ia-sb.el: + * semantic/ia.el: + * semantic/idle.el: + * semantic/lex-spp.el: + * semantic/lex.el: + * semantic/mru-bookmark.el: + * semantic/scope.el: + * semantic/senator.el: + * semantic/sort.el: + * semantic/symref.el: + * semantic/tag-file.el: + * semantic/tag-ls.el: + * semantic/tag-write.el: + * semantic/tag.el: + * semantic/util-modes.el: + * semantic/analyze/complete.el: + * semantic/analyze/refs.el: + * semantic/bovine/c.el: + * semantic/bovine/gcc.el: + * semantic/bovine/make.el: + * semantic/bovine/scm.el: + * semantic/decorate/include.el: + * semantic/decorate/mode.el: + * semantic/symref/cscope.el: + * semantic/symref/global.el: + * semantic/symref/grep.el: + * semantic/symref/idutils.el: + * semantic/symref/list.el: + * semantic/wisent/java-tags.el: + * semantic/wisent/javascript.el: + * srecode/compile.el: + * srecode/cpp.el: + * srecode/document.el: + * srecode/el.el: + * srecode/expandproto.el: + * srecode/getset.el: + * srecode/insert.el: + * srecode/java.el: + * srecode/map.el: + * srecode/mode.el: + * srecode/template.el: + * srecode/texi.el: Remove the file-local setting of + generated-autoload-feature. + + 2009-11-03 Glenn Morris + + * mode-local.el (with-mode-local): Doc fix. + + 2009-10-31 Chong Yidong + + * cedet.el (cedet-menu-map): Remove Semantic and EDE menu + items. + + * ede.el (ede-minor-mode): + * semantic.el (semantic-mode): Toggle menu separators. + + 2009-10-31 Glenn Morris + + * semantic/tag.el (semantic--tag-link-list-to-buffer): + Use mapc rather than mapcar because the return value is never used. + - * srecode/template.el, cedet/semantic/wisent/javascript.el: - * semantic/wisent/java-tags.el, cedet/semantic/texi.el: ++ * srecode/template.el, semantic/wisent/javascript.el: ++ * semantic/wisent/java-tags.el, semantic/texi.el: + * semantic/html.el: + Suppress harmless warnings about setting up semantic-imenu (not + part of Emacs) variables. + + 2009-10-30 Stefan Monnier + + * srecode/srt-mode.el (semantic-analyze-possible-completions): + * semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag): + * semantic/symref/grep.el (semantic-symref-perform-search): + * semantic/bovine/gcc.el (semantic-gcc-query): + * semantic/bovine/c.el (semantic-c-parse-lexical-token): + * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons) + (semantic-analyzer-debug-global-symbol) + (semantic-analyzer-debug-missing-innertype) + (semantic-analyzer-debug-insert-include-summary): + * semantic/util.el (semantic-file-tag-table): + (semantic-describe-buffer-var-helper, semantic-something-to-tag-table) + (semantic-recursive-find-nonterminal-by-name): + * semantic/tag-ls.el (semantic-tag-calculate-parent-default): + * semantic/tag-file.el (semantic-prototype-file): + * semantic/symref.el (semantic-symref-parse-tool-output): + * semantic/sb.el (semantic-sb-fetch-tag-table): + * semantic/lex-spp.el (semantic-lex-spp-lex-text-string): + * semantic/idle.el (semantic-idle-work-for-one-buffer): + (semantic-idle-summary-maybe-highlight): + * semantic/ia-sb.el (semantic-ia-speedbar) + (semantic-ia-sb-tag-info): + * semantic/grammar.el (semantic-analyze-possible-completions): + * semantic/find.el (semantic-brute-find-tag-by-position): + * semantic/ede-grammar.el (project-compile-target): + (ede-proj-makefile-insert-variables): + * semantic/debug.el (semantic-debug-set-parser-location): + (semantic-debug-set-source-location, semantic-debug-interface-layout) + (semantic-debug-mode, semantic-debug): + * semantic/db.el (semanticdb-needs-refresh-p): + * semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer): + * semantic/db-javascript.el (semanticdb-equivalent-mode): + * semantic/db-find.el (semanticdb-find-log-new-search) + (semanticdb-find-translate-path-includes--internal) + (semanticdb-reset-log, semanticdb-find-log-activity): + * semantic/db-file.el (object-write): + * semantic/db-el.el (semanticdb-equivalent-mode): + * semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p) + (semanticdb-create-ebrowse-database): + * semantic/db-debug.el (semanticdb-table-sanity-check): + * semantic/complete.el (semantic-displayor-focus-request) + (semantic-collector-calculate-completions-raw) + (semantic-complete-read-tag-analyzer): + * semantic/analyze.el (semantic-analyze-pulse): + * ede/util.el (ede-update-version-in-source): + * ede/proj.el (project-delete-target): + * ede/proj-elisp.el (ede-update-version-in-source) + (ede-proj-flush-autoconf): + * ede/pconf.el (ede-proj-configure-synchronize) + (ede-proj-configure-synchronize): + * ede/locate.el (ede-locate-file-in-project-impl): + * ede/linux.el (ede-linux-version): + * ede/emacs.el (ede-emacs-version): + * ede/dired.el (ede-dired-add-to-target): + * ede.el (ede-buffer-header-file, ede-find-target) + (ede-buffer-documentation-files, ede-project-buffers, ede-set) + (ede-target-buffers, ede-buffers, ede-make-project-local-variable): + * cedet-idutils.el (cedet-idutils-fnid-call): + (cedet-idutils-lid-call, cedet-idutils-expand-filename) + (cedet-idutils-version-check): + * cedet-global.el (cedet-gnu-global-call): + (cedet-gnu-global-expand-filename, cedet-gnu-global-root) + (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits): + * cedet-cscope.el (cedet-cscope-call) + (cedet-cscope-expand-filename, cedet-cscope-version-check): + Use with-current-buffer. + * ede.el (ede-make-project-local-variable) + (ede-set-project-variables, ede-set): Use dolist. + + 2009-10-28 Stefan Monnier + + * mode-local.el (make-obsolete-overload): Add `when' argument. + (overload-docstring-extension): Use that info. + * semantic/fw.el (semantic-alias-obsolete): Pass the `when' info. + * semantic/idle.el (semantic-eldoc-current-symbol-info): + * semantic/tag-ls.el (semantic-nonterminal-protection) + (semantic-nonterminal-abstract, semantic-nonterminal-leaf) + (semantic-nonterminal-full-name): Add the new `when' info. + * semantic/decorate/mode.el (semantic/decorate): Require CL for + `assert'. + + 2009-10-25 Stefan Monnier + + * semantic/fw.el (semantic-alias-obsolete) + (semantic-varalias-obsolete): Make the `when' arg mandatory. + (define-mode-overload-implementation): + * semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks): + * semantic/wisent.el (wisent-lex-make-token-table): + * semantic/util.el (semantic-file-token-stream) + (semantic-something-to-stream): + * semantic/tag.el (semantic-tag-make-assoc-list) + (semantic-expand-nonterminal): + * semantic/tag-file.el (semantic-find-nonterminal) + (semantic-find-dependency, semantic-find-nonterminal) + (semantic-find-dependency): + * semantic/lex.el (semantic-flex-start, semantic-flex-end) + (semantic-flex-text, semantic-flex-make-keyword-table) + (semantic-flex-keyword-p, semantic-flex-keyword-put) + (semantic-flex-keyword-get, semantic-flex-map-keywords) + (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list): + * semantic/java.el (semantic-java-prototype-nonterminal): + * semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks) + (semantic-after-idle-scheduler-reparse-hooks): + * semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks): + * semantic/db-mode.el (semanticdb-mode-hooks): + * semantic.el (semantic-toplevel-bovine-table) + (semantic-toplevel-bovine-cache) + (semantic-before-toplevel-bovination-hook, semantic-init-hooks) + (semantic-init-mode-hooks, semantic-init-db-hooks) + (semantic-bovination-working-type): Provide the `when' arg. + + 2009-10-24 Chong Yidong + + * semantic/util.el (semantic-recursive-find-nonterminal-by-name): + * semantic/tag.el (semantic-token-type-parent): Add WHEN + argument to make-obsolete. + + * semantic/fw.el (semantic-alias-obsolete) + (semantic-varalias-obsolete): Add optional WHEN argument. + + 2009-10-21 Eric Ludlam + + * semantic/bovine/c.el (semantic-c-debug-mode-init) + (semantic-c-debug-mode-init-pch): New functions. + (semantic-c-debug-mode-init-last-mode): New var. + (semantic-c-parse-lexical-token): Use them. + + * semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace): + When extracting the argument list, limit only by point-max. + + 2009-10-17 Chong Yidong + + * srecode/srt.el: + * srecode/compile.el: + * semantic/mru-bookmark.el: + * semantic/debug.el: + * semantic/complete.el: + * semantic/analyze.el: Require CL when compiling. + + 2009-10-17 Eric Ludlam + + * semantic/scope.el + (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of + tmpscope so that the regular scope will continue to work. + + * semantic/idle.el (semantic-idle-tag-highlight): + Use semantic-idle-summary-highlight-face as the highlighting. + + * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer + contains multibyte characters, choose first applicable coding + system automatically. + + * ede/project-am.el (project-run-target): New method. + (project-run-target): New method. + + * ede.el (ede-target): Add run target menu item. + (ede-project, ede-minor-keymap): Add ede-run-target binding. + (ede-run-target): New function. + (ede-target::project-run-target): New method. + + * ede/proj.el (project-run-target): New method. + + * ede/proj-shared.el (ede-gcc-libtool-shared-compiler) + (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS. + Add :rules. + (ede-proj-target-makefile-shared-object): Only libtool compilers + now available. Add linkers for libtool. + (ede-cc-linker-libtool, ede-g++-linker-libtool): New. + (ede-proj-makefile-target-name): Always use .la extension. + + * ede/proj-prog.el (project-run-target): New method. + + * ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker. + (ede-g++-linker): Change Change link lines. + + * ede/pmake.el (ede-pmake-insert-variable-shared): + When searching for old variables, go to the end of the buffer and + search backward from there. + (ede-proj-makefile-automake-insert-subdirs) + (ede-proj-makefile-automake-insert-extradist): New methods. + (ede-proj-makefile-create): Use them. + + * ede/pconf.el (ede-proj-configure-test-required-file): + Force FILE to expand to the current target. Use file-exists-p to + check that it exists. + + * ede/linux.el (ede-linux-version): Don't call "head". + (ede-linux-load): Wrap dir in file-name-as-directory. + Set :version slot. + + * ede/files.el (ede-get-locator-object): When enabling + locate, do so on "top". + + * ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in + file-name-as-directory during compare. + (ede-emacs-version): Return Emacs/XEmacs differentiator. + Get version number from different places. Don't call egrep. + (ede-emacs-load): Set :version slot. Call file-name-as-directory + to set the directory. + + * ede/shell.el: New file. + + * inversion.el (inversion-decoders): Allow for stray . in + alpha/beta variants. + + 2009-10-17 Glenn Morris + + * semantic/grammar.el (semantic-grammar--lex-delim-spec): + All errors should have messages. + + 2009-10-10 Sascha Wilde + + * ede/proj-shared.el (ede-proj-makefile-target-name): + Use .la for Automake. + + 2009-10-09 Chong Yidong + + * ede/pconf.el (ede-proj-configure-synchronize): + Use "autoreconf -i". Suggested by Andreas Schwab. + + 2009-10-08 Chong Yidong + + * ede/proj.el (project-make-dist, project-compile-project): + Fix filename test. + (ede-proj-dist-makefile): Use expand-file-name instead of concat + to expand file names. + + 2009-10-08 Chong Yidong + + * ede/proj-obj.el (ede-gcc-linker): New var. + (ede-proj-target-makefile-objectcode): Use it. + + * ede/source.el (ede-want-any-source-files-p) + (ede-want-any-auxiliary-files-p, ede-want-any-files-p): + Return search result. This error was introduced while merging. + + 2009-10-04 Chong Yidong + + * semantic.el (semantic-new-buffer-setup-functions): New option. + (semantic-new-buffer-fcn): Call parser setup functions here. + (semantic-mode): Don't call parser setup functions here, it's done + in semantic-new-buffer-fcn now. + (semantic-mode): Parse all existing buffers when enabled. + + * srecode/compile.el (srecode-compile-file): + Call semantic-new-buffer-fcn if the buffer has not been parsed. + + 2009-10-04 Chong Yidong + + * ede/pmake.el (ede-pmake-insert-variable-once): Delete. + + * ede/proj-comp.el: Don't require ede/pmake at toplevel. + (proj-comp-insert-variable-once): New macro, renamed from + ede-pmake-insert-variable-once in ede/pmake.edl. + (ede-proj-makefile-insert-variables): Use it. + + 2009-10-04 Juanma Barranquero + + * ede/makefile-edit.el (makefile-beginning-of-command) + (makefile-end-of-command): + * srecode/srt-mode.el (semantic-beginning-of-context) + (semantic-end-of-context): Fix previous change. Doc fixes. + + 2009-10-04 Juanma Barranquero + + * ede/makefile-edit.el (makefile-beginning-of-command) + (makefile-end-of-command): + * semantic/lex.el (semantic-lex-token): + * semantic/analyze/fcn.el + (semantic-analyze-dereference-metatype-1): + * semantic/bovine/c.el (semantic-lex-cpp-define) + (semantic-lex-cpp-undef): + * semantic/wisent/wisent.el (wisent-skip-block): + * srecode/srt-mode.el (semantic-beginning-of-context) + (semantic-end-of-context): Fix typos in docstrings. + + 2009-10-04 Chong Yidong + + * ede.el (ede-project-placeholder-cache-file): + * semantic/db-file.el (semanticdb-default-save-directory): + * srecode/map.el (srecode-map-save-file): + Use locate-user-emacs-file. Suggested by Juanma Barranquero. + + 2009-10-03 Chong Yidong + + * srecode/insert.el: Require srecode/args. + + * srecode/args.el: Require srecode/dictionary instead of + srecode/insert. + + * srecode/srt-mode.el (srecode-template-mode): Doc fix. + + * files.el (auto-mode-alist): Add .srt and Project.ede. + + * semantic.el (semantic-mode): + Handle srecode-template-mode-hook as well. + (semantic-mode): Use js-mode-hook for Javascript hook. + + * srecode/template.el: Remove hook variable. + + * ede/proj-comp.el: Require ede/pmake when compiling. + + * ede.el (ede-target-forms-menu): Don't enable if no + projects exist. + (ede-project-placeholder-cache-file): Default to a file in + user-emacs-directory. + + * srecode/map.el (srecode-map-base-template-dir): Look for + templates in data-directory. + (srecode-map-save-file): Default to a file in user-emacs-directory. + + * ede/srecode.el (ede-srecode-setup): Use default templates + directory. + + 2009-09-30 Eric Ludlam + + * semantic/util-modes.el (semantic-highlight-func-mode): + Doc fix. + + * ede/proj-comp.el (ede-proj-makefile-insert-variables): + Only insert each variable once. + + * ede/pmake.el (ede-pmake-insert-variable-once): New macro. + (ede-pmake-insert-variable-shared): Use it. + + * ede/cpp-root.el (ede-preprocessor-map): Do not deref table + for lexical table iff table is nil. + + 2009-10-01 Glenn Morris + + * semantic/bovine/gcc.el + (semantic-c-reset-preprocessor-symbol-map): Fix declaration. + (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes. + + 2009-10-03 Glenn Morris + + * semantic/db-find.el (data-debug-insert-tag-list): Comment out + declaration, currently false. + + 2009-10-01 Glenn Morris + + * cedet-files.el (cedet-directory-name-to-file-name): + * cedet-idutils.el (cedet-idutils-search) + (cedet-idutils-expand-filename, cedet-idutils-support-for-directory) + (cedet-idutils-version-check): + * cedet.el (cedet-version): + * data-debug.el (data-debug-insert-overlay-button) + (data-debug-insert-overlay-list-button) + (data-debug-insert-buffer-button) + (data-debug-insert-buffer-list-button) + (data-debug-insert-process-button, data-debug-insert-ring-button) + (data-debug-insert-widget, data-debug-insert-stuff-list-button) + (data-debug-insert-stuff-vector-button) + (data-debug-insert-symbol-button, data-debug-insert-string) + (data-debug-insert-number, data-debug-insert-lambda-expression) + (data-debug-insert-nil, data-debug-insert-simple-thing) + (data-debug-insert-custom, data-debug-edebug-expr): + * ede.el (ede-auto-add-method, ede-project-class-files) + (global-ede-mode-map, ede-new, ede-debug-target) + (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set): + * semantic.el (semantic-minimum-working-buffer-size) + (semantic-fetch-tags, semantic-submode-list) + (semantic-default-submodes): + * ede/source.el (ede-source-match): + * ede/project-am.el (project-am-type-alist, project-add-file) + (project-am-package-info): + * ede/proj.el (ede-proj-target, project-new-target): + * ede/proj-elisp.el (ede-proj-tweak-autoconf): + * ede/proj-comp.el (ede-current-build-list): + * ede/makefile-edit.el (makefile-move-to-macro): + * ede/files.el (ede-toplevel-project-or-nil): + * ede/cpp-root.el (initialize-instance): + * ede/autoconf-edit.el (autoconf-find-last-macro) + (autoconf-parameter-strip, autoconf-insert-new-macro): + * semantic/wisent.el (wisent-lex-eoi): + * semantic/util-modes.el (global-semantic-show-parser-state-mode) + (semantic-show-parser-state-mode): + * semantic/texi.el (semantic-texi-environment-regexp): + * semantic/tag.el (semantic-tag-new-variable) + (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy) + (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value) + (semantic--tag-deep-copy-tag-list) + (semantic-tag-components-with-overlays-default): + * semantic/symref.el (semantic-symref-find-text): + * semantic/senator.el (senator-yank-tag) + (senator-transpose-tags-up): + * semantic/scope.el (semantic-analyze-scoped-tags-default) + (semantic-analyze-scoped-inherited-tags, semantic-scope-find): + * semantic/sb.el (semantic-sb-autoexpand-length): + * semantic/lex.el (semantic-lex-comment-regex) + (semantic-lex-maximum-depth, define-lex, semantic-lex-token) + (semantic-lex-unterminated-syntax-protection, define-lex-analyzer): + * semantic/lex-spp.el + (semantic-lex-spp-dynamic-macro-symbol-obarray-stack) + (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt): + * semantic/idle.el + (semantic-idle-summary-current-symbol-info-brutish) + (semantic-idle-summary-current-symbol-info-default): + * semantic/grammar.el (semantic-grammar-recreate-package) + (semantic--grammar-macro-compl-dict): + * semantic/grammar-wy.el (semantic-grammar-wy--parse-table): + * semantic/format.el (semantic-format-tag-custom-list) + (semantic-format-tag-canonical-name-default): + * semantic/find.el (semantic-find-tag-by-overlay-in-region) + (semantic-find-tags-for-completion) + (semantic-find-tags-by-scope-protection-default) + (semantic-deep-find-tags-for-completion): + * semantic/edit.el + (semantic-edits-incremental-reparse-failed-hook) + (semantic-edits-verbose-flag, semantic-edits-assert-valid-region) + (semantic-edits-splice-remove, semantic-edits-splice-replace): + * semantic/doc.el (semantic-documentation-comment-preceeding-tag): + * semantic/dep.el (semantic-dependency-include-path): + * semantic/db.el (semanticdb-default-find-index-class) + (semanticdb-match-any-mode, semanticdb-with-match-any-mode) + (semanticdb-project-roots): + * semantic/db-find.el (semanticdb-implied-include-tags) + (semanticdb-find-adebug-insert-scanned-tag-cons) + (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc) + (semanticdb-brute-deep-find-tags-for-completion): + * semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table): + * semantic/ctxt.el (semantic-beginning-of-context-default) + (semantic-end-of-context-default) + (semantic-ctxt-current-function-default) + (semantic-ctxt-scoped-types-default): + * semantic/complete.el (semantic-complete-read-tag-engine) + (semantic-complete-inline-tag-engine) + (semantic-complete-inline-custom-type) + (semantic-complete-read-tag-analyzer): + * semantic/chart.el (semantic-chart-tags-by-class) + (semantic-chart-database-size): + * semantic/analyze.el (semantic-analyze-current-symbol) + (semantic-analyze-current-context): + * semantic/symref/list.el (semantic-symref) + (semantic-symref-hide-buffer, semantic-symref-symbol): + * semantic/symref/grep.el (semantic-symref-grep-use-template): + * semantic/symref/filter.el (semantic-symref-hits-in-region): + * semantic/bovine/el.el (semantic-elisp-form-to-doc-string): + * semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map) + (semantic-c-parse-token-hack-depth, semantic-c--template-name-1) + (semantic-c-dereference-template): + * semantic/analyze/refs.el (semantic--analyze-refs-full-lookup) + (semantic--analyze-refs-full-lookup-with-parents) + (semantic--analyze-refs-full-lookup-simple): + * semantic/analyze/complete.el + (semantic-analyze-possible-completions): + * srecode/table.el (srecode-mode-table-new): + * srecode/srt.el (srecode-read-variable-name): + * srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p): + * srecode/semantic.el (srecode-semantic-handle-:tag) + (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag): + * srecode/map.el (srecode-current-map): + * srecode/insert.el (srecode-insert) + (srecode-insert-variable-secondname-handler, srecode-insert-method) + (srecode-template-inserter-point-override) + (srecode-insert-include-lookup): + * srecode/getset.el (srecode-auto-choose-class): + * srecode/extract.el (srecode-inserter-extract): + * srecode/document.el + (srecode-document-autocomment-return-last-alist) + (srecode-document-autocomment-param-type-alist) + (srecode-document-insert-function-comment) + (srecode-document-insert-variable-one-line-comment) + (srecode-document-function-name-comment): + * srecode/dictionary.el (srecode-create-dictionary) + (srecode-compound-toString): + * srecode/compile.el (srecode-flush-active-templates): + * srecode/args.el (srecode-semantic-handle-:blank): + Doc/message fixes. + + 2009-10-01 Juanma Barranquero + + * semantic/wisent/javat-wy.el + (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@. + + 2009-09-30 Juanma Barranquero + + * srecode/expandproto.el: Fix provide statement. + + 2009-09-30 Eric Ludlam + + * emacs-lisp/eieio.el (boolean-p): Delete. + + 2009-09-30 Sascha Wilde + + * ede/srecode.el: Fix provide statement. + + 2009-09-30 Glenn Morris + + * ede/proj.el (ede-proj-target-makefile-miscelaneous): + * ede/proj-aux.el (ede-aux-source): + * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous) + (ede-misc-source): + * semantic/mru-bookmark.el (semantic-mrub-completing-read) + (semantic-mrub-switch-tags): Fix doc typos. + + * semantic/db-global.el (data-debug-new-buffer) + (data-debug-insert-thing): Remove unneeded declarations (one broken). + (semanticdb-enable-gnu-global-databases): Fix prompt typo. + + * semantic/analyze/fcn.el (semantic-scope-find): Fix declaration. + + * semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime + use of CL function `remove-if-not'. + + 2009-09-29 Glenn Morris + + * semantic/symref/idutils.el: + * semantic/symref/list.el: Relicense under GPLv3+. + + * ede/srecode.el (srecode-resolve-arguments): Fix declaration. + + * semantic/complete.el (semantic-displayor-focus-abstract-child-p): + * semantic/tag-file.el (semanticdb-table-child-p): + * srecode/compile.el (srecode-template-inserter-newline-child-p): + Mark declarations not understood by check-declare. + + 2009-09-28 Eric Ludlam + + CEDET (development tools) package merged. + + * *.el: + * ede/*.el: + * semantic/*.el: + * srecode/*.el: New files. + + 2009-09-28 Eric Ludlam + + * emacs-lisp/chart.el: + * emacs-lisp/eieio-base.el: + * emacs-lisp/eieio-comp.el: + * emacs-lisp/eieio-custom.el: + * emacs-lisp/eieio-datadebug.el: + * emacs-lisp/eieio-opt.el: + * emacs-lisp/eieio-speedbar.el: + * emacs-lisp/eieio.el: New files. + + * cedet-cscope.el: + * cedet-files.el: + * cedet-global.el: + * cedet-idutils.el: + * data-debug.el: + * inversion.el: + * mode-local.el: + * pulse.el: New files. diff --cc lisp/cedet/ede/dired.el index 82784740615,b6c5ca7c721..59644a03ec8 --- a/lisp/cedet/ede/dired.el +++ b/lisp/cedet/ede/dired.el @@@ -74,13 -85,24 +74,13 @@@ negative, force off. (let ((ede-object (ede-current-project))) (ede-invoke-method 'project-interactive-select-target "Add files to Target: ")))) - (let ((files (dired-get-marked-files t))) - (while files - (project-add-file target (car files)) - ;; Find the buffer for this files, and set its ede-object - (if (get-file-buffer (car files)) - (with-current-buffer (get-file-buffer (car files)) - (setq ede-object nil) - (setq ede-object (ede-buffer-object (current-buffer))))) - ;; Increment. - (setq files (cdr files))))) - -;; Minor mode management. -(add-to-list 'minor-mode-alist '(ede-dired-minor-mode " EDE")) -(let ((a (assoc 'ede-dired-minor-mode minor-mode-map-alist))) - (if a - (setcdr a ede-dired-keymap) - (add-to-list 'minor-mode-map-alist (cons 'ede-dired-minor-mode - ede-dired-keymap)))) + (dolist (file (dired-get-marked-files t)) + (project-add-file target file) - ;; Find the buffer for this files, and set it's ede-object ++ ;; Find the buffer for this files, and set its ede-object + (if (get-file-buffer file) - (with-current-buffer (get-file-buffer file) - (setq ede-object nil) - (setq ede-object (ede-buffer-object (current-buffer))))))) ++ (with-current-buffer (get-file-buffer file) ++ (setq ede-object nil) ++ (setq ede-object (ede-buffer-object (current-buffer))))))) (provide 'ede/dired) diff --cc lisp/cedet/ede/project-am.el index 3eb1f9c2183,a76ea7138a8..ccfb1a242b4 --- a/lisp/cedet/ede/project-am.el +++ b/lisp/cedet/ede/project-am.el @@@ -402,10 -401,9 +401,11 @@@ Argument COMMAND is the command to use (funcall project-am-debug-target-function cmd)) (kill-buffer tb)))) +(declare-function ede-shell-run-something "ede/shell") + (defmethod project-run-target ((obj project-am-objectcode)) "Run the current project target in comint buffer." + (require 'ede/shell) (let ((tb (get-buffer-create " *padt*")) (dd (oref obj path)) (cmd nil)) diff --cc lisp/cedet/semantic/bovine/c.el index aab87f7eb25,011be1cb006..03d370401af --- a/lisp/cedet/semantic/bovine/c.el +++ b/lisp/cedet/semantic/bovine/c.el @@@ -1759,11 -1836,12 +1836,13 @@@ For types with a :parent, create faux n (princ "\n") )) - (when (arrayp semantic-lex-spp-project-macro-symbol-obarray) + (when (and (boundp 'ede-object) + ede-object + (arrayp semantic-lex-spp-project-macro-symbol-obarray)) (princ "\n Project symbol map:\n") - (princ " Your project symbol map is derived from the EDE object:\n ") - (princ (object-print ede-object)) + (when (and (boundp 'ede-object) ede-object) + (princ " Your project symbol map is derived from the EDE object:\n ") + (princ (object-print ede-object))) (princ "\n\n") (let ((macros nil)) (mapatoms diff --cc lisp/cedet/semantic/idle.el index a2db3b549d6,6bafdde7f08..585ad693dc8 --- a/lisp/cedet/semantic/idle.el +++ b/lisp/cedet/semantic/idle.el @@@ -884,18 -981,18 +904,18 @@@ Call `semantic-symref-hits-in-region' t "Toggle global use of option `semantic-idle-scheduler-mode'. The idle scheduler will automatically reparse buffers in idle time, and then schedule other jobs setup with `semantic-idle-scheduler-add'. -If ARG is positive, enable, if it is negative, disable. -If ARG is nil, then toggle." - (interactive "P") +If ARG is positive or nil, enable, if it is negative, disable." + :global t + :group 'semantic + :group 'semantic-modes ;; When turning off, disable other idle modes. - (when (or (and (numberp arg) (< arg 0)) - (and (null arg) global-semantic-idle-scheduler-mode)) + (when (null global-semantic-idle-scheduler-mode) (global-semantic-idle-summary-mode -1) - (global-semantic-idle-tag-highlight-mode -1) + (global-semantic-idle-local-symbol-highlight-mode -1) (global-semantic-idle-completions-mode -1)) - (setq global-semantic-idle-scheduler-mode - (semantic-toggle-minor-mode-globally - 'semantic-idle-scheduler-mode arg))) + (semantic-toggle-minor-mode-globally + 'semantic-idle-scheduler-mode + (if global-semantic-idle-scheduler-mode 1 -1))) ;;; Completion Popup Mode diff --cc lisp/gnus/ChangeLog index 3ca70cabe50,931ce7182c6..6a77152b104 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@@ -1,1544 -1,8 +1,1549 @@@ + 2010-09-21 Glenn Morris + + * message.el (message-output): Use gnus-output-to-rmail if a buffer is + visiting the fcc file in rmail-mode. + +2010-09-23 Lars Magne Ingebrigtsen + + * nnimap.el (nnimap-update-info): Sync non-standard flags from the + server in symbolic form. + + * gnus-html.el (gnus-max-image-proportion): Increase proportion to + 0.9. + +2010-09-22 Lars Magne Ingebrigtsen + + * nnimap.el (nnimap-parse-flags): Parse the data in any order. + (nnimap-update-info): Fix up code slightly. + + * gnus-int.el (gnus-open-server): Add tracing for performance + debugging. + + * gnus-group.el (gnus-group-highlight-line): Typo fix: beg, not start. + (gnus-group-insert-group-line): Pass the real group name so that it + gets the right data. + + * gnus-start.el (gnus-get-unread-articles): Don't have + `gnus-get-unread-articles-in-group' update info, since that can be + really slow and doesn't seem to be needed? + +2010-09-22 Dan Christensen + + * time-date.el (date-to-time): Try using parse-time-string first before + using the slower timezone-make-date-arpa-standard. + +2010-09-22 Julien Danjou + + * gnus-group.el (gnus-group-insert-group-line): Call + gnus-group-highlight-line. + (gnus-group-update-hook): Remove gnus-group-highlight-line from the + default hook list. + (gnus-group-update-eval-form): Add new function. + (gnus-group-highlight-line): Use gnus-group-update-eval-form. + (gnus-group-get-icon): Use gnus-group-update-eval-form. + +2010-09-22 Lars Magne Ingebrigtsen + + * nnimap.el (nnimap-request-expire-articles): If nnmail-expiry-wait is + immediate, then expire all articles. + (nnimap-update-info): Fix off-by-one errors. + (nnimap-flags-to-marks): Would return no marks lists for group with no + flags. Instead return the other data. + +2010-09-22 Julien Danjou + + * gnus-group.el (gnus-group-get-icon): Renamed gnus-group-add-icon that + Only return an icon. + (gnus-group-insert-group-line): Compute icon to return. + + * gnus-html.el (gnus-html-image-automatic-caching): Add custom + variable. + (gnus-html-image-fetched): Only cache if + gnus-html-image-automatic-caching is set. + (gnus-html-image-fetched): Check for errors. + +2010-09-22 Lars Magne Ingebrigtsen + + * gnus-start.el (gnus-read-active-for-groups): Only run -request-scan + once per method on `g'. This ensures that backends like nnfolder don't + open all their folders. + + * nnimap.el (nnimap-split-incoming-mail): Delete 'junk. + (nnimap-request-list): Nix out group in the correct buffer. + (nnimap-parse-flags): Implement by using `read' instead of + hand-parsing. + (nnimap-flags-to-marks): Pass on permanent-flags. + (nnimap-make-process-buffer): Record the server name. + (nnimap-parse-flags): Fix typo. + (nnimap-request-scan): Run split on the server in general, not just a + single group. + + * nnmail.el (nnmail-split-incoming): Take an optional junk-func + parameter, and propagate this downwards. + + * nnimap.el (nnimap-request-list): Set the current nnimap group to nil, + since EXAMINE changes it on the server. + + * gnus-int.el (gnus-request-expire-articles): Inhibit the daemon, since + this command might take a while. + +2010-09-22 Julien Danjou + + * gnus-html.el (gnus-html-rescale-image): Use window-inside-pixel-edges + rather than window-pixel-edges. + (gnus-html-put-image): Stop using markers. They are harmful if you have + 2 images side-by-side, they can't be properly update on text deletion. + Using text-property is safer here. + (gnus-html-image-fetched): Search also for \r\n\r\n to get the start of + data. + +2010-09-22 Lars Magne Ingebrigtsen + + * nnimap.el (nnimap-expunge-inbox): Removed. + (nnimap-mark-and-expunge-incoming): Use nnimap-expunge instead. + (nnimap-expunge): Flip default to t. + + * gnus.el (gnus-method-to-server): Don't push things to the cache + unless it's unique. + (gnus-server-to-method): Ditto. + +2010-09-22 Teodor Zlatanov + + * nnimap.el (nnimap-delete-article): Tell user if expunge won't happen. + +2010-09-22 Julien Danjou + + * gnus-html.el (gnus-html-get-image-data): Search also for \r\n\r\n to + get the start of data. + (gnus-html-encode-url): Add this function to encode special chars in + URL. + (gnus-html-wash-images): Use gnus-html-encode-url to encode URL. + (gnus-html-prefetch-images): Use gnus-html-encode-url to encode URL. + + * gnus-group.el (gnus-group-update-hook): Call gnus-group-add-icon by + default. + (gnus-group-add-icon): Move to gnus-group.el, and rewrite so it works. + + * gnus-html.el (gnus-html-wash-images): Use xml-substitute-special on + images alt-text. + (gnus-html-put-image): Put alt-text as help-echo. + +2010-09-22 Katsumi Yamaoka + + * mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes) + * mm-util.el (mm-decompress-buffer) + * nnir.el (nnir-run-find-grep) + * pop3.el (pop3-list): Use 3rd arg of split-string. + +2010-09-21 Lars Magne Ingebrigtsen + + * gnus-sum.el (gnus-update-marks): Add sanity check to not delete marks + outside the active range. Suggested by Dan Christensen. + + * gnus-start.el (gnus-get-unread-articles): Get the extended method + slightly later to avoid double-getting it. + + * nnml.el (nnml-generate-nov-file): Fix variable name clobbering from + previous patch. + + * gnus-sum.el (gnus-adjust-marked-articles): Fix another typo. + +2010-09-21 Adam Sjøgren + + * gnus-sum.el (gnus-adjust-marked-articles): Fix typo. + +2010-09-21 Lars Magne Ingebrigtsen + + * gnus-int.el (gnus-open-server): Give a better error message in the + "go offline" case. + + * gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting + marks for nnimap, which is seldom the right thing to do. + + * gnus.el (gnus-sloppily-equal-method-parameters): Refactor out. + (gnus-same-method-different-name): New function. + + * nnimap.el (parse-time): Require. + + * gnus-start.el (gnus-get-unread-articles): Fix the prefixed select + method in the presence of many similar methods. + + * nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract. + + * nnimap.el (nnimap-find-expired-articles): Don't refer to + nnml-inhibit-expiry. + + * gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to + find out whether methods are equal. + + * nnimap.el (nnimap-find-expired-articles): New function. + (nnimap-process-expiry-targets): New function. + (nnimap-request-move-article): Request the article before looking at + what the Message-ID is. Fix found by Andrew Cohen. + (nnimap-mark-and-expunge-incoming): Wait for the last sequence. + + * nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time + for oldness in addition to being a predicate. + + * nnimap.el (nnimap-request-group): When we have zero articles, return + the right data to Gnus. + (nnimap-request-expire-articles): Only delete articles immediately if + the target is 'delete. + + * gnus-sum.el (gnus-summary-move-article): When respooling to the same + method, this would bug out. + + * gnus-group.el (gnus-group-expunge-group): Renamed from + gnus-group-nnimap-expunge, and implemented as a normal interface + function. + + * gnus-int.el (gnus-request-expunge-group): New function. + + * nnimap.el (nnimap-request-create-group): Implement. + (nnimap-request-expunge-group): New function. + +2010-09-21 Julien Danjou + + * gnus-html.el (gnus-html-image-cache-ttl): Add new variable. + (gnus-html-cache-expired): Add new function. + (gnus-html-wash-images): Use `gnus-html-cache-expired' to check + wethever we should display image for fetch it. + Compute alt-text earlier to pass it to the fetching function too. + (gnus-html-schedule-image-fetching): Change function argument to only + get one image at a time, not a list. + (gnus-html-image-fetched): Use `url-store-in-cache' to store image in + cache. + (gnus-html-get-image-data): New function to retrieve image data from + cache. + (gnus-html-put-image): Change buffer argument to use image data rather + than file, and place image above region rather than inserting a new + one. Do not take alt-text as argument, since it's useless now: we place + the image above alt-text. + (gnus-html-prune-cache): Remove. + (gnus-html-show-images): Start to fetch image when we find one, do not + push into a temporary list. + (gnus-html-prefetch-images): Only fetch image if they have expired. + (gnus-html-browse-image): Fix, use 'gnus-image-url. + (gnus-html-image-map): Add "v" to browse-url on undisplayed image. + +2010-09-20 Katsumi Yamaoka + + * rfc2047.el (rfc2047-encode-parameter): Doc fix. + +2010-09-20 Lars Magne Ingebrigtsen + + * gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen) + spec inser "*" if the group isn't active instead of 0. + + * nnimap.el (nnimap-request-group): Don't select the imap buffer before + opening the server. + (nnimap-request-delete-group): Implement group deletion. + (nnimap-transform-headers): Return the size of the entire message in + the Bytes header, not just the size of the first part. + (nnimap-request-move-article): When moving an article from nnimap, + request the article first so the accepting form has an article to + accept. Reported by Dan Christensen. + (nnimap-command): Make sure that the error message doesn't error out. + +2010-09-20 David Edmondson (tiny change) + + * nnimap.el (nnimap-request-set-mark): Don't wait for a response when + we haven't requested anything. + +2010-09-20 Lars Magne Ingebrigtsen + + * nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of + "". Fix found by Andrew Cohen. + + * mail-parse.el (mail-header-encode-parameter): Use -encode-parameter + instead of -encode-string. + +2010-09-20 Katsumi Yamaoka + + * gnus-html.el (gnus-html-image-fetched): Pass arg to kill-buffer. + + * gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-string + by mm-subst-char-in-string. + +2010-09-19 Lars Magne Ingebrigtsen + + * nnimap.el (nnimap-wait-for-connection): Avoid a race condition while + waiting for the connection string. + + * gnus-html.el (gnus-html-image-fetched): Protect against the data not + arriving. + + * gnus-start.el (gnus-ignored-newsgroups): Remove [] from the list of + bogus characters. This allows selecting certain Gmail groups. + + * nnimap.el (nnimap-find-wanted-parts-1): New function. + (nnimap-fetch-partial-articles): New variable. + (nnimap-open-connection): When looking for credentials, also use the + nnimap-server-port. + (nnimap-request-article): Return the group/article number, so that Gnus + `^' works as expected. + (nnimap-find-wanted-parts-1): Return the MIME parts as IMAP wants + them. + + * gnus.el (gnus-similar-server-opened): Refactor a bit and add + comments. + (gnus-methods-sloppily-equal): New function. + (gnus): When using the development version of Gnus, load the gnus-load + file. + + * gnus-start.el (gnus-get-unread-articles): Make sure that we call + `gnus-open-server' on each method before trying to scan them etc. This + ensures that all the backend parameters are set correctly. + + * nnimap.el (nnimap-authenticator): New variable. + (nnimap-open-connection): Allow anonymous login. + (nnimap-transform-headers): The chars header is called Chars not + Bytes. + (nnimap-wait-for-response): Don't infloop if the IMAP connection + drops. + + * gnus-art.el (gnus-article-describe-briefly): Fix up typo in last + patch, found by Knut Anders Hatlen. + +2010-09-19 Andreas Schwab + + * gnus-agent.el (gnus-agent-batch-confirmation) + (gnus-agent-expire-group, gnus-agent-expire): Pass proper format string + to gnus-message. + * gnus-art.el (gnus-article-describe-briefly): Likewise. + * gnus-group.el (gnus-group-list-groups, gnus-group-describe-group) + (gnus-group-edit-global-kill, gnus-group-describe-briefly): Likewise. + * gnus-int.el (gnus-open-server): Likewise. + * gnus-score.el (gnus-score-edit-current-scores, gnus-score-edit-file) + (gnus-score-check-syntax): Likewise. + * gnus-srvr.el (gnus-browse-describe-briefly): Likewise. + * gnus-start.el (gnus-read-active-file-1, gnus-read-active-file-1): + Likewise. + * gnus-sum.el (gnus-summary-describe-briefly): Likewise. + +2010-09-19 Lars Magne Ingebrigtsen + + * gnus-html.el (gnus-html-prefetch-images): Fix up the url-retrieve + calling conventions so that prefetch doesn't bug out. + +2010-09-19 Julien Danjou + + * gnus-sum.el (gnus-summary-update-mark): Use `subst-char-in-string' + rather than `subst-char-in-region' in order to be able to replace ASCII + char by UTF-8 ones. + + * gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather + than curl. + (gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting + the right URL and ALT text on images. + (gnus-html-wash-tags): Fix tag case. + Add support for `s' and `ins' tags. Use gnus-emphasis-* faces. + (gnus-article-html): Add -o display_ins_del=2 option. + (gnus-html-wash-tags): Add better support for