bpt/emacs.git
13 years agoMerge from mainline.
Paul Eggert [Wed, 12 Jan 2011 05:57:19 +0000 (21:57 -0800)]
Merge from mainline.

13 years ago* admin/bzrmerge.el: Standardize copyright and license headers.
Glenn Morris [Wed, 12 Jan 2011 04:28:12 +0000 (20:28 -0800)]
* admin/bzrmerge.el: Standardize copyright and license headers.

13 years agoproto-stream.el (open-protocol-stream): Protect against the low-level transport funct...
Lars Magne Ingebrigtsen [Tue, 11 Jan 2011 23:32:50 +0000 (23:32 +0000)]
proto-stream.el (open-protocol-stream): Protect against the low-level transport functions returning nil.
gnus-sum.el (gnus-summary-next-article): Remove hack to reselect group window, because it does the wrong thing when a separate frame displays the group buffer.
gnus-int.el (gnus-request-accept-article): Don't try to update marks and stuff if the backend didn't return the article number.  This fixes an Exchange-related nnimap bug.
mm-decode.el (mm-preferred-alternative-precedence): Discourage showing empty parts.
nnimap.el (nnimap-convert-partial-article): Protect against zero-length body parts.

13 years ago* image.c (imagemagick_load_image, Finit_image_library): Free
Tassilo Horn [Tue, 11 Jan 2011 20:14:13 +0000 (21:14 +0100)]
* image.c (imagemagick_load_image, Finit_image_library): Free
intermediate image after creating a MagickWand from it.  Terminate
MagickWand environment after image loading.

13 years ago* lisp/emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
Johan Bockgård [Tue, 11 Jan 2011 18:42:30 +0000 (19:42 +0100)]
* lisp/emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.

