bpt/emacs.git
13 years ago* tramp.texi (Frequently Asked Questions): Add Emacs 24 to
Michael Albinus [Mon, 28 Feb 2011 11:10:06 +0000 (12:10 +0100)]
* tramp.texi (Frequently Asked Questions): Add Emacs 24 to
supported systems.

13 years ago* net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path shadows.
Michael Albinus [Mon, 28 Feb 2011 10:58:59 +0000 (11:58 +0100)]
* net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path shadows.

13 years ago* lisp/dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
Antoine Levitt [Mon, 28 Feb 2011 07:24:39 +0000 (23:24 -0800)]
* lisp/dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.

13 years agolisp/emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1): Fix typos in docstrings.
Juanma Barranquero [Mon, 28 Feb 2011 04:24:40 +0000 (05:24 +0100)]
lisp/emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1): Fix typos in docstrings.

13 years agoAdd ChangeLog bug ref.
Glenn Morris [Mon, 28 Feb 2011 01:35:59 +0000 (17:35 -0800)]
Add ChangeLog bug ref.

13 years agodired-aux fix for bug#8131.
Stephen Berman [Mon, 28 Feb 2011 01:31:20 +0000 (17:31 -0800)]
dired-aux fix for bug#8131.

* lisp/dired-aux.el (dired-update-file-line): Fix 2010-11-09 change.

13 years agoMark tiny change.
Glenn Morris [Mon, 28 Feb 2011 01:10:58 +0000 (17:10 -0800)]
Mark tiny change.

13 years agoMerge from emacs-23; up to 2010-06-03T05:41:49Z!rgm@gnu.org.
Glenn Morris [Mon, 28 Feb 2011 01:07:29 +0000 (17:07 -0800)]
Merge from emacs-23; up to 2010-06-03T05:41:49Z!rgm@gnu.org.

