bpt/emacs.git
13 years agoReduce some of the many, many variant spellings of NeXTstep.
Glenn Morris [Thu, 3 Mar 2011 08:03:01 +0000 (00:03 -0800)]
Reduce some of the many, many variant spellings of NeXTstep.

http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00986.html

13 years agoInfo-gnustep.plist trivia.
Glenn Morris [Thu, 3 Mar 2011 07:57:49 +0000 (23:57 -0800)]
Info-gnustep.plist trivia.

* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Refer to etc/NEXTSTEP rather than emacs-app.sf.net.

13 years ago* lisp/vc/vc-rcs.el: Remove some ancient comments.
Glenn Morris [Thu, 3 Mar 2011 07:52:10 +0000 (23:52 -0800)]
* lisp/vc/vc-rcs.el: Remove some ancient comments.

Anyone using rcs < 5.6.2 in 2011 probably has a functioning time
machine, so does not need hand-holding.

13 years agovc-dir fix for bug#7349.
Bob Rogers [Thu, 3 Mar 2011 07:33:35 +0000 (23:33 -0800)]
vc-dir fix for bug#7349.

* lisp/vc/vc-dir.el (vc-dir-mode-map):
Bind vc-dir-find-file to e, like in dired.

13 years agovc-svn fix for bug#7663 on MS Windows. (tiny change)
Vagn Johansen [Thu, 3 Mar 2011 07:27:52 +0000 (23:27 -0800)]
vc-svn fix for bug#7663 on MS Windows.  (tiny change)

* lisp/vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
programs output backslashes.

13 years ago* url.texi (Configuration): Update url-configuration-directory description.
Glenn Morris [Thu, 3 Mar 2011 07:19:54 +0000 (23:19 -0800)]
* url.texi (Configuration): Update url-configuration-directory description.

13 years agourl.texi doc fix for bug#6038.
Glenn Morris [Thu, 3 Mar 2011 07:14:16 +0000 (23:14 -0800)]
url.texi doc fix for bug#6038.

* doc/misc/url.texi (Dealing with HTTP documents): Remove reference to
function url-decode-text-part; never seems to have existed in any version.

13 years agosendmail.el fix for bug#1776.
Glenn Morris [Thu, 3 Mar 2011 07:08:22 +0000 (23:08 -0800)]
sendmail.el fix for bug#1776.

* lisp/mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
(mail-mode): Remove mail-sent-via from the doc.
(mail-sent-via): Make it obsolete.

13 years agoFix typo in previous NEWS change.
Glenn Morris [Thu, 3 Mar 2011 07:03:36 +0000 (23:03 -0800)]
Fix typo in previous NEWS change.

13 years ago* etc/NEWS: Mention emacsclient -q.
Glenn Morris [Thu, 3 Mar 2011 07:01:32 +0000 (23:01 -0800)]
* etc/NEWS: Mention emacsclient -q.