13 years ago* lisp/progmodes/prolog.el: Fix up coding conventions and such.
Stefan Monnier [Tue, 11 Jan 2011 05:07:32 +0000 (00:07 -0500)]
* lisp/progmodes/prolog.el: Fix up coding conventions and such.
(prolog-indent-width): Use the same default as in
previous prolog.el rather than tab-width which depends on which buffer
is current when the file is loaded.
(prolog-electric-newline-flag): Only enable if electric-indent-mode
is not available.
(prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
(prolog-known-systems): Remove.
(prolog-mode-syntax-table, prolog-inferior-mode-map):
Move initialization into declaration.
(prolog-mode-map): Move initialization into declaration.
Remove system-specific mode-map vars, since they referred to the same
keymap anyway.
(prolog-mode-variables): Obey the user's preference w.r.t
adaptive-fill-mode.  Prefer symbol-value to `eval'.
(prolog-mode-keybindings-edit): Add compatibility bindings.
(prolog-mode): Use define-derived-mode.  Don't handle mercury here.
(mercury-mode-map): New var.
(mercury-mode, prolog-inferior-mode): Use define-derived-mode.
(prolog-ensure-process, prolog-process-insert-string)
(prolog-consult-compile): Use with-current-buffer.
(prolog-guess-fill-prefix): Simplify data flow.
(prolog-replace-in-string): New function to use instead of
replace-in-string.
(prolog-enable-sicstus-sd): Don't abuse `eval'.
(prolog-uncomment-region): Use `uncomment-region' when available.
(prolog-electric-colon, prolog-electric-dash): Use `eolp'.
(prolog-int-to-char, prolog-char-to-int): New functions to use instead
of int-to-char and char-to-int.
(prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.

13 years ago* lisp/progmodes/prolog.el: Replace by a whole new file.
Stefan Bruda [Tue, 11 Jan 2011 04:34:06 +0000 (23:34 -0500)]
* lisp/progmodes/prolog.el: Replace by a whole new file.

13 years ago* lisp/subr.el (eval-after-load): Fix timing for features.
Stefan Monnier [Tue, 11 Jan 2011 03:23:04 +0000 (22:23 -0500)]
* lisp/subr.el (eval-after-load): Fix timing for features.
(declare-function, undefined, insert-for-yank)
(replace-regexp-in-string): Follow checkdoc's recommendations.
* doc/lispref/loading.texi (Hooks for Loading): Adjust doc of eval-after-load.

Fixes: debbugs:7769

13 years ago* lisp/calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
Stefan Monnier [Mon, 10 Jan 2011 23:31:47 +0000 (18:31 -0500)]
* lisp/calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
refreshing the diary buffer.

13 years agoallout.el: Add 2011 to the file copyright.
Ken Manheimer [Mon, 10 Jan 2011 22:05:42 +0000 (17:05 -0500)]
allout.el: Add 2011 to the file copyright.
(allout-encrypt-string): Prevent encryption from adding an extra newline at
the end of the topic body.
(allout-version): Increment to 2.3.

13 years ago* dbusbind.c (Fdbus_register_service): Raise an error in case of
Michael Albinus [Mon, 10 Jan 2011 11:28:31 +0000 (12:28 +0100)]
* dbusbind.c (Fdbus_register_service): Raise an error in case of
unexpected return values.
(Fdbus_register_method): Remove connection initialization.

13 years ago* net/dbus.el (dbus-unregister-service): Complete doc. Fix
Michael Albinus [Mon, 10 Jan 2011 11:21:01 +0000 (12:21 +0100)]
* net/dbus.el (dbus-unregister-service): Complete doc.  Fix
call of dbus-error signal.

13 years ago* net/dbus.el (dbus-register-property): Use `dont-register' keyword.
Michael Albinus [Mon, 10 Jan 2011 10:53:13 +0000 (11:53 +0100)]
* net/dbus.el (dbus-register-property): Use `dont-register' keyword.

13 years ago* dbusbind.c (QCdbus_request_name_allow_replacement): New symbol;
Michael Albinus [Mon, 10 Jan 2011 09:56:17 +0000 (10:56 +0100)]
* dbusbind.c (QCdbus_request_name_allow_replacement): New symbol;
used by Fdbus_register_service.
(QCdbus_request_name_replace_existing): Likewise.
(QCdbus_request_name_do_not_queue): Likewise.
(QCdbus_request_name_reply_primary_owner): Likewise.
(QCdbus_request_name_reply_in_queue): Likewise.
(QCdbus_request_name_reply_exists): Likewise.
(QCdbus_request_name_reply_already_owner): Likewise.
(Fdbus_register_service): New function.
(Fdbus_register_method): Use Fdbus_register_service to do the name
registration.
(syms_of_dbusbind): Add symbols dbus-register-service,
:allow-replacement, :replace-existing, :do-not-queue,
:primary-owner, :existing, :in-queue and :already-owner.

13 years ago* net/dbus.el (dbus-unregister-service): Translate returned
Michael Albinus [Mon, 10 Jan 2011 09:46:19 +0000 (10:46 +0100)]
* net/dbus.el (dbus-unregister-service): Translate returned
integer into a symbol.
(dbus-register-property): Use `dbus-register-service' to do the
name registration.

13 years ago* NEWS: Add new function dbus-register-service.
Michael Albinus [Mon, 10 Jan 2011 09:40:20 +0000 (10:40 +0100)]
* NEWS: Add new function dbus-register-service.

13 years ago* dbus.texi (Receiving Method Calls): New function
Michael Albinus [Mon, 10 Jan 2011 09:35:44 +0000 (10:35 +0100)]
* dbus.texi (Receiving Method Calls): New function
dbus-register-service.  Rearrange node.

13 years agoImprovements to tango themes, including some faces from Jan Moringen.
Chong Yidong [Sun, 9 Jan 2011 21:35:53 +0000 (16:35 -0500)]
Improvements to tango themes, including some faces from Jan Moringen.

* themes/tango-theme.el, themes/tango-dark-theme.el: Let-bind
tango palette colors.  Only define faces for color displays.
Customize the ansi-color-names-vector variable.  Add Ediff,
Flyspell, and Semantic faces as suggested by Jan Moringen.

13 years agoMake org-link and idlwave-help-link inherit from link face.
Chong Yidong [Sun, 9 Jan 2011 21:24:07 +0000 (16:24 -0500)]
Make org-link and idlwave-help-link inherit from link face.
Suggested by Joakim Verona.

* lisp/org/org-faces.el (org-link):
* lisp/progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.

13 years ago* lisp/comint.el (comint-highlight-prompt): Inherit from minibuffer-prompt.
Chong Yidong [Sun, 9 Jan 2011 21:07:30 +0000 (16:07 -0500)]
* lisp/comint.el (comint-highlight-prompt): Inherit from minibuffer-prompt.

13 years agoFix 2010-03-12T22:56:30Z!cyd@stupidchicken.com change -- rename :on/off-image widget...
Chong Yidong [Sun, 9 Jan 2011 21:05:53 +0000 (16:05 -0500)]
Fix 2010-03-12T22:56:30Z!cyd@stupidchicken.com change -- rename :on/off-image widget props to :on/off-glyph.

* wid-edit.el (visibility): Replace :on-image and :off-image
widget properties with :on-glyph and :off-glyph, for consistency
with the `visibility' widget.
(widget-toggle-value-create, widget-visibility-value-create):
Merge into a single function `widget-toggle-value-create'.

* cus-edit.el (custom-variable-value-create, custom-visibility)
(custom-face-edit-value-create, custom-face-value-create): Replace
:on-image and :off-image widget properties with :on-glyph and
:off-glyph, for consistency with the `visibility' widget.

13 years agoUpdate dired.el
Andreas Schwab [Sun, 9 Jan 2011 19:34:20 +0000 (20:34 +0100)]
Update dired.el

13 years ago* lisp/net/ldap.el (ldap-search-internal): Don't use eval.
Andreas Schwab [Sun, 9 Jan 2011 19:34:19 +0000 (20:34 +0100)]
* lisp/net/ldap.el (ldap-search-internal): Don't use eval.

13 years agoAdd definition for `dired-directory' face.
Tassilo Horn [Sun, 9 Jan 2011 17:49:25 +0000 (18:49 +0100)]
Add definition for `dired-directory' face.

13 years ago* lisp/subr.el (read-char-choice): Use read-key. Suggested by Stefan.
Chong Yidong [Sun, 9 Jan 2011 14:26:29 +0000 (09:26 -0500)]
* lisp/subr.el (read-char-choice): Use read-key.  Suggested by Stefan.

* src/fns.c (Fyes_or_no_p): Minor doc fix.

13 years agoUpdate copyright notes to match recent gnulib-related changes.
Paul Eggert [Sun, 9 Jan 2011 08:42:24 +0000 (00:42 -0800)]
Update copyright notes to match recent gnulib-related changes.

* notes/copyright: Add aclocal.m4, m4/*.m4, lib/Makefile.in,
arg-nonnull.h, c++defs.h, compile, depcomp, missing,
warn-on-use.h, lib/*.[ch], lib/gnulib.mk.  Remove src/mktime.c,
lib-src/getopt1.c, lib-src/getopt_int.h (files are now in lib and
are subsumed by the lib/*.[ch] rule).  Remove m4/getopt.m4 (now
subsumed by m4/*.m4 rule).  config.guess, config.sub, and
doc/man/texinfo.tex are now copied in from gnulib.

13 years ago* .bzrignore: Add .h files that are host-dependent.
Paul Eggert [Sun, 9 Jan 2011 08:30:09 +0000 (00:30 -0800)]
* .bzrignore: Add .h files that are host-dependent.

Add lib/.deps/, lib/arg-nonnull.h, lib/c++defs.h, lib/getopt.h,
lib/time.h, lib/unistd.h, lib/warn-on-use.h.  These are
host-dependent and are built as part of an ordinary 'make', and
should not be checked in.

13 years agoGive a name FLOAT_TO_STRING_BUFSIZE to the constant 350.
Paul Eggert [Sun, 9 Jan 2011 08:21:21 +0000 (00:21 -0800)]
Give a name FLOAT_TO_STRING_BUFSIZE to the constant 350.

* lisp.h (FLOAT_TO_STRING_BUFSIZE): New macro.
* data.c (Fnumber_to_string): Use it.
* print.c (float_to_string, print_object): Likewise.

13 years agoInclude <unistd.h> unilaterally.
Paul Eggert [Sun, 9 Jan 2011 08:12:35 +0000 (00:12 -0800)]
Include <unistd.h> unilaterally.

13 years agoInclude <getopt.h> not "getopt.h".
Paul Eggert [Sun, 9 Jan 2011 08:00:02 +0000 (00:00 -0800)]
Include <getopt.h> not "getopt.h".

* ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
Since getopt.h is no longer in this directory, there's no point
using the form with double-quotes.

13 years ago* lib/Makefile.in: Regenerate.
Paul Eggert [Sun, 9 Jan 2011 07:46:17 +0000 (23:46 -0800)]
* lib/Makefile.in: Regenerate.

13 years ago* lib/COPYING: New file, a copy of COPYING.
Paul Eggert [Sun, 9 Jan 2011 07:43:55 +0000 (23:43 -0800)]
* lib/COPYING: New file, a copy of COPYING.

13 years ago* configure: Regenerate.
Paul Eggert [Sun, 9 Jan 2011 07:40:50 +0000 (23:40 -0800)]
* configure: Regenerate.

13 years ago* configure.in (AC_USE_SYSTEM_EXTENSIONS): Remove: gnulib does this.
Paul Eggert [Sun, 9 Jan 2011 07:40:01 +0000 (23:40 -0800)]
* configure.in (AC_USE_SYSTEM_EXTENSIONS): Remove: gnulib does this.

13 years agoRegenerate.
Paul Eggert [Sun, 9 Jan 2011 07:33:50 +0000 (23:33 -0800)]
Regenerate.

13 years agoUse gnulib's getopt-gnu module.
Paul Eggert [Sun, 9 Jan 2011 07:29:26 +0000 (23:29 -0800)]
Use gnulib's getopt-gnu module.

13 years agoremove file mistakenly committed
Paul Eggert [Sun, 9 Jan 2011 07:13:28 +0000 (23:13 -0800)]
remove file mistakenly committed

13 years agoRegenerate.
Paul Eggert [Sun, 9 Jan 2011 06:57:07 +0000 (22:57 -0800)]
Regenerate.

13 years agoRecord "safe themes" as sha1 hashes, as suggested by Stefan Monnier.
Chong Yidong [Sun, 9 Jan 2011 04:59:56 +0000 (23:59 -0500)]
Record "safe themes" as sha1 hashes, as suggested by Stefan Monnier.

* lisp/custom.el (custom-safe-themes): Rename from
custom-safe-theme-files.  Add :risky tag.
(load-theme, custom-theme-load-confirm): Save sha1 hashes to
custom-safe-themes, not filenames.  Suggested by Stefan Monnier.

13 years ago* mktime.c: Remove; moving to ../lib.
Paul Eggert [Sun, 9 Jan 2011 04:33:54 +0000 (20:33 -0800)]
* mktime.c: Remove; moving to ../lib.

13 years agoUse gnulib's mktime module.
Paul Eggert [Sun, 9 Jan 2011 04:31:19 +0000 (20:31 -0800)]
Use gnulib's mktime module.

13 years agoTweaks to tool-bar for default, VC-dir, Compile, and Info.
Chong Yidong [Sun, 9 Jan 2011 04:13:47 +0000 (23:13 -0500)]
Tweaks to tool-bar for default, VC-dir, Compile, and Info.

* tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
from Search and add a label to Undo.

* vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
inappropriate buttons and adding :vert-only tags.

* progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
removal of Help tool-bar button.  Remove Undo button for space.

* info.el (info-tool-bar-map): Add :vert-only tags.

13 years agoMinor fix to GTK tool-bar button refresh code.
Chong Yidong [Sun, 9 Jan 2011 03:29:49 +0000 (22:29 -0500)]
Minor fix to GTK tool-bar button refresh code.

* gtkutil.c (update_frame_tool_bar): Don't advance tool-bar index
when removing extra buttons.

13 years agoRegenerate.
Paul Eggert [Sun, 9 Jan 2011 01:20:28 +0000 (17:20 -0800)]
Regenerate.

13 years agoUse gnulib's ftoastr module.
Paul Eggert [Sun, 9 Jan 2011 01:18:39 +0000 (17:18 -0800)]
Use gnulib's ftoastr module.

13 years ago* doc-view.el (doc-view-mode-p): Check for png or imagemagick
Tassilo Horn [Sat, 8 Jan 2011 22:57:07 +0000 (23:57 +0100)]
* doc-view.el (doc-view-mode-p): Check for png or imagemagick
image backend support.  Either of them is fine.

13 years ago* lisp/files.el (directory-abbrev-alist): Minor doc fix (Bug#7777).
Chong Yidong [Sat, 8 Jan 2011 21:22:19 +0000 (16:22 -0500)]
* lisp/files.el (directory-abbrev-alist): Minor doc fix (Bug#7777).
* doc/lispref/files.texi: Likewise.

13 years agoRegenerate.
Paul Eggert [Sat, 8 Jan 2011 21:19:44 +0000 (13:19 -0800)]
Regenerate.

* aclocal.m4, compile, depcomp, lib/Makefile.in, lib/dummy.c:
* lib/gnulib.mk, m4/00gnulib.m4, m4/gnulib-cache.m4:
* m4/gnulib-common.m4, m4/gnulib-comp.m4, m4/gnulib-tool.m4, missing:
New files, generated automatically, with 'make sync-from-gnulib'
followed by 'make'.
* configure, lisp/dired.el, src/config.in: Regenerate.

13 years agoDoc fix for y-or-n-p and yes-or-no-p.
Chong Yidong [Sat, 8 Jan 2011 21:17:58 +0000 (16:17 -0500)]
Doc fix for y-or-n-p and yes-or-no-p.

* subr.el (y-or-n-p): Doc fix.
* fns.c (Fyes_or_no_p): Doc fix.

13 years agoAutomate syncing from gnulib.
Paul Eggert [Sat, 8 Jan 2011 21:02:38 +0000 (13:02 -0800)]
Automate syncing from gnulib.

13 years agoLoad themes using `load', querying if theme file not known safe.
Chong Yidong [Sat, 8 Jan 2011 19:19:55 +0000 (14:19 -0500)]
Load themes using `load', querying if theme file not known safe.

* custom.el (custom-safe-theme-files): New defcustom.
(custom-theme-load-confirm): New function.
(load-theme): Load theme using `load', confirming with
custom-theme-load-confirm if necessary.

13 years agoNew function read-char-choice for reading a restricted set of chars.
Chong Yidong [Sat, 8 Jan 2011 19:17:23 +0000 (14:17 -0500)]
New function read-char-choice for reading a restricted set of chars.

* lisp/subr.el (read-char-choice): New function, factored out from
dired-query and hack-local-variables-confirm.

* lisp/dired-aux.el (dired-query):
* lisp/files.el (hack-local-variables-confirm): Use it.

13 years ago* Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
Paul Eggert [Sat, 8 Jan 2011 19:03:31 +0000 (11:03 -0800)]
* Makefile.in (EXECUTABLES): Remove; macro unused since 1993.

13 years agoChange dev-tsdh-dark/dev-tsdh-light theme names to tsdh-dark/tsdh-light,
Chong Yidong [Sat, 8 Jan 2011 17:57:55 +0000 (12:57 -0500)]
Change dev-tsdh-dark/dev-tsdh-light theme names to tsdh-dark/tsdh-light,
to fit file names.

13 years ago* src/fns.c (Fyes_or_no_p): Add usage.
Andreas Schwab [Sat, 8 Jan 2011 13:32:31 +0000 (14:32 +0100)]
* src/fns.c (Fyes_or_no_p): Add usage.

13 years ago* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist)
Andreas Schwab [Sat, 8 Jan 2011 13:32:31 +0000 (14:32 +0100)]
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist)
[gnu]: Remove unused group.

13 years agoFixes: debbugs:7806
Andreas Schwab [Sat, 8 Jan 2011 13:31:26 +0000 (14:31 +0100)]
Fixes: debbugs:7806

* etc/compilation.txt: Add column to gcc-include sample.

* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist)
[gcc-include]: Tighten file name match, add match for column
number.

13 years agoAdd --no-site-lisp to more Makefiles.
Glenn Morris [Sat, 8 Jan 2011 02:53:50 +0000 (18:53 -0800)]
Add --no-site-lisp to more Makefiles.

* leim/makefile.w32-in (RUN_EMACS):
* leim/Makefile.in (RUN-EMACS): Add --no-site-lisp.

* lib-src/Makefile.in (EMACSOPT): Add --no-site-lisp.

* lisp/makefile.w32-in (EMACSOPT): Add --no-site-lisp.

13 years ago-batch implies -q.
Glenn Morris [Sat, 8 Jan 2011 02:49:27 +0000 (18:49 -0800)]
-batch implies -q.

* etc/PROBLEMS: -batch implies -q.

* msdos/sedleim.inp (RUN-EMACS): -batch imples --no-init-file.

13 years agoIn Makefiles, -batch implies -q.
Glenn Morris [Sat, 8 Jan 2011 02:41:14 +0000 (18:41 -0800)]
In Makefiles, -batch implies -q.

* leim/makefile.w32-in (RUN_EMACS):
* leim/Makefile.in (RUN-EMACS): -batch implies --no-init-file.

* lisp/makefile.w32-in (EMACSOPT): -batch implies --no-init-file.

* src/makefile.w32-in ($(EMACS)):
* src/Makefile.in (emacs$(EXEEXT)): -batch implies -q.

13 years ago* lib-src/Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
Glenn Morris [Sat, 8 Jan 2011 02:34:26 +0000 (18:34 -0800)]
* lib-src/Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.

13 years agoFix bug#7750.
Glenn Morris [Sat, 8 Jan 2011 02:31:57 +0000 (18:31 -0800)]
Fix bug#7750.
* src/xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here...
* src/emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.

13 years agoFix some resource leaks in ImageMagick image loader
Andreas Schwab [Fri, 7 Jan 2011 22:33:32 +0000 (23:33 +0100)]
Fix some resource leaks in ImageMagick image loader

* src/image.c (imagemagick_load_image): Fix some resource leaks and
error handling.

13 years ago* install-sh, mkinstalldirs, move-if-change: Update from master
Paul Eggert [Fri, 7 Jan 2011 20:42:11 +0000 (12:42 -0800)]
* install-sh, mkinstalldirs, move-if-change: Update from master

13 years ago* texinfo.tex: Update to version 2010-12-23.17 from gnulib,
Paul Eggert [Fri, 7 Jan 2011 19:49:15 +0000 (11:49 -0800)]
* texinfo.tex: Update to version 2010-12-23.17 from gnulib,

which in turn is copied from ftp://tug.org/tex/.

13 years ago* config.guess, config.sub: Updated from master source.
Paul Eggert [Fri, 7 Jan 2011 19:39:48 +0000 (11:39 -0800)]
* config.guess, config.sub: Updated from master source.

13 years agonotes/copyright: Report status more accurately for non-GPL files.
Paul Eggert [Fri, 7 Jan 2011 19:26:23 +0000 (11:26 -0800)]
notes/copyright: Report status more accurately for non-GPL files.

13 years ago* notes/copyright: Report status more accurately for non-GPL files.
Paul Eggert [Fri, 7 Jan 2011 19:23:35 +0000 (11:23 -0800)]
* notes/copyright: Report status more accurately for non-GPL files.

Report copyright status more accurately for mkinstalldirs,
configure, m4/getopt.m4, and msdos/sed*.inp.

13 years ago* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
Sam Steingold [Fri, 7 Jan 2011 19:07:29 +0000 (14:07 -0500)]
* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
the `explicit-shell-file-name' because that is the non-interactive shell.

13 years agoAllow format args for y-or-n-p and yes-or-no-p.
Chong Yidong [Fri, 7 Jan 2011 17:34:02 +0000 (12:34 -0500)]
Allow format args for y-or-n-p and yes-or-no-p.

* lisp/subr.el (y-or-n-p): Accept format string args.
* src/fns.c (Fyes_or_no_p): Accept format string args.

13 years agoUse __builtin_unwind_init in the MSDOS build.
Eli Zaretskii [Fri, 7 Jan 2011 10:47:44 +0000 (12:47 +0200)]
Use __builtin_unwind_init in the MSDOS build.

 msdos/sed2v2.inp (HAVE___BUILTIN_UNWIND_INIT): Define.

13 years ago* themes/tsdh-light-theme.el, themes/tsdh-dark-theme.el: Remove
Tassilo Horn [Fri, 7 Jan 2011 10:39:54 +0000 (11:39 +0100)]
* themes/tsdh-light-theme.el, themes/tsdh-dark-theme.el: Remove
dev-prefix from file names, so that the files don't clash on 8x3
filesystems.

13 years agoUse __builtin_unwind_init in MinGW builds of w32 port.
Eli Zaretskii [Fri, 7 Jan 2011 10:16:20 +0000 (12:16 +0200)]
Use __builtin_unwind_init in MinGW builds of w32 port.

 config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.

13 years agognus/mml2015.el: Fix secret key validity check (Bug#7797).
Daiki Ueno [Fri, 7 Jan 2011 09:28:29 +0000 (18:28 +0900)]
gnus/mml2015.el: Fix secret key validity check (Bug#7797).

* mml2015.el (epg-sub-key-fingerprint): Autoload.
(mml2015-epg-find-usable-secret-key): New function.
(mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of
mml2015-epg-find-usable-key (Bug#7797).
(mml2015-epg-encrypt): Ditto.

13 years agoAdd --no-site-lisp option, make -Q use it. (Bug#5707)
Glenn Morris [Fri, 7 Jan 2011 03:10:39 +0000 (19:10 -0800)]
Add --no-site-lisp option, make -Q use it.  (Bug#5707)

* lisp/Makefile.in (EMACSOPT): Add --no-site-lisp.

* src/emacs.c (no_site_lisp): New int.
(USAGE1): Add --no-site-lisp, mention -Q uses it.
(main): Set no_site_lisp.
(standard_args): Add --no-site-lisp.

* src/lisp.h (no_site_lisp): New int.

* src/lread.c (init_lread): If no_site_lisp, don't re-add site-lisp
directories to Vload_path.

* etc/NEWS: Mention --no-site-lisp.

13 years agoChangeLog fix.
Glenn Morris [Fri, 7 Jan 2011 03:04:21 +0000 (19:04 -0800)]
ChangeLog fix.

13 years ago* themes/dev-tsdh-light-theme.el (dev-tsdh-light): New theme.
Tassilo Horn [Thu, 6 Jan 2011 07:35:47 +0000 (08:35 +0100)]
* themes/dev-tsdh-light-theme.el (dev-tsdh-light): New theme.
* themes/dev-tsdh-dark-theme.el (dev-tsdh-dark): New theme.

13 years agoallout.el: (allout-back-to-current-heading): Ensure return to the visible
Ken Manheimer [Thu, 6 Jan 2011 07:19:05 +0000 (02:19 -0500)]
allout.el: (allout-back-to-current-heading): Ensure return to the visible
containing topic, rather than a collapsed one.
(allout-view-change-hook): Remove hook that was deprecated long ago.
(allout-exposure-change-hook): Remove documentation remarks concerning
removed allout-view-change-hook.
(allout-flag-region): Remove invocation of and documentation remarks
concerning allout-view-change-hook.

13 years agovc-bzr fix for bug #7792.
Glenn Morris [Thu, 6 Jan 2011 05:14:54 +0000 (21:14 -0800)]
vc-bzr fix for bug #7792.

* lisp/vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
(vc-bzr-annotate-extract-revision-at-line):
Handle authors with embedded spaces.

13 years agoFix bug in doc-view-enlarge.
Tassilo Horn [Wed, 5 Jan 2011 21:54:23 +0000 (22:54 +0100)]
Fix bug in doc-view-enlarge.

13 years ago* doc-view.el (doc-view-image-width): New variable.
Tassilo Horn [Wed, 5 Jan 2011 21:17:51 +0000 (22:17 +0100)]
* doc-view.el (doc-view-image-width): New variable.
(doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
backend for PNG images, and do dynamic rescaling instead of
reconverting the whole doc.

13 years agoUse __builtin_unwind_init if available
Andreas Schwab [Wed, 5 Jan 2011 13:09:07 +0000 (14:09 +0100)]
Use __builtin_unwind_init if available

* configure.in: Check for __builtin_unwind_init.

* src/alloc.c (mark_stack): Use __builtin_unwind_init if available.

13 years agoRegenerate configure.
Glenn Morris [Wed, 5 Jan 2011 07:11:57 +0000 (23:11 -0800)]
Regenerate configure.

13 years agoDon't use $MAKEINFO for both a flag and a program.
Glenn Morris [Wed, 5 Jan 2011 07:10:47 +0000 (23:10 -0800)]
Don't use $MAKEINFO for both a flag and a program.

* configure.in (HAVE_MAKEINFO): New output variable.
(MAKEINFO): Reset to "makeinfo" if not found.

* Makefile.in (install-arch-indep, info):
Replace MAKEINFO = off with HAVE_MAKEINFO = no.

13 years ago* lisp/emacs-lisp/rx.el (rx-repeat): Replace CL function.
Glenn Morris [Wed, 5 Jan 2011 07:04:51 +0000 (23:04 -0800)]
* lisp/emacs-lisp/rx.el (rx-repeat): Replace CL function.

13 years agoChangeLog fix.
Glenn Morris [Wed, 5 Jan 2011 07:03:21 +0000 (23:03 -0800)]
ChangeLog fix.

13 years agoInclude recent allout.el changes, and add missing '*' asterisk to my
Ken Manheimer [Tue, 4 Jan 2011 19:50:21 +0000 (14:50 -0500)]
Include recent allout.el changes, and add missing '*' asterisk to my
previous two ChangeLog entries.

13 years agoReconcile with changes in line movement behavior for long text lines
Ken Manheimer [Tue, 4 Jan 2011 19:44:10 +0000 (14:44 -0500)]
Reconcile with changes in line movement behavior for long text lines
that cross more than a single physical window line, ie when truncate-lines
is nil.

(allout-next-visible-heading): Provide for change in line-move behavior on
long lines when truncate-lines is nil.  In that case, line-move can wind up
on the same textual line when it moves to the next window line, and moving
to the bullet position after the move yields zero advancement.  Add logic
to detect and compensate for the lack of progress.

(allout-current-topic-collapsed-p): move-end-of-line respect for field
boundaries is different when operating with body lines shorter than window
width versus ones greater than window width, which can yield false
negatives in this function.  Avoid difference by applying move-end-of-line
while field-text-motion is inhibited.

13 years ago* lisp/textmodes/rst.el (rst-compile-toolsets): Add pdf and s5 to option alist.
Glenn Morris [Tue, 4 Jan 2011 17:04:10 +0000 (09:04 -0800)]
* lisp/textmodes/rst.el (rst-compile-toolsets): Add pdf and s5 to option alist.

13 years agoRestore clobbered NEWS change.
Glenn Morris [Tue, 4 Jan 2011 16:57:45 +0000 (08:57 -0800)]
Restore clobbered NEWS change.

13 years ago* NEWS: Revert change in libxml-* functions, which was applied by
Michael Albinus [Tue, 4 Jan 2011 13:00:11 +0000 (14:00 +0100)]
* NEWS: Revert change in libxml-* functions, which was applied by
previous patch accidently.

13 years ago* NEWS: Extended behaviour of dbus-register-{method,property}.
Michael Albinus [Tue, 4 Jan 2011 12:44:17 +0000 (13:44 +0100)]
* NEWS: Extended behaviour of dbus-register-{method,property}.

13 years ago* dbus.texi (Receiving Method Calls): Describe new optional
Michael Albinus [Tue, 4 Jan 2011 12:38:33 +0000 (13:38 +0100)]
* dbus.texi (Receiving Method Calls): Describe new optional
parameter dont-register-service of dbus-register-{method,property}.

13 years ago* dbusbind.c (Fdbus_register_method): Added optional parameter
Michael Albinus [Tue, 4 Jan 2011 11:11:43 +0000 (12:11 +0100)]
* dbusbind.c (Fdbus_register_method): Added optional parameter
dont_register_service.  Updated docstring accordingly.

13 years ago* net/dbus.el (dbus-register-property): Added optional parameter
Michael Albinus [Tue, 4 Jan 2011 10:57:24 +0000 (11:57 +0100)]
* net/dbus.el (dbus-register-property): Added optional parameter
dont-register-service.  Updated docstring accordingly.

13 years ago* lisp/textmodes/rst.el (rst-compile-pdf-preview)
Andreas Schwab [Tue, 4 Jan 2011 10:09:13 +0000 (11:09 +0100)]
* lisp/textmodes/rst.el (rst-compile-pdf-preview)
(rst-compile-slides-preview): Remove extra line.

13 years agoSmall rst.el stuff.
Glenn Morris [Tue, 4 Jan 2011 04:47:39 +0000 (20:47 -0800)]
Small rst.el stuff.

* lisp/textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
default to `prog' without a .py extension.
(rst-compile-pdf-preview, rst-compile-slides-preview):
Use program names from rst-compile-toolsets, rather than hard-coding.
(rst-portable-mark-active-p): Fix presumed typo.

13 years ago* src/emacs.c (emacs_copyright): Update short copyright year to 2011.
Glenn Morris [Tue, 4 Jan 2011 04:42:43 +0000 (20:42 -0800)]
* src/emacs.c (emacs_copyright): Update short copyright year to 2011.

13 years agoflow-fill.el (fill-flowed-encode): Do encoding citation-aware.
Lars Magne Ingebrigtsen [Tue, 4 Jan 2011 02:24:15 +0000 (02:24 +0000)]
flow-fill.el (fill-flowed-encode): Do encoding citation-aware.
gnus-art.el (gnus-treat-fill-long-lines): Add missing version tag.
gnus-msg.el (gnus-message-replyencrypt): Fix typo in version string.

13 years agoadd neglected allout.el ChangeLog entries to ChangeLog.
Ken Manheimer [Mon, 3 Jan 2011 20:50:05 +0000 (15:50 -0500)]
add neglected allout.el ChangeLog entries to ChangeLog.