]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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 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 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 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

13 years ago* lisp/gnus/gnus-msg.el (gnus-setup-message): Also bind `winconf-name'.
Sam Steingold [Tue, 22 Feb 2011 20:08:00 +0000 (15:08 -0500)]
* lisp/gnus/gnus-msg.el (gnus-setup-message): Also bind `winconf-name'.

13 years ago* dired.c (Ffile_attributes): Simplify and avoid #ifdef.
Paul Eggert [Tue, 22 Feb 2011 18:32:51 +0000 (10:32 -0800)]
* dired.c (Ffile_attributes): Simplify and avoid #ifdef.

13 years ago* lisp/help-fns.el (describe-function-1): Don't signal an error just because
Stefan Monnier [Tue, 22 Feb 2011 18:22:04 +0000 (13:22 -0500)]
* lisp/help-fns.el (describe-function-1): Don't signal an error just because
the DOC file disappeared.

13 years agoFix 2011-02-22T17:37:06Z!eggert@cs.ucla.edu.
Eli Zaretskii [Tue, 22 Feb 2011 18:08:53 +0000 (20:08 +0200)]
Fix 2011-02-22T17:37:06Z!eggert@cs.ucla.edu.

 etags.c (canonicalize_filename, ISUPPER): Fix last change.

13 years ago* src/lread.c (openp): Correct Boolean typo in last commit.
Wolfgang Jenkner [Tue, 22 Feb 2011 18:02:11 +0000 (13:02 -0500)]
* src/lread.c (openp): Correct Boolean typo in last commit.

13 years agoMS-Windows part of 2011-02-21T23:22:34Z!eggert@cs.ucla.edu, addition of min-max.h.
Eli Zaretskii [Tue, 22 Feb 2011 17:51:38 +0000 (19:51 +0200)]
MS-Windows part of 2011-02-21T23:22:34Z!eggert@cs.ucla.edu, addition of min-max.h.

 lib-src/makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend
 on ../lib/min-max.h.

13 years agoetags: Downcase drive letters, for consistency with Emacs proper.
Paul Eggert [Tue, 22 Feb 2011 17:37:06 +0000 (09:37 -0800)]
etags: Downcase drive letters, for consistency with Emacs proper.

* etags.c (upcase): Remove; no longer used.
(canonicalize_filename): Downcase drive letters.

13 years ago* nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified key to emacs, treat...
Adrian Robert [Tue, 22 Feb 2011 14:13:54 +0000 (16:13 +0200)]
* nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified key to emacs, treat as unmodified (go to input manager processing).

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Tue, 22 Feb 2011 13:31:15 +0000 (13:31 +0000)]
Merge changes made in Gnus trunk.

gnus.texi (Article Date): Clarify gnus-article-update-date-headers.
gnus-msg.el (gnus-inews-add-send-actions): Restore the winconf name after exit.
gnus-sum.el (gnus-summary-show-article): When called with t as the value, show the raw article.
nnimap.el (nnimap-open-connection-1): Revert last change, since auth-source now accepts numbers.
auth-source.el (auth-source-netrc-parse): Accept a number as the port spec, too.
 (auth-source-ensure-strings): New function.
gnus-art.el (gnus-article-update-date-headers): Doc fix.
 (gnus-article-setup-buffer): Always restart the date timer so that user changes to the frequency is respected.
nnimap.el (nnimap-open-connection-1): auth-source expects strings as port numbers, so make sure it gets that if nnimap-server-port is explicit.
nnimap.el (nnimap-inbox): Doc fix.

13 years agosrc/ChangeLog: Fix typos.
Juanma Barranquero [Tue, 22 Feb 2011 13:27:23 +0000 (14:27 +0100)]
src/ChangeLog: Fix typos.

