bpt/emacs.git
13 years agoFix the MS-DOS build due to changes in configury.
Eli Zaretskii [Sat, 26 Jun 2010 14:36:27 +0000 (17:36 +0300)]
Fix the MS-DOS build due to changes in configury.

 config.bat: Remove white space around "+" in COPY commands.
 msods/mainmake.v2 (version): Use emacs_version[] in src/emacs.c
 instead of lisp/version.el (see 2010-05-15T21:11:37Z!raeburn@raeburn.org).
 msdos/sed1v2.inp (MKDEPDIR): Edit to empty.
 Delete lines in rules that invoke $(MKDEPDIR).
 Fix editing rules that begin with "cd ../lisp".
 Edit out sh if-then-else-fi constructs that test ${CANNOT_DUMP}.
 Edit out "|| exit ;\" constructs in emacs${EXEEXT} rule.

13 years agoRevert 2010-06-26T12:01:31Z!eliz@gnu.org (fixed in emacs-23 branch).
Eli Zaretskii [Sat, 26 Jun 2010 12:21:24 +0000 (15:21 +0300)]
Revert 2010-06-26T12:01:31Z!eliz@gnu.org (fixed in emacs-23 branch).

13 years agow32-fns.el (w32-convert-standard-filename): Doc fix.
Eli Zaretskii [Sat, 26 Jun 2010 12:11:06 +0000 (15:11 +0300)]
w32-fns.el (w32-convert-standard-filename): Doc fix.

13 years agoPROBLEMS: Update Cygwin-related info regarding GCC versions.
Eli Zaretskii [Sat, 26 Jun 2010 12:01:31 +0000 (15:01 +0300)]
PROBLEMS: Update Cygwin-related info regarding GCC versions.

13 years agoCherry-pick commit 8bd9308 from the org-mode Git repository.
Carsten Dominik [Sat, 26 Jun 2010 09:53:06 +0000 (11:53 +0200)]
Cherry-pick commit 8bd9308 from the org-mode Git repository.

2010-06-26  Carsten Dominik  <carsten.dominik@gmail.com>

* org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
variables.

* org.el (calendar): Require calendar now on top level in org.el
and define aliases to new variables when needed.
(org-read-date, org-goto-calendar): Do not bind obsolete
variables.

13 years agoRevert last change.
Chong Yidong [Fri, 25 Jun 2010 19:32:37 +0000 (15:32 -0400)]
Revert last change.