13 years ago* lisp/facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
Chong Yidong [Sun, 27 Feb 2011 23:53:41 +0000 (18:53 -0500)]
* lisp/facemenu.el (list-colors-display): Use with-help-window (Bug#8048).

13 years agoAvoid recording dead buffers in buffer-list frame param (Bug#7898).
Chong Yidong [Sun, 27 Feb 2011 22:57:22 +0000 (17:57 -0500)]
Avoid recording dead buffers in buffer-list frame param (Bug#7898).

* src/frame.c (store_frame_param): Don't store value directly in
buffer_list and buried_buffer_list; copy the list and remove dead
buffers.

13 years ago* minibuf.texi: Clarify history list discussion (Bug#8085).
Chong Yidong [Sun, 27 Feb 2011 22:10:48 +0000 (17:10 -0500)]
* minibuf.texi: Clarify history list discussion (Bug#8085).

13 years ago* term/screen.el: New file (Bug#2650).
Prestoo Ten [Sun, 27 Feb 2011 21:26:22 +0000 (16:26 -0500)]
* term/screen.el: New file (Bug#2650).

13 years ago* INSTALL.BZR: Tweak previous change.
Glenn Morris [Sun, 27 Feb 2011 19:55:44 +0000 (11:55 -0800)]
* INSTALL.BZR: Tweak previous change.

13 years agoImplement stub emulation of `readlink' for MS-DOS.
Eli Zaretskii [Sun, 27 Feb 2011 19:51:35 +0000 (21:51 +0200)]
Implement stub emulation of `readlink' for MS-DOS.

 src/msdos.c (readlink) [DJGPP < 2.04]: New stub function.
 src/msdos.h: (readlink) [DJGPP < 2.04]: Declare prototype.

13 years agoImplement stubs of `readlink' and `symlink' for MS-Windows.
Eli Zaretskii [Sun, 27 Feb 2011 19:48:31 +0000 (21:48 +0200)]
Implement stubs of `readlink' and `symlink' for MS-Windows.

 src/w32.c (symlink, readlink): New stub functions.
 nt/inc/unistd.h (readlink, symlink): Declare prototypes.

13 years agoEmulate `readlink' for DJGPP versions before 2.04.
Eli Zaretskii [Sun, 27 Feb 2011 19:46:39 +0000 (21:46 +0200)]
Emulate `readlink' for DJGPP versions before 2.04.

 src/msdos.c (readlink) [DJGPP < 2.04]: New stub function.
 src/msdos.h: (readlink) [DJGPP < 2.04]: Declare prototype.

13 years ago* INSTALL.BZR: Mention autoreconf.
Glenn Morris [Sun, 27 Feb 2011 19:36:45 +0000 (11:36 -0800)]
* INSTALL.BZR: Mention autoreconf.

13 years agognus-group.el (gnus-import-other-newsrc-file): New function.
Lars Ingebrigtsen [Sun, 27 Feb 2011 08:20:21 +0000 (08:20 +0000)]
gnus-group.el (gnus-import-other-newsrc-file): New function.

13 years agoMerge: Minor cleanups uncovered by gcc warnings
Paul Eggert [Sun, 27 Feb 2011 07:57:49 +0000 (23:57 -0800)]
Merge: Minor cleanups uncovered by gcc warnings

13 years ago* scroll.c (CHECK_BOUNDS): #define only if GLYPH_DEBUG.
Paul Eggert [Sun, 27 Feb 2011 07:50:33 +0000 (23:50 -0800)]
* scroll.c (CHECK_BOUNDS): #define only if GLYPH_DEBUG.

This avoids a gcc warning in some configurations.

13 years ago* frame.c (x_set_screen_gamma): Rename local to avoid shadowing.
Paul Eggert [Sun, 27 Feb 2011 07:47:34 +0000 (23:47 -0800)]
* frame.c (x_set_screen_gamma): Rename local to avoid shadowing.

13 years ago* frame.h: Avoid gcc -Wmissing-prototypes diagnostics.
Paul Eggert [Sun, 27 Feb 2011 07:30:02 +0000 (23:30 -0800)]
* frame.h: Avoid gcc -Wmissing-prototypes diagnostics.

(set_menu_bar_lines, x_get_resource_string): New decls.
* msdos.c (set_menu_bar_lines): Omit decl.

13 years ago* lisp/emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
Stefan Monnier [Sun, 27 Feb 2011 02:50:38 +0000 (21:50 -0500)]
* lisp/emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
(pcase-mutually-exclusive-predicates): New var.
(pcase--split-consp, pcase--split-pred): Use it.
(pcase--split-equal, pcase--split-member): When splitting against
a pure predicate, run it to know the outcome.
(pcase--u1): Mark vars that are actually used.
(pcase--q1): Avoid introducing unused vars.

13 years ago* dispextern.h (struct glyph): Make u.img_id int, not unsigned.
Paul Eggert [Sun, 27 Feb 2011 02:41:48 +0000 (18:41 -0800)]
* dispextern.h (struct glyph): Make u.img_id int, not unsigned.

It's always given int values and used as an int.  This suppresses
a gcc "comparison of unsigned expression >= 0" warning in some
configurations.

13 years agoAdjust previous change to behave as intended.
Jay Belanger [Sun, 27 Feb 2011 01:55:29 +0000 (19:55 -0600)]
Adjust previous change to behave as intended.

13 years ago* calc/calc-ext.el (calc-init-extensions): Autoload `calc-l-prefix-help'
Jay Belanger [Sun, 27 Feb 2011 01:33:37 +0000 (19:33 -0600)]
* calc/calc-ext.el (calc-init-extensions): Autoload `calc-l-prefix-help'
instead of `calc-ul-prefix-help'.

* calc/calc-math.el (calcFunc-log10): Don't signal an error in symbolic
mode.

* calc/calc-vec.el (calcFunc-subscr): Don't do anything if the first
argument is a variable.

13 years ago* dispnew.c: Rename locals to avoid shadowing.
Paul Eggert [Sun, 27 Feb 2011 00:48:14 +0000 (16:48 -0800)]
* dispnew.c: Rename locals to avoid shadowing.

(update_text_area, scrolling_window, update_frame_1): Rename locals.

13 years ago* dispnew.c: Fix problem uncovered by gcc -Wunused-variable.
Paul Eggert [Sat, 26 Feb 2011 23:05:14 +0000 (15:05 -0800)]
* dispnew.c: Fix problem uncovered by gcc -Wunused-variable.

(adjust_frame_glyphs_for_window_redisplay): Make 'w' local to the
contexts that actually need it.

13 years ago* dispnew.c: Fix problems uncovered by gcc -Wstrict-prototypes.
Paul Eggert [Sat, 26 Feb 2011 22:54:33 +0000 (14:54 -0800)]
* dispnew.c: Fix problems uncovered by gcc -Wstrict-prototypes.

(copy_glyph_row_contents): Remove; not used.
(frame_row_to_window, check_current_matrix_flags):
(window_change_signal): Now static, since they're not used elsewhere.
(check_current_matrix_flags): Surround with "#if 0", since its
only use is in a comment.  Maybe both the comment and the "#if 0"
stuff should be removed?

13 years agoFix bug #8122 with decoding keyboard input.
Eli Zaretskii [Sat, 26 Feb 2011 21:30:16 +0000 (23:30 +0200)]
Fix bug #8122 with decoding keyboard input.

 lisp/international/mule-cmds.el (set-default-coding-systems): Use
 the -unix variant of encoding in default-keyboard-coding-system.

13 years ago* lisp/emacs-lisp/assoc.el: Remove misleading `sort'.
Stefan Monnier [Sat, 26 Feb 2011 21:09:03 +0000 (16:09 -0500)]
* lisp/emacs-lisp/assoc.el: Remove misleading `sort'.
(aput, adelete, amake): Replace `eval' -> `symbol-value'.
Suggested by Michael Heerdegen <michael_heerdegen@web.de>.

Fixes: debbugs:8126

13 years agoDefine nlink_t for w32.
Eli Zaretskii [Sat, 26 Feb 2011 14:02:45 +0000 (16:02 +0200)]
Define nlink_t for w32.

 nt/config.nt (nlink_t): Define.

13 years agoAdapt the MS-DOS build to gnulib import of md5 and filemode.
Eli Zaretskii [Sat, 26 Feb 2011 13:48:14 +0000 (15:48 +0200)]
Adapt the MS-DOS build to gnulib import of md5 and filemode.

 msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
 (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
 (BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
 (GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
 (GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
 (GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
 (HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
 (HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
 (HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
 (HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
 (HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
 (HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
 (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
 (MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
 (NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
 (NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
 (REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
 (REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
 (WCHAR_T_SUFFIX, WINT_T_SUFFIX, APPLE_UNIVERSAL_BUILD): New edits.
 ($(MKDIR_P)): Replace with equivalent DOS command.
 (gl_LIBOBJS): Add md5.o and filemode.o.
 msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
 (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
 (HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
 (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
 edits.
 msdos/depfiles.bat: Create a dummy .Po file only if a file by the same
 name does not already exist in the deps/ subdirectory.
 .bzrignore: Ignore new lib/*.in-h files.
 config.bat: Rename stdint.in.h and sys_stat.in.h.  Call
 depfiles.bat even if lib/deps already exist.
 src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
 (lstat): Define for DJGPP < 2.04.

13 years agoTest and finish fixing the MS-DOS build.
Eli Zaretskii [Sat, 26 Feb 2011 13:38:25 +0000 (15:38 +0200)]
Test and finish fixing the MS-DOS build.

 msdos/sedlib.mk (APPLE_UNIVERSAL_BUILD): New edit.
 (gl_LIBOBJS): Add md5.o and filemode.o.

13 years agoFix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
Eli Zaretskii [Sat, 26 Feb 2011 12:55:10 +0000 (14:55 +0200)]
Fix Sed scripts and srs/s/msdos.h for gnulib additions.  Not tested yet.

 src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
 (lstat): Define for DJGPP < 2.04.
 msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
 (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
 (BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
 (GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
 (GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
 (GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
 (HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
 (HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
 (HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
 (HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
 (HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
 (HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
 (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
 (MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
 (NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
 (NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
 (REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
 (REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
 (WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
 ($(MKDIR_P)): Replace with equivalent DOS command.
 msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
 (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
 (HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
 (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
 edits.

13 years agoRegenerate ja-dic.el
Andreas Schwab [Sat, 26 Feb 2011 09:48:22 +0000 (10:48 +0100)]
Regenerate ja-dic.el

13 years agoRegenerate autoloads
Andreas Schwab [Sat, 26 Feb 2011 09:48:22 +0000 (10:48 +0100)]
Regenerate autoloads

13 years ago.bzrignore: Ignore new lib/*.in-h files.
Eli Zaretskii [Sat, 26 Feb 2011 09:35:07 +0000 (11:35 +0200)]
.bzrignore: Ignore new lib/*.in-h files.

13 years agoFix the MS-DOS configury due to new gnulib modules.
Eli Zaretskii [Sat, 26 Feb 2011 09:27:05 +0000 (11:27 +0200)]
Fix the MS-DOS configury due to new gnulib modules.

 config.bat: Rename stdint.in.h and sys_stat.in.h.  Call
 depfiles.bat even if lib/deps already exist.
 msdos/depfiles.bat: Create a dummy .Po file only if a file by the same
 name does not already exist in the deps/ subdirectory.

13 years agoFix dependencies following 2011-02-26T05:54:36Z!eggert@cs.ucla.edu.
Eli Zaretskii [Sat, 26 Feb 2011 08:36:56 +0000 (10:36 +0200)]
Fix dependencies following 2011-02-26T05:54:36Z!eggert@cs.ucla.edu.

 lib-src/Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.

13 years agoFix the MS-Windows build after 2011-02-26T05:54:36Z!eggert@cs.ucla.edu.
Eli Zaretskii [Sat, 26 Feb 2011 07:44:38 +0000 (09:44 +0200)]
Fix the MS-Windows build after 2011-02-26T05:54:36Z!eggert@cs.ucla.edu.

 emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
 (w32_getenv): Use xstrdup to return all values in malloc'ed
 storage.

13 years agoMerge: lib-src changes mostly to avoid GCC warnings
Paul Eggert [Sat, 26 Feb 2011 05:54:36 +0000 (21:54 -0800)]
Merge: lib-src changes mostly to avoid GCC warnings

13 years ago* ebrowse.c (BROWSE_STRUCT): Remove unused macro.
Paul Eggert [Sat, 26 Feb 2011 05:43:51 +0000 (21:43 -0800)]
* ebrowse.c (BROWSE_STRUCT): Remove unused macro.

13 years ago* ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
Paul Eggert [Sat, 26 Feb 2011 05:41:42 +0000 (21:41 -0800)]
* ebrowse.c (parse_qualified_param_ident_or_type): Make it clear

to reader (and to the compiler) that the loop always executes at
least once.  This prevents a warning with recent GCC.

13 years ago* fakemail.c: Include <ignore-value.h>.
Paul Eggert [Sat, 26 Feb 2011 05:36:51 +0000 (21:36 -0800)]
* fakemail.c: Include <ignore-value.h>.

(put_line): Explicitly ignore fwrite return value, for benefit of
recent glibc + gcc.
(close_the_streams): Diagnose output errors instead of merely
exiting with nonzero status.
(my_fclose, main): Diagnose input errors, and exit with nonzero status.
Formerly, input errors were silently ignored.

13 years ago* ebrowse.c (insert_keyword): Rename parameter to avoid shadowing diagnostic.
Paul Eggert [Sat, 26 Feb 2011 00:23:33 +0000 (16:23 -0800)]
* ebrowse.c (insert_keyword): Rename parameter to avoid shadowing diagnostic.

13 years ago* ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
Paul Eggert [Sat, 26 Feb 2011 00:22:13 +0000 (16:22 -0800)]
* ebrowse.c (putstr): Rename from PUTSTR and turn into a function.

All callers changed.  This is cleaner, and avoids GCC warnings about
passing NULL to fputs.

13 years agolisp/ChangeLog: Fix typos.
Juanma Barranquero [Sat, 26 Feb 2011 00:18:16 +0000 (01:18 +0100)]
lisp/ChangeLog: Fix typos.

13 years ago* emacsclient.c (IF_LINT): New macro.
Paul Eggert [Sat, 26 Feb 2011 00:17:02 +0000 (16:17 -0800)]
* emacsclient.c (IF_LINT): New macro.

(set_local_socket, main): Use it to suppress warnings with
GCC -Wuninitialized.

13 years ago* emacsclient.c (xstrdup): Remove; no longer needed.
Paul Eggert [Fri, 25 Feb 2011 23:55:06 +0000 (15:55 -0800)]
* emacsclient.c (xstrdup): Remove; no longer needed.

(get_current_dir_name, w32_getenv, get_server_config, find_tty):
(set_local_socket, main):
Use const char *, not char *, for pointers that are not assigned
through.

13 years agoMerge changes made in Gnus trunk.
Teodor Zlatanov [Fri, 25 Feb 2011 23:52:19 +0000 (23:52 +0000)]
Merge changes made in Gnus trunk.

auth-source.el (auth-source-search): Cache empty result sets.
password-cache.el (password-in-cache-p): Convenience function to check if a key is in the cache, even if the value is nil.

13 years ago* emacsclient.c (main): Avoid dangling 'if'.
Paul Eggert [Fri, 25 Feb 2011 23:39:18 +0000 (15:39 -0800)]
* emacsclient.c (main): Avoid dangling 'if'.

13 years ago* emacsclient.c: Redo local variables to avoid shadowing problems.
Paul Eggert [Fri, 25 Feb 2011 23:35:16 +0000 (15:35 -0800)]
* emacsclient.c: Redo local variables to avoid shadowing problems.

(message, socket_status, start_daemon_and_retry_set_socket):
Rename locals.
(main): Move decl of "i".

13 years ago* etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
Paul Eggert [Fri, 25 Feb 2011 23:26:55 +0000 (15:26 -0800)]
* etags.c (ISUPPER): Move to inside the only #ifdef where it's used.

This avoids an unused-macro warning with some GCC settings.

13 years ago* make-docfile.c (scan_c_file): Refactor local variable decls to make their scope
Paul Eggert [Fri, 25 Feb 2011 22:21:01 +0000 (14:21 -0800)]
* make-docfile.c (scan_c_file): Refactor local variable decls to make their scope

more accurate and to avoid a GCC -Wuninitialized diagnostic.

13 years ago* make-docfile.c (write_globals): Change char * to char const *
Paul Eggert [Fri, 25 Feb 2011 22:05:43 +0000 (14:05 -0800)]
* make-docfile.c (write_globals): Change char * to char const *

to avoid a GCC "assignment discards qualifiers" diagnostic
in some configurations.

13 years ago* src/dired.c: Add comment and code explaining magic number.
Paul Eggert [Fri, 25 Feb 2011 19:08:18 +0000 (11:08 -0800)]
* src/dired.c: Add comment and code explaining magic number.

13 years agoFix package uploading for newly made or local archives.
Jambunathan K [Fri, 25 Feb 2011 18:30:00 +0000 (13:30 -0500)]
Fix package uploading for newly made or local archives.

* emacs-lisp/package-x.el (package--archive-contents-from-url)
(package--archive-contents-from-file): New functions.
(package-update-news-on-upload): New var.
(package-upload-buffer-internal): Extract archive-contents from
package-archive-upload-base if it is not found at archive-url.
Obey package-update-news-on-upload.
(package-upload-buffer, package-upload-file): Doc fix.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Fri, 25 Feb 2011 12:53:00 +0000 (12:53 +0000)]
Merge changes made in Gnus trunk.

auth-source.el (auth-source-save-behavior): New variable to replace `auth-source-never-create'.
 (auth-source-netrc-create): Use it.
 (auth-source-never-save): Remove.
nnimap.el (nnimap-stream): Doc fix.
 (nnimap-open-connection-1): Reverse the order of the ports to that the prompted-for port is first.
gnus-start.el (gnus-get-unread-articles): Don't clobber the async retrieval by the no-group selection.
gnus-demon.el (gnus-demon-init): run-with-timer should be called with numerical parameters.
auth-source.el (auth-source-creation-prompts): New variable to manage creation-time prompts.
 (auth-source-search): Document it.
 (auth-source-format-prompt): Add utility function.
 (auth-source-netrc-create): Don't default the user name to user-login-name.  Use `auth-source-creation-prompts' and some default prompts for user, host, port, and password (the default generic prompt remains ugly).
 (auth-source-never-save): Add customizable option to never save info.
 (auth-source-netrc-create): Use it and improve save prompts.  Fix help mode excursion.

13 years agoFix bug #8096 with "regexp search" indexing.
Eli Zaretskii [Fri, 25 Feb 2011 11:30:47 +0000 (13:30 +0200)]
Fix bug #8096 with "regexp search" indexing.

 search.texi (Regexp Search): Move index entries about regexps to the
 "Regexps" node.  Add index entries for regexp search.

13 years agoElaborate my most-recent ChangeLog entry.
Paul Eggert [Fri, 25 Feb 2011 10:03:28 +0000 (02:03 -0800)]
Elaborate my most-recent ChangeLog entry.

13 years agoDoc fix for bug#3577.
Glenn Morris [Fri, 25 Feb 2011 07:59:40 +0000 (23:59 -0800)]
Doc fix for bug#3577.

* doc/lispref/variables.texi (Directory Local Variables):
Mention the optional mtime argument of dir-locals-set-directory-class.

13 years agoRegenerate.
Paul Eggert [Fri, 25 Feb 2011 07:23:41 +0000 (23:23 -0800)]
Regenerate.

13 years ago* dired.c (Ffile_attributes): Increase size of modes from 10 to 12
Paul Eggert [Fri, 25 Feb 2011 06:30:50 +0000 (22:30 -0800)]
* dired.c (Ffile_attributes): Increase size of modes from 10 to 12

13 years agoYet more directory-local variables fixes.
Glenn Morris [Thu, 24 Feb 2011 08:45:25 +0000 (00:45 -0800)]
Yet more directory-local variables fixes.

* lisp/files-x.el (modify-dir-local-variable): Handle dir-locals from
the cache, and from non-file sources.

13 years agoFix for another bit of bug#8095, re dir-locals.
Glenn Morris [Thu, 24 Feb 2011 08:26:25 +0000 (00:26 -0800)]
Fix for another bit of bug#8095, re dir-locals.

* lisp/help-fns.el (describe-variable): Return consistent results when a
dir-local from a file came from the cache or did not.
If a dir-local has no associated file, say it came from a "directory".

13 years agoMore dir-locals fixes for files.el.
Glenn Morris [Thu, 24 Feb 2011 08:02:45 +0000 (00:02 -0800)]
More dir-locals fixes for files.el.

* lisp/files.el (hack-local-variables-confirm, hack-local-variables-filter):
Doc fix (say _which_ directory `dir-name' is).
(hack-dir-local-variables): Fix setting of `dir-name'.
Previous value seems clearly wrong.  Eg put a risky variable in a
dir-locals file, visit a file in a subdirectory, see which directory
it says the risky variables come from.  It should be the one with the
associated directory variables, not the one containing the visited file.

13 years agoPartial fix for bug#8095.
Glenn Morris [Thu, 24 Feb 2011 07:47:06 +0000 (23:47 -0800)]
Partial fix for bug#8095.

* lisp/files.el (dir-locals-find-file): Doc fix.
Fix the check for cache elements that have no associated file,
and the mtime check for those that do.

Still to do: some places that use dir-locals-find-file assume the
result is always a file, which is not true. (The function name is
misleading.)

13 years agoauth-source.el (auth-source-netrc-create): Use `read-char' with no argument that...
Katsumi Yamaoka [Thu, 24 Feb 2011 06:32:33 +0000 (06:32 +0000)]
auth-source.el (auth-source-netrc-create): Use `read-char' with no argument that XEmacs doesn't support.

13 years agoReplace some obsolete autoconf syntax.
Glenn Morris [Thu, 24 Feb 2011 04:28:17 +0000 (20:28 -0800)]
Replace some obsolete autoconf syntax.

* configure.in: Replace obsolete AC_OUTPUT() with AC_CONFIG_FILES(),
AC_CONFIG_COMMANDS(), and AC_OUTPUT sans arguments.

13 years agoDired-X fix for bug#5216.
Glenn Morris [Thu, 24 Feb 2011 03:59:04 +0000 (19:59 -0800)]
Dired-X fix for bug#5216.

* lisp/dired-x.el (dired-hack-local-variables):
Handle interrupts during hacking local variables.

13 years ago* admin/notes/bzr: Small updates.
Glenn Morris [Thu, 24 Feb 2011 03:56:36 +0000 (19:56 -0800)]
* admin/notes/bzr: Small updates.

13 years agoAvoid some possible prompts from autoloads.el.
Glenn Morris [Thu, 24 Feb 2011 03:53:27 +0000 (19:53 -0800)]
Avoid some possible prompts from autoloads.el.

* lisp/emacs-lisp/autoload.el (autoload-save-buffers)
(autoload-find-destination, update-directory-autoloads):
Avoid prompts when updating autoloads.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Wed, 23 Feb 2011 22:59:34 +0000 (22:59 +0000)]
Merge changes made in Gnus trunk.

gnus-art.el (article-make-date-line): Ignore errors if time is invalid and not convertible.
 (article-make-date-line): Only add lapsed time if time is not nil.
auth-source.el (auth-source-netrc-element-or-first): New function to DTRT for parameter extraction.
 (auth-source-netrc-create): Use it and fix multiple parameter print bug.  Use the default passed from above (given-default) or the built-in (user-login-name for :user).

13 years agoFix handling of bar cursors in NS terminal.
Ben Key [Wed, 23 Feb 2011 20:41:43 +0000 (15:41 -0500)]
Fix handling of bar cursors in NS terminal.

* nsterm.m (ns_draw_window_cursor): Obey the cursor_width argument
directly, for bar cursors.

* xdisp.c (set_frame_cursor_types): Don't write an undefined value
into the frame's cursor_width.

13 years agoFix typos.
Juanma Barranquero [Wed, 23 Feb 2011 19:56:30 +0000 (20:56 +0100)]
Fix typos.

13 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
Stefan Monnier [Wed, 23 Feb 2011 15:22:28 +0000 (10:22 -0500)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.

13 years ago* src/print.c (print_object): Never print old-style backquotes.
Stefan Monnier [Wed, 23 Feb 2011 15:14:21 +0000 (10:14 -0500)]
* src/print.c (print_object): Never print old-style backquotes.
Obey escapeflag for hash tables as well.

13 years agoauth-source.el (auth-source-netrc-create): Use `read-char' instead of `read-char...
Teodor Zlatanov [Wed, 23 Feb 2011 14:34:44 +0000 (14:34 +0000)]
auth-source.el (auth-source-netrc-create): Use `read-char' instead of `read-char-choice' for backwards compatibility.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Wed, 23 Feb 2011 13:35:35 +0000 (13:35 +0000)]
Merge changes made in Gnus trunk.

auth.texi (Help for users): Mention ~/.netrc is also searched by default now.
gnus-start.el (gnus-dribble-read-file): Set buffer-save-without-query, since we always want to save the dribble file, probably.
nnmail.el (nnmail-article-group): Allow a final "" split to work on nnimap.
gnus-sum.el (gnus-user-date-format-alist): Renamed back again from -summary- since it's a user-visible variable.
nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the first time you use the new Gnus.
auth-source.el: Don't load netrc.el.
 (auth-sources): Search ~/.netrc as well by default.
 (auth-source-debug): Add 'trivia option for extra output.
 (auth-source-do-trivia): Use it.
 (auth-source-search): Simplify logic to use `auth-source-search-backends'.  Use `auth-source-do-trivia' where appropriate.  Don't keep a running count at this level.  Layer :create and :delete options appropriately on the first and second passes.  Don't track the backend with the search results.
 (auth-source-search-backends): New function to search a list of backends for a processed spec.
 (auth-source-netrc-parse): Cache all netrc files, making auth-source-netrc-cache an alist keyed by the file name and using the file mtime as the caching criterion.  Keep the obfuscated data secret with a lexical bind.
 (auth-source-netrc-search): Don't calculate the length of the results unnecessarily.
 (auth-source-search-backends): Fix bug.
 (auth-source-netrc-create): Rework prompts.
nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key): Lower case names of search constraints.
 (nnir-run-query): Cache and reuse search constraints for all imap servers.
gnus-msg.el (gnus-setup-message): Define missing variable from last checkin.

13 years agolisp/org/org-table.el: Fix typos in docstrings.
Juanma Barranquero [Wed, 23 Feb 2011 11:25:29 +0000 (12:25 +0100)]
lisp/org/org-table.el: Fix typos in docstrings.

13 years agoFix some mis-spellings of "precede" that are not in emacs-23 branch.
Glenn Morris [Wed, 23 Feb 2011 07:27:09 +0000 (23:27 -0800)]
Fix some mis-spellings of "precede" that are not in emacs-23 branch.

13 years agoFix typo "comand".
Glenn Morris [Wed, 23 Feb 2011 07:15:55 +0000 (23:15 -0800)]
Fix typo "comand".

13 years agoFix spelling of "precede".
Glenn Morris [Wed, 23 Feb 2011 07:08:12 +0000 (23:08 -0800)]
Fix spelling of "precede".

13 years ago* doc/misc/dbus.texi (Type Conversion): Grammar fix.
Glenn Morris [Wed, 23 Feb 2011 07:03:27 +0000 (23:03 -0800)]
* doc/misc/dbus.texi (Type Conversion): Grammar fix.

13 years agoFix spelling of "supersede".
Glenn Morris [Wed, 23 Feb 2011 05:10:10 +0000 (21:10 -0800)]
Fix spelling of "supersede".

13 years ago* etc/NEWS: Typo fixes.
Glenn Morris [Wed, 23 Feb 2011 04:47:11 +0000 (20:47 -0800)]
* etc/NEWS: Typo fixes.

13 years ago* etc/NEWS: Remove some sql-stuff that is not NEWS-worthy.
Glenn Morris [Wed, 23 Feb 2011 04:37:53 +0000 (20:37 -0800)]
* etc/NEWS: Remove some sql-stuff that is not NEWS-worthy.

13 years agoComment spelling fix.
Glenn Morris [Wed, 23 Feb 2011 04:27:42 +0000 (20:27 -0800)]
Comment spelling fix.

13 years agoComment spelling fix.
Glenn Morris [Wed, 23 Feb 2011 04:26:42 +0000 (20:26 -0800)]
Comment spelling fix.

13 years ago* admin/notes/bzr: More details about merging ChangeLogs.
Glenn Morris [Wed, 23 Feb 2011 04:24:13 +0000 (20:24 -0800)]
* admin/notes/bzr: More details about merging ChangeLogs.

13 years agoRemove bogus duplicate ChangeLog entry from 2010-06-01T13:47:14Z!lekktu@gmail.com.
Glenn Morris [Wed, 23 Feb 2011 04:21:48 +0000 (20:21 -0800)]
Remove bogus duplicate ChangeLog entry from 2010-06-01T13:47:14Z!lekktu@gmail.com.
No need to merge this to trunk.

13 years agoMerge from emacs-23; up to 2010-06-02T00:10:42Z!yamaoka@jpl.org.
Glenn Morris [Wed, 23 Feb 2011 04:19:28 +0000 (20:19 -0800)]
Merge from emacs-23; up to 2010-06-02T00:10:42Z!yamaoka@jpl.org.

13 years agoRemove pointless setting of byte-compile-dynamic in tiny, tiny file.
Glenn Morris [Wed, 23 Feb 2011 04:00:52 +0000 (20:00 -0800)]
Remove pointless setting of byte-compile-dynamic in tiny, tiny file.

13 years agoAdd comments about fixing dates in merged ChangeLogs.
Glenn Morris [Wed, 23 Feb 2011 03:50:04 +0000 (19:50 -0800)]
Add comments about fixing dates in merged ChangeLogs.

13 years agoObsolete dired-x's directory local variables in favor of standard ones.
Glenn Morris [Wed, 23 Feb 2011 03:44:13 +0000 (19:44 -0800)]
Obsolete dired-x's directory local variables in favor of standard ones.

* lisp/dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.

* lisp/dired-x.el (dired-omit-mode): Safe if boolean.
(dired-enable-local-variables): Fix doc and custom type.  Mark risky.
(dired-enable-local-variables, dired-local-variables-file)
(dired-hack-local-variables): Make obsolete.
(dired-omit-here-always): Use dir-locals.el instead.

* doc/misc/dired-x.texi (Features): Don't advertise obsolete local variables.
Simplify layout.
(Omitting Variables): Update local variables example.
(Local Variables): Say this is obsolete.  Fix description of
dired-enable-local-variables possible values.

* etc/NEWS: Relocate the existing entry about directory local
variables in file-les buffers, and make it clearer.
Mention above dired changes.

13 years ago* doc/misc/dired-x.texi (Features, Local Variables): Fix typos.
Glenn Morris [Wed, 23 Feb 2011 03:32:42 +0000 (19:32 -0800)]
* doc/misc/dired-x.texi (Features, Local Variables): Fix typos.
(Features): Minor rephrasing.

13 years ago* lisp/files.el (safe-local-eval-forms): Add the write-file-hooks version.
Glenn Morris [Wed, 23 Feb 2011 03:24:23 +0000 (19:24 -0800)]
* lisp/files.el (safe-local-eval-forms): Add the write-file-hooks version.

This obsolete form is still supported, and present in some of the
files synced from gnulib, for example.

13 years agomail/rmailmm.el (rmail-mime-process-multipart): Do not signal an error when a multipa...
Kenichi Handa [Wed, 23 Feb 2011 02:32:35 +0000 (11:32 +0900)]
mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an error when a multipart boundary in the nested multipart is found.

13 years agomerge emacs-23
Kenichi Handa [Wed, 23 Feb 2011 01:56:49 +0000 (10:56 +0900)]
merge emacs-23