13 years ago* eshell/esh-ext.el (eshell-external-command): Do not restrict
Michael Albinus [Tue, 22 Feb 2011 05:50:25 +0000 (06:50 +0100)]
* eshell/esh-ext.el (eshell-external-command): Do not restrict
remote check to "ftp".  (Bug#8089)

13 years agoMerge: Assume S_ISLNK etc. work, since gnulib supports this.
Paul Eggert [Tue, 22 Feb 2011 01:58:44 +0000 (17:58 -0800)]
Merge: Assume S_ISLNK etc. work, since gnulib supports this.

13 years agoFix font size handling.
Kenichi Handa [Tue, 22 Feb 2011 01:58:03 +0000 (10:58 +0900)]
Fix font size handling.

13 years ago[ChangeLog]
Paul Eggert [Tue, 22 Feb 2011 01:55:20 +0000 (17:55 -0800)]
[ChangeLog]

Assume S_ISLNK etc. work, since gnulib supports this.
* Makefile.in (GNULIB_MODULES): Add sys_stat.
* configure.in: Check for lstat and set HAVE_LSTAT=0 if not.
Pretend to be using the gnulib lstat module for benefit of sys/stat.h.
* configure, lib/Makefile.in, lib/gnulib.mk: Regenerate.
[lib-src/ChangeLog]
Assume S_ISLNK etc. work, since gnulib supports this.
* etags.c (S_ISREG): Remove.
[src/ChangeLog]
Assume S_ISLNK etc. work, since gnulib supports this.
* config.in: Regenerate.
* dired.c (lstat): Remove.
(file_name_completion): Assume S_ISDIR works.
(file_name_completion_stat): Assume S_ISLNK works.
Do not bother calling stat unless lstat says it's a symlink.
* fileio.c (S_ISLNK, S_ISFIFO, S_ISREG, lstat): Remove.
(Fcopy_file): Assume S_ISREG and S_ISLNK work.
(check_writable, Ffile_writable_p, Fset_file_times):
Assume S_ISDIR works.
(Ffile_readable_p): Use S_IFIFO, not S_ISFIFO, to guess whether
fifos exist.
(Ffile_regular_p, Finsert_file_contents): Assumes S_ISREG works.
* filelock.c (S_ISLNK): Remove.
* lread.c (openp): Assume S_ISDIR works.
* xrdb.c (S_ISDIR): Remove.

13 years agomerge emacs-23
Kenichi Handa [Tue, 22 Feb 2011 01:51:16 +0000 (10:51 +0900)]
merge emacs-23

13 years agoIn rmail, decode "encoded-words" of header components on replying.
Kenichi Handa [Tue, 22 Feb 2011 01:49:06 +0000 (10:49 +0900)]
In rmail, decode "encoded-words" of header components on replying.

13 years agoadmin/notes/bugtracker (bugtracker_debbugs_url): Fix typo.
Juanma Barranquero [Tue, 22 Feb 2011 01:04:16 +0000 (02:04 +0100)]
admin/notes/bugtracker (bugtracker_debbugs_url): Fix typo.

13 years agolib-src/makefile.w32-in (obj): Remove filemode.o.
Juanma Barranquero [Tue, 22 Feb 2011 00:49:54 +0000 (01:49 +0100)]
lib-src/makefile.w32-in (obj): Remove filemode.o.

13 years agomerge emacs-23
Kenichi Handa [Tue, 22 Feb 2011 00:22:09 +0000 (09:22 +0900)]
merge emacs-23

13 years agoDecode "encoded-words" of header components on replying.
Kenichi Handa [Tue, 22 Feb 2011 00:19:08 +0000 (09:19 +0900)]
Decode "encoded-words" of header components on replying.

13 years ago* movemail.c: Define macros only in needed contexts.
Paul Eggert [Tue, 22 Feb 2011 00:11:56 +0000 (16:11 -0800)]
* movemail.c: Define macros only in needed contexts.

13 years ago* Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
Paul Eggert [Tue, 22 Feb 2011 00:08:53 +0000 (16:08 -0800)]
* Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.

13 years agoMerge from mainline.
Paul Eggert [Mon, 21 Feb 2011 23:46:32 +0000 (15:46 -0800)]
Merge from mainline.

13 years ago[ChangeLog]
Paul Eggert [Mon, 21 Feb 2011 23:22:34 +0000 (15:22 -0800)]
[ChangeLog]

* lib/min-max.h: New file, for "min" and "max".
[lib-src/ChangeLog]
New file "lib/min-max.h".
* ebrowse.c (min, max): Define them by including <min-max.h>
instead of defining it ourselves.
* pop.c (min): Likewise.

13 years ago* test-distrib.c (buf): Make this local, to avoid shadowing.
Paul Eggert [Mon, 21 Feb 2011 23:15:17 +0000 (15:15 -0800)]
* test-distrib.c (buf): Make this local, to avoid shadowing.

13 years ago* movemail.c (popmail): Report fchown failure instead of ignoring it.
Paul Eggert [Mon, 21 Feb 2011 22:31:55 +0000 (14:31 -0800)]
* movemail.c (popmail): Report fchown failure instead of ignoring it.

But if the file already has the right ownership, don't worry about it.

13 years ago(c-state-literal-at): Prevent positions in macros finding their way into
Alan Mackenzie [Mon, 21 Feb 2011 21:25:35 +0000 (21:25 +0000)]
(c-state-literal-at): Prevent positions in macros finding their way into
c-state-nonlit-pos-cache.  Strengthen the comments.

(c-state-dump): New commented out diagnostic routine.

13 years agoAdd stdint.h for MS-Windows.
Christoph Scholtes [Mon, 21 Feb 2011 20:16:43 +0000 (22:16 +0200)]
Add stdint.h for MS-Windows.

 nt/inc/stdint.h: New file, to support compilation with tool chains
 that do not have stdint.h (e.g. MSVC).
 lib/makefile.w32-in: ($(BLD)/md5.$(O)): Added dependency on
 $(EMACS_ROOT)/nt/inc/stdint.h.

13 years agoAdapt MS-Windows build to import of filemode.c from gnulib.
Eli Zaretskii [Mon, 21 Feb 2011 20:00:19 +0000 (22:00 +0200)]
Adapt MS-Windows build to import of filemode.c from gnulib.

 nt/inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
 (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
 (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
 (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
 (lstat): Define to stat.
 lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from
 src/makefile.w32-in and adapt.  Depend on stamp_BLD.
 (GNULIBOBJS): Add $(BLD)/filemode.$(O).
 src/makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to
 lib/makefilw.w32-in.
 ($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h.
 (GLOBAL_SOURCES): Remove filemode.c.
 (OBJ1): Remove $(BLD)/filemode.$(O).
 lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
 ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
 Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.

13 years ago* make-docfile.c (input_buffer): Rename variables to avoid shadowing.
Paul Eggert [Mon, 21 Feb 2011 19:37:54 +0000 (11:37 -0800)]
* make-docfile.c (input_buffer): Rename variables to avoid shadowing.

13 years ago* net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
Michael Albinus [Mon, 21 Feb 2011 19:14:56 +0000 (20:14 +0100)]
* net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
`field' property of `rfn-eshadow-overlay'.

13 years agoMerge from mainline.
Paul Eggert [Mon, 21 Feb 2011 18:51:02 +0000 (10:51 -0800)]
Merge from mainline.

13 years ago* movemail.c: (DIRECTORY_SEP, IS_DIRECTORY_SEP, DONE, IS_FROM_LINE):
Paul Eggert [Mon, 21 Feb 2011 18:37:35 +0000 (10:37 -0800)]
* movemail.c: (DIRECTORY_SEP, IS_DIRECTORY_SEP, DONE, IS_FROM_LINE):

Remove unused macros.
* pop.c (index): Remove unused macro.
(KPOP_PORT): Define only if KERBEROS is defined.

13 years ago* movemail.c: Remove unused vars
Paul Eggert [Mon, 21 Feb 2011 18:26:52 +0000 (10:26 -0800)]
* movemail.c: Remove unused vars

13 years ago* movemail.c (main, pop_retr): Rename locals to avoid shadowing.
Paul Eggert [Mon, 21 Feb 2011 18:22:20 +0000 (10:22 -0800)]
* movemail.c (main, pop_retr): Rename locals to avoid shadowing.

13 years agoDeclare file-scope functions and variables static if not exported.
Paul Eggert [Mon, 21 Feb 2011 18:06:25 +0000 (10:06 -0800)]
Declare file-scope functions and variables static if not exported.

This is more consistent, and is nicer with gcc -Wstrict-prototypes.
* ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
* profile.c, test-distrib.c, update-game-score.c:
Declare non-'main' functions and variables to be static.
* ebrowse.c: Omit redundant function prototypes.

13 years ago* make-docfile.c (scan_c_file): Adapt to the new BVAR macro.
Ben Key [Mon, 21 Feb 2011 18:02:49 +0000 (13:02 -0500)]
* make-docfile.c (scan_c_file): Adapt to the new BVAR macro.

13 years agoImport filemode module from gnulib.
Paul Eggert [Mon, 21 Feb 2011 17:56:37 +0000 (09:56 -0800)]
Import filemode module from gnulib.

13 years agoMerge changes made in Gnus trunk.
Lars Ingebrigtsen [Mon, 21 Feb 2011 13:29:15 +0000 (13:29 +0000)]
Merge changes made in Gnus trunk.

gnus.texi (Window Layout): Document layout names.
nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the given method as in the group name if we're using an extended method.
 (nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE command, if we're using that, instead of waiting for the beginning.
gnus-start.el (gnus-get-unread-articles): Extend the methods so that we're sure to get unique server names, and we don't output two async commands in the same buffer.  This fixes an NNTP hang for some users.
netrc.el (netrc-parse): Comment fix.
gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the summary buffer before reading going to the next buffer.  This avoids putting the point in the group buffer if you `C-g' the command.
auth-source.el (auth-source-netrc-parse): Add an in-memory netrc cache (for now) to make ~/.authinfo.gpg files usable.
nnfolder.el (copyright-update): Define for the compiler.
auth-source.el (auth-source-search): Fix unbound variable.

13 years agoMerge some code from hexrgb.el into color.el.
Chong Yidong [Mon, 21 Feb 2011 06:03:36 +0000 (01:03 -0500)]
Merge some code from hexrgb.el into color.el.

* lisp/color.el (color-name-to-rgb): Rename from color-rgb->normalize.
Autoload.  Add optional arg FRAME, and pass it to color-values.
(color-complement): Caller changed.  Doc fix.
(color-gradient): Rewrite for better clarity and efficiency.
(color-rgb-to-hex): Rename from color-rgb->hex.
(color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
saturation to zero if the value is too small.
(color-rgb-to-hsl): Rename from color-rgb->hsl.
(color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
(color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
(color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
(color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
(color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
(color-cie-de2000): Doc fix.

* lisp/facemenu.el (color-rgb-to-hsv): Deleted; use the version in
lisp/color.el instead.
(list-colors-sort-key, list-colors-print): Use
color-normalized-values.

* lisp/faces.el (color-values): Use cond for clarity.  Doc fix.

* lisp/gnus/shr-color.el (shr-color->hexadecimal): Use renamed
function names color-rgb-to-hex, color-name-to-rgb,
color-srgb-to-lab, and color-lab-to-srgb.

13 years ago* themes/tango-dark-theme.el: Tweak background on low-color terminals.
Chong Yidong [Mon, 21 Feb 2011 05:59:20 +0000 (00:59 -0500)]
* themes/tango-dark-theme.el: Tweak background on low-color terminals.

13 years agolib-src/makefile.w32-in (obj): Remove md5.o.
Juanma Barranquero [Sun, 20 Feb 2011 22:17:39 +0000 (23:17 +0100)]
lib-src/makefile.w32-in (obj): Remove md5.o.

13 years agoFollowup for 2011-02-20T18:50:26Z!eliz@gnu.org.
Eli Zaretskii [Sun, 20 Feb 2011 21:09:45 +0000 (23:09 +0200)]
Followup for 2011-02-20T18:50:26Z!eliz@gnu.org.

 lib/makefile.w32-in ($(BLD)/md5.$(O)): Don't depend on
 $(EMACS_ROOT)/nt/inc/sys/stat.h.

13 years ago* configure.in (C_WARNINGS_SWITCH): Do not prepend -Wno-pointer-sign.
Paul Eggert [Sun, 20 Feb 2011 19:46:08 +0000 (11:46 -0800)]
* configure.in (C_WARNINGS_SWITCH): Do not prepend -Wno-pointer-sign.

13 years agoMerge from mainline.
Paul Eggert [Sun, 20 Feb 2011 19:31:01 +0000 (11:31 -0800)]
Merge from mainline.

13 years agoFix the MS-Windows build due to import of md5 from gnulib.
Christoph Scholtes [Sun, 20 Feb 2011 18:50:26 +0000 (20:50 +0200)]
Fix the MS-Windows build due to import of md5 from gnulib.

 src/makefile.w32-in: Remove md5.$(O).
 ($(BLD)/md5.$(O)): Remove prerequisites, moved to
 lib/makefile.w32-in.
 ($(BLD)/fns.$(O)): Depend on $(EMACS_ROOT)/lib/md5.h and on stamp_BLD.
 lib/makefile.w32-in ($(BLD)/md5.$(O)): New recipe, moved from
 src/makefile.w32-in.

13 years ago(c-end-of-statement): Set macro-end correctly at the end of a loop.
Alan Mackenzie [Sun, 20 Feb 2011 18:36:29 +0000 (18:36 +0000)]
(c-end-of-statement): Set macro-end correctly at the end of a loop.

13 years ago.
Alan Mackenzie [Sun, 20 Feb 2011 18:35:30 +0000 (18:35 +0000)]
.

13 years ago* dired.c: Include <filemode.h> at top level.
Paul Eggert [Sun, 20 Feb 2011 17:14:24 +0000 (09:14 -0800)]
* dired.c: Include <filemode.h> at top level.

13 years agoConvert test/icalendar-testsuite.el to ERT format.
Ulf Jasper [Sun, 20 Feb 2011 14:35:58 +0000 (15:35 +0100)]
Convert test/icalendar-testsuite.el to ERT format.

* automated/icalendar-tests.el: Move from icalendar-testsuite.el;
  convert to ERT format.

13 years agoUpdate autoloads
Andreas Schwab [Sun, 20 Feb 2011 11:59:44 +0000 (12:59 +0100)]
Update autoloads

13 years agoImport filemode module from gnulib.
Paul Eggert [Sun, 20 Feb 2011 10:53:22 +0000 (02:53 -0800)]
Import filemode module from gnulib.

* Makefile.in (base_obj): Remove filemode.o, as it's now in ../lib.
* deps.mk (dired.o): Depend on ../lib/filemode.h, too.
(filemode.o): Remove; this is now in ../lib.
* dired.c: Include <filemode.h>.
(filemodestring): Remove now-redundant decl.
* config.in: Regenerate.

2011-02-20  Paul Eggert  <eggert@cs.ucla.edu>

13 years agoImport filemode module from gnulib.
Paul Eggert [Sun, 20 Feb 2011 10:51:50 +0000 (02:51 -0800)]
Import filemode module from gnulib.

* .bzrignore: Add lib/sys/.
* Makefile.in (GNULIB_MODULES): Add filemode.
* lib/Makefile.am (MOSTLYCLEANDIRS): New macro.
* lib/filemode.c: Renamed from src/filemode.c and regenerated
from gnulib.  This adds support for some more file types, e.g.,
Cray DMF migrated files.
* lisp/emacs-lisp/find-gc.el (find-gc-source-files): Remove filemode.c.
* lib/filemode.h, lib/sys_stat.in.h, m4/filemode.m4, m4/st_dm_mode.m4:
* m4/sys_stat_h.m4: New files, generated from gnulib.
* aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
Regenerate.

2011-02-20  Paul Eggert  <eggert@cs.ucla.edu>

13 years agoMerge: Import crypto/md5 and stdint modules from gnulib.
Paul Eggert [Sun, 20 Feb 2011 08:48:52 +0000 (00:48 -0800)]
Merge: Import crypto/md5 and stdint modules from gnulib.

13 years agonnimap.el (nnimap-wait-for-response): Ensure that we get the entire line we're waitin...
Gnus developers [Sun, 20 Feb 2011 04:08:04 +0000 (04:08 +0000)]
nnimap.el (nnimap-wait-for-response): Ensure that we get the entire line we're waiting for.
gnus-art.el (gnus-article-next-page-1): Because customized mode-line face with line-width greater than zero will cause RET in gnus summary buffer to scroll down article page-wise because auto vscroll happens, it should be temporalily disabled when doing a scroll-up.

13 years agoedmacro.el trivia.
Glenn Morris [Sun, 20 Feb 2011 00:16:54 +0000 (16:16 -0800)]
edmacro.el trivia.

* lisp/edmacro.el: Remove old header comment.
(edmacro-eight-bits): Make it a defcustom.  Don't autoload it.

13 years agoautorevert.el trivia.
Glenn Morris [Sun, 20 Feb 2011 00:09:28 +0000 (16:09 -0800)]
autorevert.el trivia.

* lisp/autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-ignore-buffer): Remove leading "*" from docs.
It makes zero sense to use it with these variables.

13 years agoPrevent hideshow from parsing braces inside comments (Bug#8036).
Dmitry Bolshakov [Sat, 19 Feb 2011 22:20:35 +0000 (17:20 -0500)]
Prevent hideshow from parsing braces inside comments (Bug#8036).

* progmodes/hideshow.el (hs-find-block-beginning)
(hs-hide-level-recursive): Ignore comments when parsing braces.

13 years agoImprovements to vc-bzr conffile handling and pull/merge support.
Chong Yidong [Sat, 19 Feb 2011 21:23:51 +0000 (16:23 -0500)]
Improvements to vc-bzr conffile handling and pull/merge support.

* vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
(vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
but returning an alist.  Ignore comments in bzr conffile.
(vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
(vc-bzr-error-regex-alist): New var.
(vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.

* progmodes/compile.el (compilation--flush-directory-cache):
Handle the case where cdr of compilation--flush-directory-cache
points to no buffer, which can occur if we previously switched to
compilation-mode in a pregenerated buffer.

* vc/vc-dispatcher.el (vc-do-async-command): Bind
inhibit-read-only to t.

13 years agodoc/misc minor stylistic changes.
Glenn Morris [Sat, 19 Feb 2011 21:20:34 +0000 (13:20 -0800)]
doc/misc minor stylistic changes.

* doc/misc/edt.texi, erc.texi, gnus.texi, idlwave.texi, mh-e.texi:
Standardize some Emacs/XEmacs terminology.

13 years agodired-x no longer requires dired-aux.
Glenn Morris [Sat, 19 Feb 2011 20:44:34 +0000 (12:44 -0800)]
dired-x no longer requires dired-aux.

* lisp/dired-x.el: Don't require dired-aux.
(dired-do-create-files, dired-mark-read-regexp)
(dired-do-create-files-regexp): Autoload from dired-aux.

13 years agoMerge dired-x's dired-find-buffer-nocreate into dired.el.
Glenn Morris [Sat, 19 Feb 2011 20:36:54 +0000 (12:36 -0800)]
Merge dired-x's dired-find-buffer-nocreate into dired.el.

* lisp/dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.

* lisp/dired.el (dired-find-buffer-nocreate): Merge dired-x version.

* doc/misc/dired-x.texi (Technical Details):
No longer redefines dired-find-buffer-nocreate.

13 years agoAdapt and fix the MS-DOS port due to gnulib imports.
Eli Zaretskii [Sat, 19 Feb 2011 19:56:29 +0000 (21:56 +0200)]
Adapt and fix the MS-DOS port due to gnulib imports.

 msdos/depfiles.bat: New file.
 msdos/sedlibmk.inp: New file.
 msdos/sedlibcf.inp: New file.
 msdos/sedleim.inp (RUN_EMACS): Rename from RUN-EMACS.
 (BUILT_EMACS): Rename from BUILT-EMACS.
 msdos/sed6.inp (MAKEINFO): Edit to "makeinfo".
 (ENVADD): Adjust to MAKEINFO_OPTS.
 (texinputdir): Don't edit.
 msdos/sed3v2.inp (-DVERSION): Edit out.
 (LOADLIBES): Don't edit to empty.
 msdos/sed2v2.inp: Remove workaround for the "#if ! HAVE_MKTIME ||
 BROKEN_MKTIME" stuff -- it's no longer in src/config.in.
 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
 (HAVE__BOOL): Edit to 1.
 (VERSION, inline, restrict): Edit for DJGPP.
 (my_strftime): Edit to nstrftime.
 msdos/sed1v2.inp (NS_OBJC_OBJ): Edit to empty.
 (@true): Edit to "@rem".
 (move-if-change): Edit to "update".
 (echo): Edit to "djecho".
 (cd $(lib) && ...): Edit to "$(MAKE) -C ...".
 (LIBOBJS): Edit to empty.
 ($(libsrc)/make-docfile): Two new edits, one each for every
 invocation of make-docfile.
 (move-if-change): Fix edit.
 Remove some unused switches from $(ALL_CFLAGS), to make the GCC
 command line shorter.
 msdos/mainmake.v2 (version): Remove, no longer needed (config.in
 defines VERSION).
 (all): Add lib.
 (lib): New target and recipe.
 (lib-src): Depend on lib.
 (src): Depend on lib and lib-src.
 (clean, mostlyclean, distclean, maintainer-clean, extraclean)
 (bootstrap-clean): Recurse into lib.
 (lib, lib-src, src): Specify "all" as an explicit target.
 .bzrignore: Ignore cxxdefs.h and lib/*.in-h files.
 Add lib/deps/.
 config.bat: Configure in `lib'.
 Generate *.Po files in lib/deps.
 src/termcap.c (tputs): Don't declare baud_rate.
 src/s/msdos.h (strtold): Define to _strtold.

13 years ago* tramp.texi: Use consistently "Emacs" (instead of "GNU Emacs") and
Michael Albinus [Sat, 19 Feb 2011 19:55:44 +0000 (20:55 +0100)]
* tramp.texi: Use consistently "Emacs" (instead of "GNU Emacs") and
"Debian GNU/Linux".

* trampver.texi [xemacs]: Set emacsothername to "Emacs".

13 years agoFix MS-DOS build in src/: delete gl-tmp.
Eli Zaretskii [Sat, 19 Feb 2011 19:49:10 +0000 (21:49 +0200)]
Fix MS-DOS build in src/: delete gl-tmp.

 msdos/sed1v2.inp: Delete gl-tmp after updating globals.h

13 years agoFinish fixing the MS-DOS build. Everything builds and works.
Eli Zaretskii [Sat, 19 Feb 2011 19:41:00 +0000 (21:41 +0200)]
Finish fixing the MS-DOS build.  Everything builds and works.

 src/termcap.c (tputs): Don't declare baud_rate.
 msdos/sedlibmk.inp (gl_LIBOBJS): Add getloadavg.o.
 msdos/sedleim.inp (RUN_EMACS): Rename from RUN-EMACS.
 (BUILT_EMACS): Rename from BUILT-EMACS.
 msdos/sed6.inp (MAKEINFO): Edit to "makeinfo".
 (ENVADD): Adjust to MAKEINFO_OPTS.
 (texinputdir): Don't edit.
 msdos/sed2v2.inp (my_strftime): Edit to nstrftime.
 msdos/sed1v2.inp (LIBOBJS): Edit to empty.
 ($(libsrc)/make-docfile): Two new edits, one each for every
 invocation of make-docfile.
 (move-if-change): Fix edit.
 Remove some unused switches from $(ALL_CFLAGS), to make the GCC
 command line shorter.

13 years agoMerge from emacs-23; up to 2010-06-01T01:49:15Z!monnier@iro.umontreal.ca
Glenn Morris [Sat, 19 Feb 2011 19:40:59 +0000 (11:40 -0800)]
Merge from emacs-23; up to 2010-06-01T01:49:15Z!monnier@iro.umontreal.ca

13 years agoFix typo in auth.texi (Bug#8068).
Chong Yidong [Sat, 19 Feb 2011 19:26:37 +0000 (14:26 -0500)]
Fix typo in auth.texi (Bug#8068).

13 years agoMerge dired-x's dired-read-shell-command into dired-aux's version.
Glenn Morris [Sat, 19 Feb 2011 19:20:38 +0000 (11:20 -0800)]
Merge dired-x's dired-read-shell-command into dired-aux's version.

* lisp/dired-x.el (dired-read-shell-command): Merge into dired-aux's version.

* lisp/dired-aux.el (dired-read-shell-command): Merge dired-x's version.

* doc/misc/dired-x.texi (Technical Details):
No longer redefines dired-read-shell-command.

13 years agoMerge dired-x's dired-clean-up-after-deletion into dired's version.
Glenn Morris [Sat, 19 Feb 2011 18:55:15 +0000 (10:55 -0800)]
Merge dired-x's dired-clean-up-after-deletion into dired's version.

* lisp/dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.

* lisp/dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
(dired-clean-up-buffers-too): Declare.

* doc/misc/dired-x.texi (Technical Details):
No longer redefine dired-clean-up-after-deletion.

13 years agoFix msdos/sed3v2.inp. lib-src/ now builds.
Eli Zaretskii [Sat, 19 Feb 2011 17:54:18 +0000 (19:54 +0200)]
Fix msdos/sed3v2.inp.  lib-src/ now builds.

 sed3v2.inp (-DVERSION): Edit out.
 (LOADLIBES): Don't edit to empty.
 mainmake.v2 (lib, lib-src, src): Specify "all" as an explicit target.

13 years agoFix msdos/sedlibmk.inp. lib/ builds now.
Eli Zaretskii [Sat, 19 Feb 2011 17:35:11 +0000 (19:35 +0200)]
Fix msdos/sedlibmk.inp.  lib/ builds now.

 sedlibmk.inp (HAVE_GETOPT_H, PRAGMA_SYSTEM_HEADER, PRAGMA_COLUMNS): Fix
 editing.
 (DEFS): Edit to -DHAVE_CONFIG_H.
 (Makefile, &&): Fix removal.

13 years ago* Makefile.in (prefix-args${EXEEXT}): Compile with ALL_CFLAGS.
Chong Yidong [Sat, 19 Feb 2011 17:34:50 +0000 (12:34 -0500)]
* Makefile.in (prefix-args${EXEEXT}): Compile with ALL_CFLAGS.

See http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00715.html

13 years agoFix generation of auto-dependency files in lib/.
Eli Zaretskii [Sat, 19 Feb 2011 16:53:10 +0000 (18:53 +0200)]
Fix generation of auto-dependency files in lib/.

 .bzrignore: Add lib/deps/.
 config.bat: Generate *.Po files in lib/deps.
 msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Fix editing of *-clean
 rules.
 msdos/depfiles.bat: New file.

13 years agoUpdate .bzrignore for files produced by the MS-DOS build.
Eli Zaretskii [Sat, 19 Feb 2011 16:12:18 +0000 (18:12 +0200)]
Update .bzrignore for files produced by the MS-DOS build.

 .bzrignore: Ignore cxxdefs.h and lib/*.in-h files.

13 years agoCommit new Sed scripts in msdos/.
Eli Zaretskii [Sat, 19 Feb 2011 16:05:27 +0000 (18:05 +0200)]
Commit new Sed scripts in msdos/.

13 years agoInitial version of fix for the MS-DOS build, not yet tested.
Eli Zaretskii [Sat, 19 Feb 2011 15:57:35 +0000 (17:57 +0200)]
Initial version of fix for the MS-DOS build, not yet tested.

 config.bat: Configure in `lib'.
 msdos/sedlibmk.inp: New file.
 msdos/sedlibcf.inp: New file.
 msdos/sed1v2.inp (NS_OBJC_OBJ): Edit to empty.
 (@true): Edit to "@rem".
 (move-if-change): Edit to "update".
 (echo): Edit to "djecho".
 (cd $(lib) && ...): Edit to "$(MAKE) -C ...".
 msdos/mainmake.v2 (version): Remove, no longer needed (config.in
 defines VERSION).
 (all): Add lib.
 (lib): New target and recipe.
 (lib-src): Depend on lib.
 (src): Depend on lib and lib-src.
 (clean, mostlyclean, distclean, maintainer-clean, extraclean)
 (bootstrap-clean): Recurse into lib.
 msdos/sed2v2.inp: Remove workaround for the "#if ! HAVE_MKTIME ||
 BROKEN_MKTIME" stuff -- it's no longer in src/config.in.
 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
 (HAVE__BOOL): Edit to 1.
 (VERSION, inline, restrict): Edit for DJGPP.
 src/s/msdos.h (strtold): Define to _strtold.
 admin/admin.el (set-version): Add msdos/sed2v2.inp.

13 years agomerge emacs-23
Kenichi Handa [Sat, 19 Feb 2011 10:46:49 +0000 (19:46 +0900)]
merge emacs-23

13 years ago* deps.mk (fns.o): Depend on ../lib/md5.h.
Paul Eggert [Sat, 19 Feb 2011 09:51:59 +0000 (01:51 -0800)]
* deps.mk (fns.o): Depend on ../lib/md5.h.

13 years agonnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK" outputs from the server.
Gnus developers [Sat, 19 Feb 2011 09:45:07 +0000 (09:45 +0000)]
nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK" outputs from the server.
gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook later so that bbdb can hook in easier.

13 years agodired.el: Update autoloads.
Eli Zaretskii [Sat, 19 Feb 2011 09:35:15 +0000 (04:35 -0500)]
dired.el: Update autoloads.

13 years agoFix setting of buffer-file-coding-system for MIME message.
Kenichi Handa [Sat, 19 Feb 2011 09:22:24 +0000 (18:22 +0900)]
Fix setting of buffer-file-coding-system for MIME message.

13 years agoImport simpler crypto/md5 module from gnulib, plus stdint module.
Paul Eggert [Sat, 19 Feb 2011 07:28:29 +0000 (23:28 -0800)]
Import simpler crypto/md5 module from gnulib, plus stdint module.

* aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
* src/config.in: Regenerate.
* lib/md5.c, lib/md5.h: Regenerate with simpler version, which
assumes C99-style <stdint.h>, supplied by the stdint module.
* lib/stdint.in.h, m4/longlong.m4, m4/stdint.m4: New files,
generated from gnulib.
* src/deps.mk (fns.o): Do not depend on md5.h, fixing a typo in
the earlier patch.

13 years agoMerge from mainline.
Paul Eggert [Sat, 19 Feb 2011 06:25:05 +0000 (22:25 -0800)]
Merge from mainline.

13 years agoMerge dired-x's redefinition of dired-initial-position into the main version.
Glenn Morris [Sat, 19 Feb 2011 04:12:23 +0000 (20:12 -0800)]
Merge dired-x's redefinition of dired-initial-position into the main version.

* lisp/dired-x.el (dired-initial-position): Merge into dired.el's version.

* lisp/dired.el (dired-initial-position): Merge dired-x's version here.
(dired-find-subdir): Declare.

* doc/misc/dired-x.texi (Technical Details):
No longer redefines dired-initial-position.

13 years ago* doc/emacs/dired.texi (Dired): Dired-X version number was dropped.
Glenn Morris [Sat, 19 Feb 2011 04:06:40 +0000 (20:06 -0800)]
* doc/emacs/dired.texi (Dired): Dired-X version number was dropped.

13 years agoMerge dired-x's dired-add-entry modifications into the main definition.
Glenn Morris [Sat, 19 Feb 2011 03:53:35 +0000 (19:53 -0800)]
Merge dired-x's dired-add-entry modifications into the main definition.

* lisp/dired-aux.el (dired-add-entry): Give it a doc-string.
Merge dired-x's dired-omit handling here.
(dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.

* lisp/dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.

* doc/misc/dired-x.texi (Technical Details): No longer redefines
dired-add-entry.