13 years agoChange initial-frame-alist and default-frame-alist defaults (Bug#2249).
Chong Yidong [Fri, 25 Jun 2010 19:24:05 +0000 (15:24 -0400)]
Change initial-frame-alist and default-frame-alist defaults (Bug#2249).
Since the menu-bar and tool-bar are now unconditionally turned on by
default, we can let the defcustom defaults reflect that.

* frame.el (initial-frame-alist): Give default value entries for
menu-bar-lines and tool-bar-lines consistent with the startup
default (Bug#2249).

* frame.c (Vdefault_frame_alist): Give default value entries for
menu-bar-lines and tool-bar-lines consistent with the startup
default (Bug#2249).

13 years agoAdd missing Changelog entries for textmodes/ispell.el (bzr#100641) and textmodes...
Agustín Martín [Fri, 25 Jun 2010 08:31:50 +0000 (10:31 +0200)]
Add missing Changelog entries for textmodes/ispell.el (bzr#100641) and textmodes/flyspell.el (bzr#100640)

13 years agoispell.el (ispell-init-process): Make sure ispell and default directories are expanded.
Agustín Martín [Fri, 25 Jun 2010 08:28:01 +0000 (10:28 +0200)]
ispell.el (ispell-init-process): Make sure ispell and default directories are expanded.

13 years agoMake sure `flyspell-word' checks word after (flyspell-check-previous-highlighted...
Agustín Martín [Fri, 25 Jun 2010 08:19:11 +0000 (10:19 +0200)]
Make sure `flyspell-word' checks word after (flyspell-check-previous-highlighted-word) run.

13 years agoAdd redisplay test for image and overlay string interaction.
Chong Yidong [Fri, 25 Jun 2010 00:33:25 +0000 (20:33 -0400)]
Add redisplay test for image and overlay string interaction.

13 years ago* lisp/minibuffer.el (completions-format): Change default from nil to
Juri Linkov [Thu, 24 Jun 2010 21:51:14 +0000 (00:51 +0300)]
* lisp/minibuffer.el (completions-format): Change default from nil to
`horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)

13 years ago* lisp/vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
Juri Linkov [Thu, 24 Jun 2010 21:38:07 +0000 (00:38 +0300)]
* lisp/vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
buffer-locally to lambda that re-runs the vc diff command.  (Bug#6447)

13 years agoDon't issue kmacro hint if echo area is in use (Bug#3412).
Chong Yidong [Thu, 24 Jun 2010 19:16:33 +0000 (15:16 -0400)]
Don't issue kmacro hint if echo area is in use (Bug#3412).

* lisp/kmacro.el (kmacro-call-macro): Don't issue hint message if the
echo area is in use (Bug#3412).

13 years agolib-src/movemail.c (error): Avoid warning when there are no args.
Juanma Barranquero [Thu, 24 Jun 2010 16:12:35 +0000 (18:12 +0200)]
lib-src/movemail.c (error): Avoid warning when there are no args.

13 years agosrc/gtkutil.c (xg_update_scrollbar_pos): Avoid C99 mid-block variable declaration.
Juanma Barranquero [Thu, 24 Jun 2010 16:08:22 +0000 (18:08 +0200)]
src/gtkutil.c (xg_update_scrollbar_pos): Avoid C99 mid-block variable declaration.

13 years agoAdd in some useful convenience functions for handling HTTP.
Mark A. Hershberger [Tue, 22 Jun 2010 16:48:53 +0000 (12:48 -0400)]
Add in some useful convenience functions for handling HTTP.

13 years agoHide scroll bar when window is too small to avoid Gtk+ warning.
Jan Djärv [Tue, 22 Jun 2010 12:28:08 +0000 (14:28 +0200)]
Hide scroll bar when window is too small to avoid Gtk+ warning.

* gtkutil.c (xg_update_scrollbar_pos): Show/hide scroll bar as needed
if height is less than scroll bar min size.
(xg_show_scroll_bar): Remove, show moved to xg_update_scrollbar_pos.

* gtkutil.h (xg_show_scroll_bar): : Remove.

* xterm.c (x_scroll_bar_create): Remove call to xg_show_scroll_bar.

13 years agoMinor simplification.
Glenn Morris [Tue, 22 Jun 2010 08:10:26 +0000 (01:10 -0700)]
Minor simplification.
* lisp/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.

13 years agoDon't use font names from GConf if font backend can't handle it (bug#6478).
Jan Djärv [Tue, 22 Jun 2010 07:55:08 +0000 (09:55 +0200)]
Don't use font names from GConf if font backend can't handle it (bug#6478).

* xfns.c (x_default_font_parameter): Try to open font from system
before using it (bug#6478).  Rename got_from_gconf to got_from_system.

13 years ago* lisp/org/org-entities.el: Add explicit utf-8 coding cookie.
Glenn Morris [Tue, 22 Jun 2010 07:51:46 +0000 (00:51 -0700)]
* lisp/org/org-entities.el: Add explicit utf-8 coding cookie.

13 years agoAdd some utf-8 coding cookies.
Glenn Morris [Tue, 22 Jun 2010 07:41:10 +0000 (00:41 -0700)]
Add some utf-8 coding cookies.

* lisp/calc/calc-aent.el, lisp/calc/calc-ext.el, lisp/calc/calc-lang.el:
* lisp/calc/calc-store.el, lisp/calc/calc-units.el, lisp/calc/calc.el:
* lisp/calc/calccomp.el:
Add explicit utf-8 coding cookies to files with utf-8 characters.
Also delete trailing whitespace.

13 years ago* font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437).
Jan Djärv [Tue, 22 Jun 2010 06:42:00 +0000 (08:42 +0200)]
* font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437).

13 years ago* lisp/simple.el (compose-mail): Fix doc string to refer to
Karl Fogel [Mon, 21 Jun 2010 23:26:46 +0000 (19:26 -0400)]
* lisp/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'.

13 years agoFix an indentation bug:
Alan Mackenzie [Mon, 21 Jun 2010 21:08:26 +0000 (21:08 +0000)]
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.

13 years ago* INSTALL: Info files are compressed by default.
Glenn Morris [Mon, 21 Jun 2010 07:37:16 +0000 (00:37 -0700)]
* INSTALL: Info files are compressed by default.

13 years agoAvoid recentering when lines differ in their height.
Eli Zaretskii [Sun, 20 Jun 2010 18:04:30 +0000 (21:04 +0300)]
Avoid recentering when lines differ in their height.

 xdisp.c (try_scrolling): When scroll-conservatively is set to
 most-positive-fixnum, be extra accurate when scrolling window
 start, to avoid missing the cursor line.

14 years agoTweaks to package list UI.
Chong Yidong [Sun, 20 Jun 2010 04:55:14 +0000 (00:55 -0400)]
Tweaks to package list UI.

* help-mode.el (help-package): New button type.

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

14 years agoAdd preliminary describe-package functionality, and some cleanup.
Chong Yidong [Sat, 19 Jun 2010 22:36:51 +0000 (18:36 -0400)]
Add preliminary describe-package functionality, and some cleanup.

* help-mode.el (help-package-def): New button type.

* menu-bar.el: Move package-list-packages binding here from
package.el.

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

14 years agoxdisp.c (try_scrolling): Fix last change.
Eli Zaretskii [Sat, 19 Jun 2010 11:57:19 +0000 (14:57 +0300)]
xdisp.c (try_scrolling): Fix last change.

14 years agoFix occasional recentering under scroll-conservatively.
Eli Zaretskii [Sat, 19 Jun 2010 09:40:15 +0000 (12:40 +0300)]
Fix occasional recentering under scroll-conservatively.

 xdisp.c (try_scrolling): Compute the limit for searching point
 in forward scroll from scroll_max, instead of an arbitrary limit
 of 10 screen lines.  See
 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00766.html and
 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00773.html for
 details.

14 years ago* lisp/descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
Gustav Hållberg [Sat, 19 Jun 2010 02:39:04 +0000 (19:39 -0700)]
* lisp/descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)

14 years ago* lisp/emacs-lisp/edebug.el (edebug-read-list): Phase out old-style backquotes.
Stefan Monnier [Fri, 18 Jun 2010 14:05:43 +0000 (10:05 -0400)]
* lisp/emacs-lisp/edebug.el (edebug-read-list): Phase out old-style backquotes.

14 years agoFix revert-buffer functionality of Help mode and Info.
Juri Linkov [Thu, 17 Jun 2010 20:56:17 +0000 (23:56 +0300)]
Fix revert-buffer functionality of Help mode and Info.

* lisp/help-mode.el (help-mode): Set buffer-local variable
revert-buffer-function to help-mode-revert-buffer.
(help-mode-revert-buffer): New function.

* lisp/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.

14 years ago* lisp/emacs-lisp/package.el (package-menu-mode-map): Add a menu.
Dan Nicolaescu [Thu, 17 Jun 2010 16:41:13 +0000 (09:41 -0700)]
* lisp/emacs-lisp/package.el (package-menu-mode-map): Add a menu.

14 years agoispell.el (ispell-aspell-find-dictionary): Fix regexp for full xx_YY search.
Agustín Martín [Thu, 17 Jun 2010 14:44:34 +0000 (16:44 +0200)]
ispell.el (ispell-aspell-find-dictionary): Fix regexp for full xx_YY search.

This is needed for languages like Portuguese where there are aspell dicts
for pt_BR and pt_PT, not for plain pt. If we strip country part
`ispell-aspell-find-dictionary' does not find dicts for portuguese.

14 years agoemacs-lisp/package.el (package-menu-mode-map): Move initialization into declaration.
Juanma Barranquero [Thu, 17 Jun 2010 11:02:42 +0000 (13:02 +0200)]
emacs-lisp/package.el (package-menu-mode-map): Move initialization into declaration.

14 years agomenu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
Juanma Barranquero [Thu, 17 Jun 2010 10:45:25 +0000 (12:45 +0200)]
menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.

14 years agoMerge package.el, written by Tom Tromey <tromey@redhat.com>.
Chong Yidong [Thu, 17 Jun 2010 02:08:10 +0000 (22:08 -0400)]
Merge package.el, written by Tom Tromey <tromey@redhat.com>.
Changes relative to version 0.9 of package.el are listed below:

* emacs-lisp/package-x.el: New file.  Package uploading
functionality split out from package.el.

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

* startup.el (command-line): Load packages after reading init
file.

14 years ago* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
Stefan Monnier [Thu, 17 Jun 2010 00:17:22 +0000 (20:17 -0400)]
* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
handling for `lambda' (misunderstanding).

14 years agocalc-poly.el: (math-accum-factors): Make sure that constants aren't distributed
Jay Belanger [Wed, 16 Jun 2010 23:27:20 +0000 (18:27 -0500)]
calc-poly.el: (math-accum-factors):  Make sure that constants aren't distributed
after they are factored out.

14 years ago* lisp/facemenu.el (list-colors-display): Call `pop-to-buffer' before
Juri Linkov [Wed, 16 Jun 2010 21:33:54 +0000 (00:33 +0300)]
* lisp/facemenu.el (list-colors-display): Call `pop-to-buffer' before
`list-colors-print'.  (Bug#6332)

14 years ago* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
Stefan Monnier [Wed, 16 Jun 2010 21:11:06 +0000 (17:11 -0400)]
* lisp/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.

14 years agoMerge from emacs-23
Stefan Monnier [Wed, 16 Jun 2010 20:08:41 +0000 (16:08 -0400)]
Merge from emacs-23

14 years ago* lisp/font-lock.el (font-lock-major-mode): Rename from
Stefan Monnier [Wed, 16 Jun 2010 20:00:22 +0000 (16:00 -0400)]
* lisp/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.
(font-lock-set-defaults):
* lisp/font-core.el (font-lock-default-function): Adjust users.
(font-lock-mode): Don't set it at all.

Fixes: debbugs:6135

14 years ago* src/lread.c (read1): Phase out old-style backquotes a bit more.
Stefan Monnier [Wed, 16 Jun 2010 14:10:02 +0000 (10:10 -0400)]
* src/lread.c (read1): Phase out old-style backquotes a bit more.

14 years agoispell.el: Fix portuguese casechars/not-casechars for missing 'çÇ'. (bug#6434).
Agustín Martín [Wed, 16 Jun 2010 13:42:59 +0000 (15:42 +0200)]
ispell.el: Fix portuguese casechars/not-casechars for missing 'çÇ'. (bug#6434).

14 years ago* auth-source.el (auth-source-pick): If choice does not contain a
Michael Albinus [Tue, 15 Jun 2010 20:13:34 +0000 (22:13 +0200)]
* auth-source.el (auth-source-pick): If choice does not contain a
questioned keyword, set the check to t.

14 years ago* etc/NEWS.1-17: Fix typos.
Juanma Barranquero [Tue, 15 Jun 2010 11:41:21 +0000 (13:41 +0200)]
* etc/NEWS.1-17: Fix typos.

14 years ago* facemenu.el (list-colors-sort): Doc fix.
Juanma Barranquero [Tue, 15 Jun 2010 11:05:06 +0000 (13:05 +0200)]
* facemenu.el (list-colors-sort): Doc fix.

14 years agoBackport from trunk: * src/editfns.c (Fbyte_to_string): Pacify compiler.
Glenn Morris [Tue, 15 Jun 2010 06:16:19 +0000 (23:16 -0700)]
Backport from trunk: * src/editfns.c (Fbyte_to_string): Pacify compiler.

14 years ago* lisp/vc-annotate.el (vc-annotate): Use vc-read-revision.
Stefan Monnier [Tue, 15 Jun 2010 04:51:42 +0000 (00:51 -0400)]
* lisp/vc-annotate.el (vc-annotate): Use vc-read-revision.

14 years ago* etc/NEWS: appt-add.
Glenn Morris [Tue, 15 Jun 2010 03:49:39 +0000 (20:49 -0700)]
* etc/NEWS: appt-add.

14 years agoTweak previous change.
Glenn Morris [Tue, 15 Jun 2010 03:42:33 +0000 (20:42 -0700)]
Tweak previous change.

* lisp/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.

14 years agoClose bug#5176.
Ivan Kanis [Tue, 15 Jun 2010 03:38:58 +0000 (20:38 -0700)]
Close bug#5176.

* lisp/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.

14 years ago* lisp/progmodes/sql.el (sql-connect-mysql): Fix typo.
Bob Rogers [Tue, 15 Jun 2010 03:34:12 +0000 (20:34 -0700)]
* lisp/progmodes/sql.el (sql-connect-mysql): Fix typo.

14 years agoAdd sort option `list-colors-sort'. (Bug#6332)
Juri Linkov [Mon, 14 Jun 2010 16:03:04 +0000 (19:03 +0300)]
Add sort option `list-colors-sort'.  (Bug#6332)
* lisp/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.

14 years ago* compare-w.el: Move to the "vc" subdirectory.
Juri Linkov [Mon, 14 Jun 2010 15:48:52 +0000 (18:48 +0300)]
* compare-w.el: Move to the "vc" subdirectory.

14 years ago* lisp/image-mode.el (image-mode-map): Remap left-char and right-char.
Stefan Monnier [Mon, 14 Jun 2010 03:19:46 +0000 (23:19 -0400)]
* lisp/image-mode.el (image-mode-map): Remap left-char and right-char.

14 years ago* lisp/nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
Stefan Monnier [Mon, 14 Jun 2010 01:43:11 +0000 (21:43 -0400)]
* lisp/nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.

Fixes: debbugs:6412

14 years ago* src/makefile.w32-in ($(BLD)/bidi.$(O)): Keep dependencies sorted.
Juanma Barranquero [Sun, 13 Jun 2010 23:33:06 +0000 (01:33 +0200)]
* src/makefile.w32-in ($(BLD)/bidi.$(O)): Keep dependencies sorted.

14 years agobidi.c (bidi_mirror_char): Fix commentary.
Eli Zaretskii [Sun, 13 Jun 2010 18:15:45 +0000 (21:15 +0300)]
bidi.c (bidi_mirror_char): Fix commentary.

14 years agoUse Unicode database for attribute tables in bidi.c.
Eli Zaretskii [Sun, 13 Jun 2010 17:40:25 +0000 (20:40 +0300)]
Use Unicode database for attribute tables in bidi.c.

 admin/unidata/bidimirror.awk: New file.
 admin/unidata/BidiMirroring.txt: New file from
 http://www.unicode.org/Public/6.0.0/ucd/BidiMirroring-6.0.0d1.txt.
 admin/unidata/Makefile.in: (../../src/bidimirror.h): New target.
 (all): Depend on ../../src/biditype.h and ../../src/bidimirror.h.
 admin/unidata/makefile.w32-in (../../src/bidimirror.h): New target.
 (all): Depend on ../../src/biditype.h and ../../src/bidimirror.h.
 admin/unidata/biditype.awk: New file.
 admin/unidata/Makefile.in (../../src/biditype.h): New target.
 admin/unidata/makefile.w32-in (../../src/biditype.h): New target.
 src/makefile.w32-in ($(BLD)/bidi.$(O)): Depend on biditype.h and
 bidimirror.h.
 src/deps.mk (bidi.o): Depend on biditype.h and bidimirror.h.
 src/bidi.c (bidi_initialize): Remove explicit initialization of
 bidi_type_table; include biditype.h instead.  Don't support
 entries whose second codepoint is zero.  Initialize
 bidi_mirror_table.
 (bidi_mirror_char): Use bidi_mirror_table.
 src/biditype.h: New file.
 src/bidimirror.h: New file.

14 years agoSynch with Gnus trunk.
Romain Francoise [Sat, 12 Jun 2010 17:26:40 +0000 (19:26 +0200)]
Synch with Gnus trunk.
* gnus-util.el (gnus-date-get-time): Move up before first use.

14 years ago* INSTALL: Update font information (Bug#6389).
Chong Yidong [Sat, 12 Jun 2010 17:21:01 +0000 (13:21 -0400)]
* INSTALL: Update font information (Bug#6389).

14 years agoRevert 2010-06-02 change to log-edit-font-lock-keywords (Bug#6343).
Chong Yidong [Sat, 12 Jun 2010 17:14:43 +0000 (13:14 -0400)]
Revert 2010-06-02 change to log-edit-font-lock-keywords (Bug#6343).

* vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
change temporarily (Bug#6343).

14 years agoAdd all rgb.txt color names to x-colors.
Chong Yidong [Sat, 12 Jun 2010 17:12:15 +0000 (13:12 -0400)]
Add all rgb.txt color names to x-colors.

* facemenu.el (list-colors-print): Don't print extra names if it
will overflow the window width.

* term/common-win.el (x-colors): Add all the color names defined
in rgb.txt (Bug#6332).

14 years agoUse BidiMirroring.txt for mirroring characters in bidi context.
Eli Zaretskii [Sat, 12 Jun 2010 15:52:43 +0000 (18:52 +0300)]
Use BidiMirroring.txt for mirroring characters in bidi context.

 admin/unidata/bidimirror.awk: New file.
 admin/unidata/BidiMirroring.txt: New file from
 http://www.unicode.org/Public/6.0.0/ucd/BidiMirroring-6.0.0d1.txt.
 admin/unidata/Makefile.in: (../../src/bidimirror.h): New target.
 (all): Depend on ../../src/biditype.h and ../../src/bidimirror.h.
 admin/unidata/makefile.w32-in (../../src/bidimirror.h): New target.
 (all): Depend on ../../src/biditype.h and ../../src/bidimirror.h.
 src/makefile.w32-in ($(BLD)/bidi.$(O)): Depend on biditype.h and
 bidimirror.h.
 src/deps.mk (bidi.o): Depend on biditype.h and bidimirror.h.
 src/bidi.c (bidi_initialize): Initialize bidi_mirror_table.
 (bidi_mirror_char): Use bidi_mirror_table.

14 years agoDerive bidi type table from UnicodeData.txt.
Eli Zaretskii [Sat, 12 Jun 2010 14:15:25 +0000 (17:15 +0300)]
Derive bidi type table from UnicodeData.txt.

 src/bidi.c (bidi_initialize): Remove explicit initialization of
 bidi_type_table; include biditype.h instead.  Don't support
 entries whose second codepoint is zero.
 src/biditype.h: New file.
 admin/unidata/biditype.awk: New file.
 admin/unidata/Makefile.in (../../src/biditype.h): New target.
 admin/unidata/makefile.w32-in (../../src/biditype.h): New target.

14 years agoFix bug #6409.
Eli Zaretskii [Sat, 12 Jun 2010 11:30:48 +0000 (14:30 +0300)]
Fix bug #6409.

 window.c (syms_of_window): Doc fix (bug#6409).

14 years agoFix bug #6396.
Eli Zaretskii [Sat, 12 Jun 2010 11:17:12 +0000 (14:17 +0300)]
Fix bug #6396.

 files.el (make-directory): Doc fix.

14 years ago* Makefile.in (lisp, shortlisp): Use new location of vc-hooks and ediff-hook.
Romain Francoise [Sat, 12 Jun 2010 10:58:54 +0000 (12:58 +0200)]
* Makefile.in (lisp, shortlisp): Use new location of vc-hooks and ediff-hook.

14 years ago* net/tramp.el (tramp-remote-process-environment): Protect version
Michael Albinus [Sat, 12 Jun 2010 08:59:37 +0000 (10:59 +0200)]
* 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.

14 years agoClose bug#6361.
Bob Rogers [Sat, 12 Jun 2010 07:34:36 +0000 (00:34 -0700)]
Close bug#6361.

* lisp/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
older than version 1.6.

14 years agoClose bug#6406.
Štěpán Němec [Sat, 12 Jun 2010 07:25:20 +0000 (00:25 -0700)]
Close bug#6406.

* lisp/url/url-vars.el (url-privacy-level): Fix doc typo.

14 years ago* etc/tutorials/TUTORIAL.bg, etc/tutorials/TUTORIAL.es: Fix typos.
Glenn Morris [Sat, 12 Jun 2010 07:09:32 +0000 (00:09 -0700)]
* etc/tutorials/TUTORIAL.bg, etc/tutorials/TUTORIAL.es: Fix typos.

14 years agoClose bug#6408.
Helmut Eller [Sat, 12 Jun 2010 07:06:15 +0000 (00:06 -0700)]
Close bug#6408.

* lisp/emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
used by cl-do-arglist.

14 years ago* Makefile.in (install-arch-indep): Delete any old info .gz files first.
Glenn Morris [Sat, 12 Jun 2010 03:35:55 +0000 (20:35 -0700)]
* Makefile.in (install-arch-indep): Delete any old info .gz files first.

14 years agoFix Windows makefiles to adapt to lisp/vc reorganization.
Juanma Barranquero [Fri, 11 Jun 2010 21:26:13 +0000 (23:26 +0200)]
Fix Windows makefiles to adapt to lisp/vc reorganization.

* lib-src/makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
  and vc/ediff-hook.elc.

* lisp/makefile.w32-in (WINS_BASIC): Include new directory vc.

14 years ago* loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
Juanma Barranquero [Fri, 11 Jun 2010 21:19:23 +0000 (23:19 +0200)]
* loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.

14 years ago* lisp/finder.el (finder-known-keywords): Add keyword "vc"
Juri Linkov [Fri, 11 Jun 2010 19:09:57 +0000 (22:09 +0300)]
* lisp/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".

14 years agoMove version control related files to the "vc" subdirectory.
Juri Linkov [Fri, 11 Jun 2010 18:51:00 +0000 (21:51 +0300)]
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.

14 years agoFix for comint-password-prompt-regexp (Bug#6367).
Chong Yidong [Fri, 11 Jun 2010 14:39:54 +0000 (10:39 -0400)]
Fix for comint-password-prompt-regexp (Bug#6367).

* lisp/comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
(Bug#6367).

* comint-testsuite.el: New file.

14 years agoBind `shell-resync-dirs' to M-RET in *shell* buffers.
Stephen Eglen [Fri, 11 Jun 2010 13:28:41 +0000 (14:28 +0100)]
Bind `shell-resync-dirs' to M-RET in *shell* buffers.

14 years ago* INSTALL: Revert previous accidental commit.
Glenn Morris [Fri, 11 Jun 2010 03:41:02 +0000 (20:41 -0700)]
* INSTALL: Revert previous accidental commit.

14 years agoMake compressing the info files optional.
Glenn Morris [Fri, 11 Jun 2010 03:35:40 +0000 (20:35 -0700)]
Make compressing the info files optional.

* configure.in (--without-compress-info): New option.
(GZIP_INFO): New output variable.

* Makefile.in (GZIP_INFO): New, set by configure.
(install-arch-indep): Don't gzip info pages if GZIP_INFO is nil.
Handle man pages in the same way.

* etc/NEWS: Re-order installation section, and add new item.

14 years ago* notifications.el: Move file from lisp/net, because it is
Michael Albinus [Thu, 10 Jun 2010 12:56:11 +0000 (14:56 +0200)]
* notifications.el: Move file from lisp/net, because it is
supposed to talk locally to the user.

14 years ago* net/notifications.el (notifications-on-action-signal)
Michael Albinus [Thu, 10 Jun 2010 12:44:59 +0000 (14:44 +0200)]
* 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.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Thu, 10 Jun 2010 05:54:25 +0000 (05:54 +0000)]
Synch with Gnus trunk.
(gnus-mime-buttonized-part-id): New internal variable.
(gnus-article-edit-part): Bind it to make last part that is substituted
 or deleted visible.
(gnus-mime-display-single): Buttonize part of which id equals to
 gnus-mime-buttonized-part-id.

14 years ago* admin/notes/newfile: Update.
Glenn Morris [Thu, 10 Jun 2010 05:42:55 +0000 (22:42 -0700)]
* admin/notes/newfile: Update.

14 years agoMinor authors.el update.
Glenn Morris [Thu, 10 Jun 2010 05:39:03 +0000 (22:39 -0700)]
Minor authors.el update.

* lisp/emacs-lisp/authors.el (authors-ignored-files)
(authors-valid-file-names): Add some files.

14 years ago* Makefile.in (install-arch-indep): Gzip the info files too.
Glenn Morris [Thu, 10 Jun 2010 05:34:38 +0000 (22:34 -0700)]
* Makefile.in (install-arch-indep): Gzip the info files too.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Thu, 10 Jun 2010 05:33:55 +0000 (05:33 +0000)]
Synch with Gnus trunk.
(gnus-mime-buttonized-part-id): New internal variable.
(gnus-article-edit-part): Bind it to make last part that is substituted
 or deleted visible.
(gnus-mime-display-single): Buttonize part of which id equals to
 gnus-mime-buttonized-part-id.

14 years ago* src/editfns.c (Fbyte_to_string): Pacify compiler.
Glenn Morris [Thu, 10 Jun 2010 05:31:36 +0000 (22:31 -0700)]
* src/editfns.c (Fbyte_to_string): Pacify compiler.

14 years ago* make-dist: Remove references to non-existent directories and files.
Glenn Morris [Thu, 10 Jun 2010 05:28:40 +0000 (22:28 -0700)]
* make-dist: Remove references to non-existent directories and files.

14 years ago* src/m/ibms390x.h: Rather than duplicating ibms390.h, just include it.
Glenn Morris [Thu, 10 Jun 2010 05:23:00 +0000 (22:23 -0700)]
* src/m/ibms390x.h: Rather than duplicating ibms390.h, just include it.

14 years agoMinor update for Acknowledgments in manual.
Glenn Morris [Thu, 10 Jun 2010 05:20:14 +0000 (22:20 -0700)]
Minor update for Acknowledgments in manual.

* doc/emacs/ack.texi (Acknowledgments):
* doc/emacs/emacs.texi (Acknowledgments): Update for notifications.el.

14 years agoFix ChangeLog attribution.
Glenn Morris [Thu, 10 Jun 2010 05:17:21 +0000 (22:17 -0700)]
Fix ChangeLog attribution.

This is on the assumption that the change from

http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00196.html

is actually based on the change from

http://lists.gnu.org/archive/html/emacs-devel/2009-02/msg00606.html
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2404

The fact that this wasn't pointed out at the time explains the recent
confusion with the latest emacs23 -> trunk merge.

14 years ago* doc/emacs/basic.texi (Inserting Text): Minor clarification. (Bug#6374)
Glenn Morris [Thu, 10 Jun 2010 05:09:27 +0000 (22:09 -0700)]
* doc/emacs/basic.texi (Inserting Text): Minor clarification.  (Bug#6374)

14 years agoDoc typo fixes.
Glenn Morris [Thu, 10 Jun 2010 05:04:06 +0000 (22:04 -0700)]
Doc typo fixes.

* doc/emacs/basic.texi (Inserting Text): Fix typo.
* doc/misc/idlwave.texi (Load-Path Shadows):
* doc/misc/org.texi (Handling links): Fix typos.