13 years agoAdd --quiet option for emacsclient (bug#663) (tiny change)
Drake Wilson [Thu, 3 Mar 2011 07:00:23 +0000 (23:00 -0800)]
Add --quiet option for emacsclient (bug#663)  (tiny change)

* lib-src/emacsclient.c (longopts): Add quiet.
(decode_options): Handle q/quiet.
(print_help_and_exit): Add q/quiet.
(main): Suppress some messages if quiet option is used.

* doc/emacs/misc.texi (emacsclient Options): Add q/quiet.

13 years agogrep.el fix for bug#8084.
Glenn Morris [Thu, 3 Mar 2011 06:39:11 +0000 (22:39 -0800)]
grep.el fix for bug#8084.

* lisp/progmodes/grep.el (grep-highlight-matches): Doc fix.
(grep-process-setup): No highlighting without font-lock.

13 years agovc-bzr fix for bug#8025.
Glenn Morris [Thu, 3 Mar 2011 06:25:21 +0000 (22:25 -0800)]
vc-bzr fix for bug#8025.

* lisp/vc/vc-bzr.el (vc-bzr-state-heuristic):
Handle dirstate entries with no parents.

13 years ago* sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.
Ken Brown [Wed, 2 Mar 2011 21:30:51 +0000 (16:30 -0500)]
* sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.

13 years agoComment fix.
Glenn Morris [Wed, 2 Mar 2011 17:19:01 +0000 (09:19 -0800)]
Comment fix.

13 years agoFix previous dired-x.el change.
Glenn Morris [Wed, 2 Mar 2011 17:12:43 +0000 (09:12 -0800)]
Fix previous dired-x.el change.

13 years agognus-art.el (gnus-with-article-buffer): Fix buffer live check.
Julien Danjou [Wed, 2 Mar 2011 12:34:12 +0000 (12:34 +0000)]
gnus-art.el (gnus-with-article-buffer): Fix buffer live check.

13 years agoUpdate autoloads
Andreas Schwab [Wed, 2 Mar 2011 10:42:47 +0000 (11:42 +0100)]
Update autoloads

13 years agoDoc fix for bug#8148.
Glenn Morris [Wed, 2 Mar 2011 08:53:23 +0000 (00:53 -0800)]
Doc fix for bug#8148.

* doc/emacs/mule.texi (Communication Coding) <x-select-request-type>:
Remove duplicate (essentially) paragraph.

13 years agoAdd some dired-x support for local filenames with Red Hat's man.
Glenn Morris [Wed, 2 Mar 2011 08:31:47 +0000 (00:31 -0800)]
Add some dired-x support for local filenames with Red Hat's man.

* lisp/man.el (Man-support-local-filenames): Also handle Red Hat's man.

* lisp/dired-x.el (Man-support-local-filenames): Autoload it.
(dired-guess-shell-alist-default): Also handle Red Hat's man.

13 years agoMake dired-default-directory obsolete.
Glenn Morris [Wed, 2 Mar 2011 07:59:02 +0000 (23:59 -0800)]
Make dired-default-directory obsolete.

As far as I can tell, it was never used outside of dired-smart-shell-command.
It doesn't seem worth keeping around as a separate function.

* lisp/dired-x.el (dired-default-directory-alist, dired-default-directory):
Mark as obsolete.
(dired-smart-shell-command): Just call dired-current-directory.

* doc/misc/dired-x.texi (Multiple Dired Directories): Remove mentions
of dired-default-directory-alist and dired-default-directory.
Move dired-smart-shell-command here...
(Miscellaneous Commands): ... from here.

13 years agodired-x trivia.
Glenn Morris [Wed, 2 Mar 2011 07:44:33 +0000 (23:44 -0800)]
dired-x trivia.

* lisp/dired-x.el (dired-jump-other-window): Add autoload.
(dired-default-directory-alist, dired-default-directory): Doc fixes.
(dired-default-directory-alist): Mark as risky.

13 years ago* texinfo.tex: Update to version 2011-02-24.09.
Paul Eggert [Wed, 2 Mar 2011 06:07:30 +0000 (22:07 -0800)]
* texinfo.tex: Update to version 2011-02-24.09.

13 years agoMerge: Work around some portability problems with symlinks.
Paul Eggert [Wed, 2 Mar 2011 05:25:09 +0000 (21:25 -0800)]
Merge: Work around some portability problems with symlinks.

13 years agoMerge from mainline.
Paul Eggert [Wed, 2 Mar 2011 04:40:07 +0000 (20:40 -0800)]
Merge from mainline.

13 years agoMake dired-omit-here-always obsolete, in favor of standard function.
Glenn Morris [Wed, 2 Mar 2011 04:13:57 +0000 (20:13 -0800)]
Make dired-omit-here-always obsolete, in favor of standard function.

* lisp/dired-x.el (dired-omit-here-always): Make it obsolete.

* doc/misc/dired-x.texi (Omitting Variables): Refer to add-dir-local-variable
instead of the obsoleted dired-omit-here-always.

13 years agoAdd a menu-bar entry for Artist mode.
Chong Yidong [Wed, 2 Mar 2011 03:48:01 +0000 (22:48 -0500)]
Add a menu-bar entry for Artist mode.

* lisp/textmodes/artist.el (artist-curr-go): Default to pen-line.
(artist-select-op-pen-line): New function.
(artist-menu-map): New variable.
(artist-mode-map): Add a menu to the menu-bar.

13 years ago* calc/calc-math.el (calcFunc-log10): Check for symbolic mode
Jay Belanger [Wed, 2 Mar 2011 03:07:34 +0000 (21:07 -0600)]
* calc/calc-math.el (calcFunc-log10): Check for symbolic mode
  when evaluating.

* calc/calc-units.el (math-conditional-apply, math-conditional-pow):
  New function.
  (math-logunits-add, math-logunits-mul, math-logunits-divide):
  (math-logunits-quant, math-logunits-level): Use
  `math-conditional-apply' and `math-conditional-pow' to evaluate
  functions.
  (math-logunits-level): Extract units from ratio.

13 years agoMerge from mainline.
Paul Eggert [Wed, 2 Mar 2011 01:52:03 +0000 (17:52 -0800)]
Merge from mainline.

13 years agoRemove superfluous Tramp entries.
Michael Albinus [Tue, 1 Mar 2011 15:18:53 +0000 (16:18 +0100)]
Remove superfluous Tramp entries.

13 years agognus-art.el (list-identifier): Add list-identifier as a parameter group.
Julien Danjou [Tue, 1 Mar 2011 14:32:24 +0000 (14:32 +0000)]
gnus-art.el (list-identifier): Add list-identifier as a parameter group.
 (article-hide-list-identifiers): Use list-identifier group parameter.

13 years agoMerge changes made in Gnus trunk.
Julien Danjou [Tue, 1 Mar 2011 12:20:17 +0000 (12:20 +0000)]
Merge changes made in Gnus trunk.

sieve.el (sieve-buffer-script-name): New local variable to store sieve script name.
 (sieve-edit-script): Store sieve script name.
 (sieve-upload): Use sieve script name when uploading.
 (sieve-upload): Use substitute-command-keys.
 (sieve-edit-script): Use substitute-command-keys.
 (sieve-refresh-scriptlist): Use substitute-command-keys.
 (sieve-manage-mode-map): Define keymap properly.
 (sieve-manage-mode): Do not set mode name manually, change mode-name to
 (sieve-refresh-scriptlist): Use substitute-command-keys."Sieve-manage".  Remove commented code about cvs.
 (sieve-manage-quit): New function.
 (sieve-manage-mode-map): Bind 'q' to sieve-manage-quit.
gnus-gravatar.el: Use gnus-with-article-buffer.
gnus-art.el (gnus-with-article-buffer): Check that the gnus-article-buffer is alive.

13 years ago* lisp/files: Fix comment typo.
Glenn Morris [Tue, 1 Mar 2011 04:26:38 +0000 (20:26 -0800)]
* lisp/files: Fix comment typo.

13 years agoRemove some duplicated tramp ChangeLog entries.
Glenn Morris [Tue, 1 Mar 2011 04:20:37 +0000 (20:20 -0800)]
Remove some duplicated tramp ChangeLog entries.
I guess the same changes were applied to emacs-23 and trunk separately.
More duplicates remain.

13 years ago* maintaining.texi (Format of ChangeLog): Add reference to add-log-full-name.
Christoph Scholtes [Tue, 1 Mar 2011 04:14:00 +0000 (21:14 -0700)]
* maintaining.texi (Format of ChangeLog): Add reference to add-log-full-name.
(Change Log Commands): Add documentation for combining multiple symbols in one change.

13 years agolisp/emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
Juanma Barranquero [Tue, 1 Mar 2011 03:59:31 +0000 (04:59 +0100)]
lisp/emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.

13 years ago* lisp/calendar/cal-hebrew.el (diary-ordinal-suffix): Declare.
Glenn Morris [Tue, 1 Mar 2011 03:53:18 +0000 (19:53 -0800)]
* lisp/calendar/cal-hebrew.el (diary-ordinal-suffix): Declare.

13 years ago* lisp/files.el: Comment.
Glenn Morris [Tue, 1 Mar 2011 03:43:14 +0000 (19:43 -0800)]
* lisp/files.el: Comment.

13 years ago* admin/notes/bzr: Tiny addition.
Glenn Morris [Tue, 1 Mar 2011 03:41:05 +0000 (19:41 -0800)]
* admin/notes/bzr: Tiny addition.

13 years agoRework previous cal-hebrew change.
Glenn Morris [Tue, 1 Mar 2011 03:38:41 +0000 (19:38 -0800)]
Rework previous cal-hebrew change.

* lisp/calendar/cal-hebrew.el (calendar-hebrew-birthday, diary-hebrew-date):
Rename and rework functions added in previous change.

* etc/NEWS: Mention diary-hebrew-birthday.

13 years agoAdd some new cal-hebrew functions.
Ed Reingold [Tue, 1 Mar 2011 03:32:05 +0000 (19:32 -0800)]
Add some new cal-hebrew functions.

* lisp/calendar/cal-hebrew.el (hebrew-calendar-birthday, diary-hebrew-birthday):
New functions.

13 years agoGive dired-actual-switches a safe-local-variable property. (Bug#3230)
Glenn Morris [Tue, 1 Mar 2011 03:25:24 +0000 (19:25 -0800)]
Give dired-actual-switches a safe-local-variable property.  (Bug#3230)

* lisp/dired.el (dired-safe-switches-p): Beef it up.
(dired-actual-switches): Use it for the safe-local-variable property.

13 years ago* lisp/dired.el (dired-safe-switches-p): New function. (Bug#3230)
Stefan Monnier [Tue, 1 Mar 2011 03:10:11 +0000 (19:10 -0800)]
* lisp/dired.el (dired-safe-switches-p): New function.  (Bug#3230)

13 years agoAdd the ability to exclude dir-locals from subdirs. (Bug#8100)
Glenn Morris [Tue, 1 Mar 2011 03:05:28 +0000 (19:05 -0800)]
Add the ability to exclude dir-locals from subdirs.  (Bug#8100)

* lisp/files.el (dir-locals-collect-variables):
Add the ability to exclude subdirectories.

* doc/emacs/custom.texi (Directory Variables):
Give an example of excluding subdirectories.

* doc/lispref/variables.texi (Directory Local Variables):
Mention `(subdirs . nil)' alist element.

* etc/NEWS: Mention this addition.

* lisp/dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.

13 years ago* ido.el (ido-everywhere): Doc fix.
Christoph Scholtes [Mon, 28 Feb 2011 20:25:50 +0000 (13:25 -0700)]
* ido.el (ido-everywhere): Doc fix.
(ido-mode): Doc fix.

13 years ago* lisp/dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
Glenn Morris [Mon, 28 Feb 2011 17:42:03 +0000 (09:42 -0800)]
* lisp/dired-x.el (dired-guess-shell-alist-default): Use \\', not $.

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.