1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-01 11:20:41 -08:00
Commit graph

99028 commits

Author SHA1 Message Date
Juanma Barranquero
135e287cda lisp/help-fns.el (describe-variable): Don't complete keywords. 2011-03-11 01:33:57 +01:00
Andreas Schwab
c40f8d15c0 * .gdbinit (pwinx, xbuffer): Fix access to buffer name. 2011-03-11 01:19:57 +01:00
Chong Yidong
ba08b24186 Fix package.el handling of version numbers like 1.0pre6.
* lisp/emacs-lisp/package.el (package-version-join): Impose a standard
string representation for pre/alpha/beta version lists.
(package-unpack-single): Standardize the directory name by passing
it through package-version-join.
2011-03-10 18:40:46 -05:00
Chong Yidong
ffbf300e1e 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.
2011-03-10 16:51:26 -05:00
Teodor Zlatanov
f3b54b0e1e auth-source.el (auth-source-read-char-choice): Remove `dropdown-list'.
(auth-source-pick-first-password): New convenience function.
2011-03-10 13:32:49 +00:00
Michael Albinus
f346fd6b40 * simple.el (delete-trailing-whitespace): Return nil for the
benefit of `write-file-functions'.
2011-03-10 12:28:33 +01:00
Glenn Morris
5ceaac0c61 * lisp/vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program. 2011-03-10 00:32:27 -08:00
Glenn Morris
02da65ff3a 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.
2011-03-10 00:26:41 -08:00
Glenn Morris
b2f603cc42 * lisp/eshell/esh-util.el (eshell-condition-case): Doc fix. 2011-03-09 23:16:04 -08:00
Eli Zaretskii
62d94509e2 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.
2011-03-10 00:48:33 -05:00
Glenn Morris
5772caab78 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.
2011-03-09 19:44:33 -08:00
Glenn Morris
ccb55d277a * lisp/mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes. 2011-03-09 19:41:17 -08:00
Julien Danjou
ec6ecaed88 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.
2011-03-09 21:14:55 -05:00
Jay Belanger
9d5aa01d30 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'. 2011-03-09 17:38:16 -06:00
Ken Manheimer
b6a5875b6a * 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.
2011-03-09 15:48:56 -05:00
Eli Zaretskii
5baee23662 Fix last commit. 2011-03-09 22:05:40 +02:00
Eli Zaretskii
63a329f81d 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.
2011-03-09 18:54:08 +02:00
Juanma Barranquero
cfe0661dbe * src/search.c (compile_pattern_1): Remove unused argument.
(compile_pattern): Don't pass it.
2011-03-09 17:18:51 +01:00
Eli Zaretskii
114902a577 Fix a typo in last commit of ChangeLog file. 2011-03-09 18:04:43 +02:00
Eli Zaretskii
0286d9de5c Fix bug #8210 with index entries for ".emacs".
doc/emacs/custom.texi (Init File): Add index entries for ".emacs".
2011-03-09 17:59:23 +02:00
Katsumi Yamaoka
3107d2a58a auth.texi (Help for developers): Untabify. 2011-03-09 14:37:30 +00:00
Teodor Zlatanov
733afdf4d9 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.
2011-03-09 13:39:35 +00:00
Michael Albinus
ee545c35d2 * 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'.
2011-03-09 12:04:27 +01:00
Deniz Dogan
c47971d7a3 * lisp/net/rcirc.el (rcirc-handler-001): Remove useless
with-rcirc-process-buffer.
(rcirc-check-auth-status): Swap arguments to string-match.
2011-03-09 11:45:19 +01:00
Glenn Morris
0be6f4f187 * shell.el (shell-mode): Set comint-input-ring-size from HISTSIZE. (Bug#7889) 2011-03-09 01:01:14 -08:00
Glenn Morris
791cd3860e Fix previous gdb-mi fix... 2011-03-09 00:57:40 -08:00
Glenn Morris
1289e5d3f5 Fix previous gdb-mi change. 2011-03-09 00:55:08 -08:00
Glenn Morris
13522cb4cd gdb-mi addition for bug#7889.
* lisp/progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
Check for GDBHISTFILE, HISTSIZE, etc.
2011-03-09 00:43:27 -08:00
Glenn Morris
80b005c767 Add missing piece of previous doc/ change.
* doc/lispref/elisp.texi: Set documentencoding.
2011-03-08 09:33:55 -08:00
Chong Yidong
515de2e321 Use condition-case-no-debug in package.el.
* lisp/emacs-lisp/package.el (package-refresh-contents)
(package-menu-execute): Use condition-case-no-debug.
2011-03-08 12:11:19 -05:00
Gnus developers
a505754642 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.
2011-03-08 14:26:05 +00:00
Michael Albinus
b511b994ae * 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.
2011-03-08 13:58:40 +01:00
Glenn Morris
6446548e02 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.
2011-03-08 00:59:18 -08:00
Jan D
0afb4571a7 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.
2011-03-08 09:34:55 +01:00
Arni Magnusson
25bbfb31d5 texinfo.el addition for bug#2783.
* lisp/textmodes/texinfo.el (texinfo-environments):
Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.
2011-03-07 20:42:40 -08:00
Glenn Morris
e9c8529f6a cus-start.el fix for bug#8192.
* lisp/cus-start.el (cursor-in-non-selected-windows):
Fix :set quoting oddness.
2011-03-07 20:34:31 -08:00
Glenn Morris
bb3865e8ac Doc fix for bug#8193.
* doc/emacs/display.texi (Optional Mode Line): Don't mention exactly
where display-time appears (it was wrong anyway).
2011-03-07 20:31:57 -08:00
Glenn Morris
be99652196 font-lock.el tweak for bug#2159.
* lisp/font-lock.el (lisp-font-lock-keywords-1):
Don't highlight `)' in some setf expressions.
2011-03-07 20:28:14 -08:00
Chong Yidong
2bb5649ecc * lisp/custom.el (custom-available-themes): Return themes in alphabetical order. 2011-03-07 21:49:20 -05:00
Kristoffer Grönlund
0d53df4857 * etc/themes/wombat-theme.el: New file.
Also, add Lisp file tails to tsdh-*-theme.el.
2011-03-07 21:47:55 -05:00
Juanma Barranquero
1c2cc4efce src/w32xfns.c (select_palette): Check success of RealizePalette against GDI_ERROR, not zero. 2011-03-08 02:52:20 +01:00
Chong Yidong
eb8694ee59 Mention elpa branch in admin/notes/BRANCH; clarify admin/notes/elpa. 2011-03-07 19:08:03 -05:00
Juanma Barranquero
e18c0aa335 Remove unnecessary "(tiny change)" markers. 2011-03-07 22:16:42 +01:00
Ben Key
7faeca66c7 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.
2011-03-07 22:11:24 +01:00
Chong Yidong
7600cf4599 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).
2011-03-07 15:29:03 -05:00
Deniz Dogan
fa7062f653 * lisp/net/rcirc.el (rcirc-connect): Fix PASS bug. 2011-03-07 13:03:22 +01:00
Adrian Robert
cf715c3c95 * 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>. 2011-03-07 11:00:11 +02:00
Glenn Morris
7e319d3cc3 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.
2011-03-07 00:56:30 -08:00
Glenn Morris
619f4b625e * lisp/vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt. 2011-03-07 00:39:43 -08:00
Ed Reingold
e63e9234d0 cal-hebrew addition from bug#8190.
* lisp/calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
Add optional `after-sunset' argument.
2011-03-06 23:48:32 -08:00