Chong Yidong [Thu, 10 Mar 2011 21:51:26 +0000 (16:51 -0500)]
Fix package-strip-rcs-id to be more robust.
See http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00396.html
* lisp/emacs-lisp/package.el (package-strip-rcs-id): Accept any version
string that does not signal an error in version-to-list.
Teodor Zlatanov [Thu, 10 Mar 2011 13:32:49 +0000 (13:32 +0000)]
auth-source.el (auth-source-read-char-choice): Remove `dropdown-list'.
(auth-source-pick-first-password): New convenience function.
Michael Albinus [Thu, 10 Mar 2011 11:28:33 +0000 (12:28 +0100)]
* simple.el (delete-trailing-whitespace): Return nil for the
benefit of `write-file-functions'.
Glenn Morris [Thu, 10 Mar 2011 08:32:27 +0000 (00:32 -0800)]
* lisp/vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
Glenn Morris [Thu, 10 Mar 2011 08:26:41 +0000 (00:26 -0800)]
Add `vc-git-program' option; suggested on emacs-devel.
* lisp/vc/vc-git.el (vc-git-program): New option.
(vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
(vc-git--call): Use it.
Glenn Morris [Thu, 10 Mar 2011 07:16:04 +0000 (23:16 -0800)]
* lisp/eshell/esh-util.el (eshell-condition-case): Doc fix.
Eli Zaretskii [Thu, 10 Mar 2011 05:48:33 +0000 (00:48 -0500)]
Fix non-ASCII characters in User and ELisp manuals.
doc/lispref/modes.texi (Operator Precedence Grammars): Don't use characters
outside ISO-8859-1.
doc/emacs/search.texi (Regexp Example):
doc/emacs/mule.texi (International Chars):
doc/emacs/building.texi (External Lisp): Don't use characters outside
ISO-8859-1.
Glenn Morris [Thu, 10 Mar 2011 03:44:33 +0000 (19:44 -0800)]
cus-edit tweak for bug#2298.
* lisp/cus-edit.el (Custom-newline): If no button at point, look for a
subgroup button at start-of-line.
Glenn Morris [Thu, 10 Mar 2011 03:41:17 +0000 (19:41 -0800)]
* lisp/mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
Julien Danjou [Thu, 10 Mar 2011 02:14:55 +0000 (21:14 -0500)]
Inhibit mouse-avoidance if cursor-type is nil (Bug#8209).
* lisp/avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
`cursor-type' is nil.
Jay Belanger [Wed, 9 Mar 2011 23:38:16 +0000 (17:38 -0600)]
* calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
Ken Manheimer [Wed, 9 Mar 2011 20:48:56 +0000 (15:48 -0500)]
* allout.el Summary: Change so yank of distinctive-bullet items preserves
the existing header prefix, rebulleting it if necessary, rather than
replacing it. This is necessary for proper operation of cooperative addons
like allout-widgets.
(allout-make-topic-prefix) (allout-rebullet-heading): Change SOLICIT arg to
INSTEAD, and interpret additionally a string value as alternate bullet to
be used, instead of prompting the user for a bullet character.
Eli Zaretskii [Wed, 9 Mar 2011 20:05:40 +0000 (22:05 +0200)]
Fix last commit.
Eli Zaretskii [Wed, 9 Mar 2011 16:54:08 +0000 (18:54 +0200)]
Allow building manuals with Texinfo before v4.12.
doc/lispref/intro.texi (Acknowledgements): Convert to ISO-8859-1 encoding.
doc/lispref/makefile.w32-in (MAKEINFO_OPTS): Add --enable-encoding.
doc/lispref/elisp.texi: Use ISO-8859-1 in @documentencoding.
doc/emacs/ack.texi (Acknowledgments): Convert to ISO-8859-1 encoding. Use
Texinfo @-commands for non Latin-1 characters.
doc/emacs/emacs.texi: Use ISO-8859-1 in @documentencoding.
doc/emacs/makefile.w32-in (MAKEINFO_OPTS): Add --enable-encoding.
Juanma Barranquero [Wed, 9 Mar 2011 16:18:51 +0000 (17:18 +0100)]
* src/search.c (compile_pattern_1): Remove unused argument.
(compile_pattern): Don't pass it.
Eli Zaretskii [Wed, 9 Mar 2011 16:04:43 +0000 (18:04 +0200)]
Fix a typo in last commit of ChangeLog file.
Eli Zaretskii [Wed, 9 Mar 2011 15:59:23 +0000 (17:59 +0200)]
Fix bug #8210 with index entries for ".emacs".
doc/emacs/custom.texi (Init File): Add index entries for ".emacs".
Katsumi Yamaoka [Wed, 9 Mar 2011 14:37:30 +0000 (14:37 +0000)]
auth.texi (Help for developers): Untabify.
Teodor Zlatanov [Wed, 9 Mar 2011 13:39:35 +0000 (13:39 +0000)]
Merge changes made in Gnus trunk.
auth-source.el (auth-source-read-char-choice): New function to read a character choice using `dropdown-list', `read-char-choice', or `read-char'. It appends "[a/b/c] " to the prompt if the choices were '(?a ?b ?c). The `dropdown-list' support is disabled for now. Use `eval-when-compile' to load `dropdown-list'.
(auth-source-netrc-saver): Use it.
nnimap.el (nnimap-credentials): Keep the :save-function as the third parameter in the credentials.
(nnimap-open-connection-1): Use it after a successful login.
(nnimap-credentials): Add IMAP-specific user and password prompt.
auth-source.el (auth-source-search): Add :require parameter, taking a list. Document it and the :save-function return token. Pass :require down. Change the CREATED message from a warning to a debug statement.
(auth-source-search-backends): Pass :require down.
(auth-source-netrc-search): Pass :require down.
(auth-source-netrc-parse): Use :require, if it's given, as a filter. Change save prompt to indicate all modifications saved here are deletions.
(auth-source-netrc-create): Take user login name as default in user prompt. Move all the save functionality to a lexically bound function under the :save-function token in the returned list. Set up clearer default prompts for user, host, port, and secret.
(auth-source-netrc-saver): New function, intended to be wrapped for :save-function.
Michael Albinus [Wed, 9 Mar 2011 11:04:27 +0000 (12:04 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
not use `tramp-file-name-port', because this returns also
`tramp-default-port'.
Deniz Dogan [Wed, 9 Mar 2011 10:45:19 +0000 (11:45 +0100)]
* lisp/net/rcirc.el (rcirc-handler-001): Remove useless
with-rcirc-process-buffer.
(rcirc-check-auth-status): Swap arguments to string-match.
Glenn Morris [Wed, 9 Mar 2011 09:01:14 +0000 (01:01 -0800)]
* shell.el (shell-mode): Set comint-input-ring-size from HISTSIZE. (Bug#7889)
Glenn Morris [Wed, 9 Mar 2011 08:57:40 +0000 (00:57 -0800)]
Fix previous gdb-mi fix...
Glenn Morris [Wed, 9 Mar 2011 08:55:08 +0000 (00:55 -0800)]
Fix previous gdb-mi change.
Glenn Morris [Wed, 9 Mar 2011 08:43:27 +0000 (00:43 -0800)]
gdb-mi addition for bug#7889.
* lisp/progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
Check for GDBHISTFILE, HISTSIZE, etc.
Glenn Morris [Tue, 8 Mar 2011 17:33:55 +0000 (09:33 -0800)]
Add missing piece of previous doc/ change.
* doc/lispref/elisp.texi: Set documentencoding.
Chong Yidong [Tue, 8 Mar 2011 17:11:19 +0000 (12:11 -0500)]
Use condition-case-no-debug in package.el.
* lisp/emacs-lisp/package.el (package-refresh-contents)
(package-menu-execute): Use condition-case-no-debug.
Gnus developers [Tue, 8 Mar 2011 14:26:05 +0000 (14:26 +0000)]
Merge changes made in Gnus trunk.
message.texi (Message Buffers): Update default value of message-generate-new-buffers.
shr.el (shr-table-horizontal-line): Change the defaults for the table lines to be spaces instead.
sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
(sieve-sasl-auth): Check that auth-source-search did return something, or just return an empty string.
gnus-start.el (gnus-group-change-level): Allow putting foreign groups onto the list of killed groups, too. This makes killed nnimap groups, for instance, more reliably not reappear.
nnimap.el (nnimap-request-thread): Don't bug out when we can't find the parent.
Michael Albinus [Tue, 8 Mar 2011 12:58:40 +0000 (13:58 +0100)]
* simple.el (shell-command-to-string): Use `process-file'.
* emacs-lisp/package.el (package-tar-file-info): Handle also
remote files.
* emacs-lisp/package-x.el (package-upload-buffer-internal): Use
`equal' for upload base check.
Glenn Morris [Tue, 8 Mar 2011 08:59:18 +0000 (00:59 -0800)]
Convert some names in texinfo files to UTF-8.
* doc/emacs/Makefile.in (MAKEINFO_OPTS): Add --enable-encoding.
* doc/emacs/emacs.texi (Acknowledgments):
* doc/emacs/ack.texi (Acknowledgments): Names to UTF-8.
* doc/lispref/Makefile.in (MAKEINFO_OPTS): Add --enable-encoding.
* doc/lispref/intro.texi (Acknowledgements): Names to UTF-8.
Jan D [Tue, 8 Mar 2011 08:34:55 +0000 (09:34 +0100)]
Updates for compiling with Gtk+ 3.0 (--with-x-toolkit=gtk3).
* configure.in: Require 3.0 for --with-gtk3. Add HAVE_GTK3.
* doc/emacs/xresources.texi (GTK resources): ~/.emacs.d/gtkrc does not work
for Gtk+ 3.
* src/gtkutil.c: Include gtkx.h if HAVE_GTK3. If ! HAVE_GTK3, define
gdk_window_get_screen, gdk_window_get_geometry,
gdk_x11_window_lookup_for_display and GDK_KEY_g.
(xg_set_screen): Use DEFAULT_GDK_DISPLAY.
(xg_get_pixbuf_from_pixmap): New function.
(xg_get_pixbuf_from_pix_and_mask): Change parameters from GdkPixmap
to Pixmap, take frame as parameter, remove GdkColormap parameter.
Call xg_get_pixbuf_from_pixmap instead of
gdk_pixbuf_get_from_drawable.
(xg_get_image_for_pixmap): Do not make GdkPixmaps, call
xg_get_pixbuf_from_pix_and_mask with Pixmap parameters instead.
(xg_check_special_colors): Use GtkStyleContext and its functions
for HAVE_GTK3.
(xg_prepare_tooltip, xg_hide_tooltip): Call gdk_window_get_screen.
(xg_prepare_tooltip, create_dialog, menubar_map_cb)
(xg_update_frame_menubar, xg_tool_bar_detach_callback)
(xg_tool_bar_attach_callback, xg_update_tool_bar_sizes): Call
gtk_widget_get_preferred_size.
(xg_frame_resized): gdk_window_get_geometry only takes 5
parameters.
(xg_win_to_widget, xg_event_is_for_menubar): Call
gdk_x11_window_lookup_for_display.
(xg_set_widget_bg): New function.
(delete_cb): New function.
(xg_create_frame_widgets): connect delete-event to delete_cb.
Call xg_set_widget_bg. Only set backgrund pixmap for ! HAVE_GTK3
(xg_set_background_color): Call xg_set_widget_bg.
(xg_set_frame_icon): Call xg_get_pixbuf_from_pix_and_mask.
(xg_create_scroll_bar): vadj is a GtkAdjustment for HAVE_GTK3.
Only call gtk_range_set_update_policy if ! HAVE_GTK3.
(xg_make_tool_item): Only connect xg_tool_bar_item_expose_callback
if ! HAVE_GTK3.
(update_frame_tool_bar): Call gtk_widget_hide.
(xg_initialize): Use GDK_KEY_g.
* src/xmenu.c (menu_position_func): Call gtk_widget_get_preferred_size.
* src/xsmfns.c (gdk_set_sm_client_id): Define to gdk_set_sm_client_id
if ! HAVE_GTK3
(x_session_initialize): Call gdk_x11_set_sm_client_id.
* src/xterm.c (XFillRectangle): Use cairo routines for HAVE_GTK3.
(x_term_init): Disable Xinput(2) with GDK_CORE_DEVICE_EVENTS.
Load ~/emacs.d/gtkrc only for ! HAVE_GTK3.
* src/xterm.h (DEFAULT_GDK_DISPLAY): New define.
(GDK_WINDOW_XID, gtk_widget_get_preferred_size): New defines
for ! HAVE_GTK3.
(GTK_WIDGET_TO_X_WIN): Use GDK_WINDOW_XID.
Arni Magnusson [Tue, 8 Mar 2011 04:42:40 +0000 (20:42 -0800)]
texinfo.el addition for bug#2783.
* lisp/textmodes/texinfo.el (texinfo-environments):
Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.
Glenn Morris [Tue, 8 Mar 2011 04:34:31 +0000 (20:34 -0800)]
cus-start.el fix for bug#8192.
* lisp/cus-start.el (cursor-in-non-selected-windows):
Fix :set quoting oddness.
Glenn Morris [Tue, 8 Mar 2011 04:31:57 +0000 (20:31 -0800)]
Doc fix for bug#8193.
* doc/emacs/display.texi (Optional Mode Line): Don't mention exactly
where display-time appears (it was wrong anyway).
Glenn Morris [Tue, 8 Mar 2011 04:28:14 +0000 (20:28 -0800)]
font-lock.el tweak for bug#2159.
* lisp/font-lock.el (lisp-font-lock-keywords-1):
Don't highlight `)' in some setf expressions.
Chong Yidong [Tue, 8 Mar 2011 02:49:20 +0000 (21:49 -0500)]
* lisp/custom.el (custom-available-themes): Return themes in alphabetical order.
Kristoffer Grönlund [Tue, 8 Mar 2011 02:47:55 +0000 (21:47 -0500)]
* etc/themes/wombat-theme.el: New file.
Also, add Lisp file tails to tsdh-*-theme.el.
Juanma Barranquero [Tue, 8 Mar 2011 01:52:20 +0000 (02:52 +0100)]
src/w32xfns.c (select_palette): Check success of RealizePalette against GDI_ERROR, not zero.
Chong Yidong [Tue, 8 Mar 2011 00:08:03 +0000 (19:08 -0500)]
Mention elpa branch in admin/notes/BRANCH; clarify admin/notes/elpa.
Juanma Barranquero [Mon, 7 Mar 2011 21:16:42 +0000 (22:16 +0100)]
Remove unnecessary "(tiny change)" markers.
Ben Key [Mon, 7 Mar 2011 21:11:24 +0000 (22:11 +0100)]
Fix bug#8181.
* src/w32fns.c (FILE_NAME_COMBO_BOX, FILE_NAME_LIST): Define.
(file_dialog_callback): Fix locating the window handle of the File Name
text field. After disabling it, set focus on the list control.
(Fx_file_dialog): If only_dir_p is non-nil, set the text of the File
Name text field to "Current Directory" if it does not already have
another value.
Chong Yidong [Mon, 7 Mar 2011 20:29:03 +0000 (15:29 -0500)]
Fix a cc-cmds.el patch from acm that I applied incorrectly (Bug#7595).
* lisp/progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
application of patch from Alan Mackenzie (Bug#7595).
Deniz Dogan [Mon, 7 Mar 2011 12:03:22 +0000 (13:03 +0100)]
* lisp/net/rcirc.el (rcirc-connect): Fix PASS bug.
Adrian Robert [Mon, 7 Mar 2011 09:00:11 +0000 (11:00 +0200)]
* nsterm.m (ns_draw_window_cursor): Fix handling of 'cursor_width' parameter for hbar cursors. Based on a patch by Ben Key <bkey76@gmail.com>.
Glenn Morris [Mon, 7 Mar 2011 08:56:30 +0000 (00:56 -0800)]
vc.el fix for bug#6146.
* lisp/vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
Give an explicit error if failed to make writable.
Glenn Morris [Mon, 7 Mar 2011 08:39:43 +0000 (00:39 -0800)]
* lisp/vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
Ed Reingold [Mon, 7 Mar 2011 07:48:32 +0000 (23:48 -0800)]
cal-hebrew addition from bug#8190.
* lisp/calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
Add optional `after-sunset' argument.
Glenn Morris [Mon, 7 Mar 2011 07:37:02 +0000 (23:37 -0800)]
* etc/NEWS: Mention nato-region.
Aaron S. Hawley [Mon, 7 Mar 2011 07:35:25 +0000 (23:35 -0800)]
* lisp/play/morse.el (morse-region, unmorse-region): Barf if read-only.
Aaron S. Hawley [Mon, 7 Mar 2011 07:33:11 +0000 (23:33 -0800)]
morse.el additions from bug#2288.
* lisp/play/morse.el (nato-alphabet, nato-region, denato-region):
New variable and functions.
Chong Yidong [Sun, 6 Mar 2011 23:19:25 +0000 (18:19 -0500)]
Revert incorrect logic in 2011-03-06T07:50:01Z!eggert@cs.ucla.edu.
* src/xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06 change.
Chong Yidong [Sun, 6 Mar 2011 21:52:17 +0000 (16:52 -0500)]
Document package archives in the Lisp manual.
* doc/lispref/package.texi: Update index keywords.
(Package Archives): New node contents. Document package-x.el.
Stefan Monnier [Sun, 6 Mar 2011 20:55:52 +0000 (15:55 -0500)]
* lisp/progmodes/gud.el (gdb-script-syntax-propertize-function):
Don't change the syntax of a \n that closes a comment.
Fixes: debbugs:8169
Chong Yidong [Sun, 6 Mar 2011 20:19:39 +0000 (15:19 -0500)]
Usability improvements to commands in package-x.el.
* lisp/emacs-lisp/package-x.el (package-archive-upload-base): Make it a
defcustom.
(package--update-file): Doc fix. Accept relative file names.
(package--archive-contents-from-file): Remove the argument, since
it's necessarily always "archive-contents".
(package-maint-add-news-item): Pass relative file name args to
package--update-file.
(package-upload-buffer-internal): Prompt for a destination if
package-archive-upload-base is invalid. Create the directory if
it does not exist.
(package-upload-buffer, package-upload-file): Doc fix.
Juanma Barranquero [Sun, 6 Mar 2011 20:11:19 +0000 (21:11 +0100)]
doc/lispref/makefile.w32-in (srcs): Add package.texi.
Chong Yidong [Sun, 6 Mar 2011 18:24:11 +0000 (13:24 -0500)]
Bind C-y in Isearch to isearch-yank-kill.
* lisp/isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
and move isearch-yank-line to M-s C-e.
* doc/emacs/search.texi (Isearch Yank): C-y now bound to isearch-yank-kill.
Alan Mackenzie [Sun, 6 Mar 2011 17:03:45 +0000 (17:03 +0000)]
(c-guess-basic-syntax): Move CASE 19 to a different place, correctly to
process template-args-cont lines.
Alan Mackenzie [Sun, 6 Mar 2011 16:57:31 +0000 (16:57 +0000)]
progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
Chong Yidong [Sun, 6 Mar 2011 15:54:36 +0000 (10:54 -0500)]
Improve packaging documentation.
* package.texi (Packaging, Packaging Basics, Simple Packages)
(Multi-file Packages): Expand and clarify.
(Package Archives): Temporary placeholder node.
* elisp.texi (Top): Update node listing.
Paul Eggert [Sun, 6 Mar 2011 10:53:51 +0000 (02:53 -0800)]
Merge: current_column: Now returns EMACS_INT, fixing some iftc
that was introduced in the 2002-06-02 change "temporarily"; see
<http://lists.gnu.org/archive/html/emacs-devel/2002-06/msg00039.html>.
* bytecode.c (Fbyte_code): Don't cast current_column () to int.
* cmds.c (internal_self_insert): Likewise.
* indent.c (Fcurrent_column): Likewise.
* keymap.c (describe_command): Likewise.
* minibuf.c (read_minibuf): Likewise.
* indent.c (Fcurrent_indentation): Don't cast position_indentation ()
to int.
* xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec):
Likewise.
* cmds.c (internal_self_insert): Declare locals to be EMACS_INT,
not int or double, if they might contain a column number.
* indent.c (current_column, Findent_to, indented_beyond_p):
(compute_motion, vmotion): Likewise.
* keymap.c (describe_command): Likewise.
* xdisp.c (pint2str): Likewise.
* indent.c (last_known_column): Now EMACS_INT, not int.
* minibuf.c (minibuf_prompt_width): Likewise.
* indent.c (current_column, current_column_1, position_indentation):
Return EMACS_INT, not double.
* lisp.h (current_column): Likewise.
* indent.c (indented_beyond_p): Last arg is now EMACS_INT, not double.
All callers changed.
* lisp.h (indented_beyond_p): Likewise.
* minibuf.c (minibuf_prompt, minibuf_prompt_width): Move here
from xdisp.c, and make static, since these are used only here.
* window.h, xdisp.c (minibuf_prompt, minibuf_prompt_width):
Remove decls.
* xdisp.c (redisplay_window): Reindent to match Emacs style.
Paul Eggert [Sun, 6 Mar 2011 10:27:06 +0000 (02:27 -0800)]
current_column: Now returns EMACS_INT, fixing some iftc.
* bytecode.c (Fbyte_code): Don't cast current_column () to int.
* cmds.c (internal_self_insert): Likewise.
* indent.c (Fcurrent_column): Likewise.
* keymap.c (describe_command): Likewise.
* minibuf.c (read_minibuf): Likewise.
* indent.c (Fcurrent_indentation): Don't cast position_indentation ()
to int.
* xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec):
Likewise.
* cmds.c (internal_self_insert): Declare locals to be EMACS_INT,
not int or double, if they might contain a column number.
* indent.c (current_column, Findent_to, indented_beyond_p):
(compute_motion, vmotion): Likewise.
* keymap.c (describe_command): Likewise.
* xdisp.c (pint2str): Likewise.
* indent.c (last_known_column): Now EMACS_INT, not int.
* minibuf.c (minibuf_prompt_width): Likewise.
* indent.c (current_column, current_column_1, position_indentation):
Return EMACS_INT, not double.
* lisp.h (current_column): Likewise.
* indent.c (indented_beyond_p): Last arg is now EMACS_INT, not double.
All callers changed.
* lisp.h (indented_beyond_p): Likewise.
Paul Eggert [Sun, 6 Mar 2011 09:54:06 +0000 (01:54 -0800)]
* xdisp.c (redisplay_window): Likewise.
Paul Eggert [Sun, 6 Mar 2011 09:52:06 +0000 (01:52 -0800)]
* minibuf.c (minibuf_prompt, minibuf_prompt_width): Move here
from xdisp.c, and make static, since these are used only here.
* window.h, xdisp.c (minibuf_prompt, minibuf_prompt_width):
Remove decls.
Paul Eggert [Sun, 6 Mar 2011 09:00:53 +0000 (01:00 -0800)]
* cmds.c (internal_self_insert): Reindent to match Emacs style.
Paul Eggert [Sun, 6 Mar 2011 08:17:04 +0000 (00:17 -0800)]
* xdisp.c (SKIP_GLYPHS): Removed unused macro.
Paul Eggert [Sun, 6 Mar 2011 08:15:49 +0000 (00:15 -0800)]
* xdisp.c (update_window_cursor): Now static, since it's not used elsewhere.
Paul Eggert [Sun, 6 Mar 2011 08:14:14 +0000 (00:14 -0800)]
* xdisp.c (produce_glyphless_glyph): Make a pointer "const"
since it might point to immutable storage.
Paul Eggert [Sun, 6 Mar 2011 08:11:52 +0000 (00:11 -0800)]
* xdisp.c (BUILD_GLYPHLESS_GLYPH_STRING): Omit unused local var.
Paul Eggert [Sun, 6 Mar 2011 07:53:03 +0000 (23:53 -0800)]
Merge from mainline.
Paul Eggert [Sun, 6 Mar 2011 07:50:01 +0000 (23:50 -0800)]
* xdisp.c: Rename or move local decls to avoid shadowing.
(init_iterator, handle_fontified_prop, handle_single_display_spec):
(message_dolog, message_with_string, redisplay_internal):
(redisplay_window, try_window_reusing_current_matrix, try_window_id):
(compute_line_metrics, highlight_trailing_whitespace, cursor_row_p):
(display_line, display_string, rows_from_pos_range):
(mouse_face_from_buffer_pos, note_mouse_highlight, expose_frame):
Rename or move local decls.
Chong Yidong [Sun, 6 Mar 2011 05:34:35 +0000 (00:34 -0500)]
Add package.texi to doc/lispref/Makefile.in.
Jay Belanger [Sun, 6 Mar 2011 04:36:15 +0000 (22:36 -0600)]
* calc/calc-units.el (math-midi-round): Translate calc-note-threshold
to an appropriate fraction.
Jay Belanger [Sun, 6 Mar 2011 04:28:39 +0000 (22:28 -0600)]
* calc/calc-units.el (math-midi-round, math-freqp, math-midip)
(math-spnp, math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
(math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
(calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
(math-notes): New variable.
* calc/calc.el (calc-note-threshold): New variable.
* calc/calc-ext.el (calc-init-extensions): Add keybindings for
calc-spn, calc-midi, calc-freq. Add autoloads for calcFunc-spn,
calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
* doc/misc/calc.tex (Musical Notes): New section.
(Customizing Calc): Mention calc-note-threshold.
Jay Belanger [Sun, 6 Mar 2011 03:51:28 +0000 (21:51 -0600)]
* doc/misc/calc.texi (Logarithmic Units): Rename calc-logunits-dblevel
and calc-logunits-nplevel to calc-dblevel and calc-nplevel,
respectively.
* calc/calc-ext.el (calc-init-extensions): Rename calc-logunits-dblevel
and calc-logunits-nplevel to calc-dblevel and calc-nplevel,
respectively.
* calc/calc-units.el (calc-dblevel): Rename from calc-logunits-dblevel.
(calc-nplevel): Rename from calc-logunits-nplevel.
Chong Yidong [Sun, 6 Mar 2011 03:22:06 +0000 (22:22 -0500)]
Allow specifying local ELPA mirrors in package-archives.
* emacs-lisp/package.el (package-archives): Accept either ordinary
directory names, in addition to HTTP URLs.
(package--with-work-buffer): New macro. Handle normal directories.
(package-handle-response): Don't display the failing buffer.
(package-download-single, package-download-tar)
(package--download-one-archive): Use package--with-work-buffer.
(package-archive-base): Rename from package-archive-url.
Glenn Morris [Sun, 6 Mar 2011 03:01:23 +0000 (19:01 -0800)]
Mention xmodmap-generic-mode in NEWS.
Glenn Morris [Sun, 6 Mar 2011 02:59:21 +0000 (18:59 -0800)]
generic-x trivia.
* lisp/generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
(xmodmap-generic-mode): Respect generic-extras-enable-list.
Daniel Clemente [Sun, 6 Mar 2011 02:56:39 +0000 (18:56 -0800)]
* lisp/generic-x.el (xmodmap-generic-mode): New. (Bug#2065) (tiny change)
Juanma Barranquero [Sun, 6 Mar 2011 02:43:19 +0000 (03:43 +0100)]
Fix typos.
* etc/srecode/el.srt: Fix typo.
* lisp/allout.el (allout-init, allout-prefixed-keybindings)
(allout-unprefixed-keybindings):
* lisp/progmodes/prolog.el (prolog-find-term):
Fix typos in docstrings.
* lisp/org/org.el (org-blank-before-new-entry, org-context-in-file-links)
(org-refile-targets, org-log-repeat, org-insert-link)
(org-speed-command-default-hook, org-speed-command-hook)
(org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
Fix typos in docstrings.
(org-toggle-pretty-entities): Fix typo in message.
Nikolaj Schumacher [Sun, 6 Mar 2011 02:38:48 +0000 (18:38 -0800)]
* lisp/emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
Kevin Ryde [Sun, 6 Mar 2011 02:30:44 +0000 (18:30 -0800)]
* lisp/textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
Michael Shields [Sun, 6 Mar 2011 02:14:43 +0000 (18:14 -0800)]
Doc fixes for bug#5567 (tiny change)
* lisp/window.el (one-window-p, walk-windows, display-buffer): Doc fixes.
* src/window.c (Fnext_window): Doc (and comment) fixes.
Jay Belanger [Sun, 6 Mar 2011 02:04:41 +0000 (20:04 -0600)]
* cus-edit.el (custom-prompt-variable): Use the `custom-get' property
of the variable if it exists.
Glenn Morris [Sun, 6 Mar 2011 01:48:44 +0000 (17:48 -0800)]
NEWS.
Glenn Morris [Sun, 6 Mar 2011 01:45:56 +0000 (17:45 -0800)]
Regenerate autotools stuff, grumble.
Glenn Morris [Sun, 6 Mar 2011 01:42:13 +0000 (17:42 -0800)]
* configure.in (FREETYPE_LIBS): Actually set it to something.
This was needed for linking a lucid toolkit build on a recent
Debian testing system. Without this, it failed with:
ftfont.o: undefined reference to symbol 'FT_New_Face'
Juanma Barranquero [Sun, 6 Mar 2011 00:30:16 +0000 (01:30 +0100)]
* lisp/bookmark.el:
* lisp/desktop.el:
* lisp/emacs-lock.el:
* lisp/ps-print.el:
* lisp/saveplace.el:
* lisp/net/tramp-cache.el:
* lisp/textmodes/reftex.el:
* lisp/org/org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
Fixes: debbugs:8137
Katsumi Yamaoka [Sun, 6 Mar 2011 00:08:33 +0000 (00:08 +0000)]
gnus-uu.el (gnus-uu-decode-save): Typo fix.
Chong Yidong [Sat, 5 Mar 2011 23:55:43 +0000 (18:55 -0500)]
Fix last change.
Chong Yidong [Sat, 5 Mar 2011 23:52:45 +0000 (18:52 -0500)]
* nsterm.m (ns_draw_window_cursor): Fix typo in 2011-02-23 commit.
Chong Yidong [Sat, 5 Mar 2011 21:58:57 +0000 (16:58 -0500)]
Remove "tiny change" ChangeLog tags for Antoine Levitt, who signed papers.
Antoine Levitt [Sat, 5 Mar 2011 21:56:00 +0000 (16:56 -0500)]
Replace many instances of read-file-name with read-directory-name.
* lisp/files.el (delete-directory, copy-directory, list-directory): Use
read-directory-name.
* lisp/find-file.el (ff-find-the-other-file):
* lisp/net/ange-ftp.el (ange-ftp-make-directory):
* lisp/printing.el (pr-interactive-dir):
* lisp/progmodes/ada-prj.el (ada-prj-load-directory):
* lisp/progmodes/ebnf2ps.el (ebnf-print-directory)
(ebnf-spool-directory, ebnf-eps-directory)
(ebnf-syntax-directory):
* lisp/shell.el (shell):
* lisp/speedbar.el (speedbar-create-directory):
* lisp/vc/emerge.el (emerge-merge-directories):
* lisp/vc/vc-dir.el (vc-dir):
* lisp/vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
* lisp/gnus.el (gnus-interactive): Use read-directory-name.
* lisp/gnus-uu.el (gnus-uu-decode-uu-and-save)
(gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
(gnus-uu-decode-binhex, gnus-uu-decode-yenc)
(gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
Likewise.
* lisp/mh-funcs.el (mh-store-msg, mh-store-buffer):
* lisp/mh-mime.el (mh-mime-save-parts): Use read-directory-name.
* lisp/dired.el: Clarify comment.
Chong Yidong [Sat, 5 Mar 2011 21:10:03 +0000 (16:10 -0500)]
Fix to help-buffer to ensure it returns a valid buffer (Bug#8147).
* lisp/help-mode.el (help-buffer): If we are to return the current
buffer, signal an error if it's not in Help mode.
Chong Yidong [Sat, 5 Mar 2011 20:45:09 +0000 (15:45 -0500)]
* processes.texi (Synchronous Processes): Minor clarification (Bug#8149).
Glenn Morris [Sat, 5 Mar 2011 20:43:35 +0000 (12:43 -0800)]
Add ChangeLog bug ref.
Reuben Thomas [Sat, 5 Mar 2011 20:35:08 +0000 (15:35 -0500)]
Handle git-style backup names in file-name-version-regexp (Bug#8159).
* files.el (file-name-version-regexp): Handle backup files of the
form `foo.js.~HEAD~1~' (Bug#8159).
Glenn Morris [Sat, 5 Mar 2011 20:09:37 +0000 (12:09 -0800)]
ChangeLog fix.
Glenn Morris [Sat, 5 Mar 2011 20:07:27 +0000 (12:07 -0800)]
Move eshell's self-tests to the test/ directory.
* lisp/eshell/esh-var.el: Don't require esh-test when compiling.
* lisp/eshell/em-banner.el, lisp/eshell/esh-cmd.el, lisp/eshell/esh-mode.el:
* lisp/eshell/esh-var.el, lisp/eshell/eshell.el: Move tests to esh-test.
* lisp/eshell/esh-test.el: Move to ../../test/eshell.el
* test/eshell.el: Move here from lisp/eshell/esh-test.el.
David Engster [Sat, 5 Mar 2011 19:37:46 +0000 (14:37 -0500)]
Make save-some-buffers message more informative (Bug#8134).
* files.el (save-some-buffers): Report the names of buffers saved
automatically due to buffer-save-without-query.
Glenn Morris [Sat, 5 Mar 2011 19:36:33 +0000 (11:36 -0800)]
* lisp/eshell/esh-proc.el (eshell-kill-process-function): Fix typo in previous.