1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00
Commit Graph

92585 Commits

Author SHA1 Message Date
Dan Nicolaescu
6259191133 (define-ccl-program): Purecopy the docstring. 2009-11-11 06:18:17 +00:00
Dan Nicolaescu
8b908da69e (define-minor-mode): Purecopy :lighter. 2009-11-11 06:17:07 +00:00
Dan Nicolaescu
ff917d6321 * subr.el (add-hook): Purecopy strings.
(eval-after-load): Purecopy load-history-regexp and the form.
2009-11-11 06:16:16 +00:00
Dan Nicolaescu
af89cf7759 (custom-declare-group): Purecopy load-file-name. 2009-11-11 06:12:21 +00:00
Dan Nicolaescu
a4ada374d6 * xfns.c (syms_of_xfns): Use make_pure_string instead of build_string.
* xterm.c (syms_of_xterm):
* xfaces.c (syms_of_xfaces):
* xdisp.c (syms_of_xdisp):
* lread.c (syms_of_lread):
* keyboard.c (syms_of_keyboard): Use make_pure_c_string instead of
build_string.
* doc.c (Fsnarf_documentation): Purecopy Vbuild_files.
2009-11-11 06:10:42 +00:00
Dan Nicolaescu
04991a1c0d * net/eudc.el (eudc-tools-menu):
* international/mule-cmds.el (set-coding-system-map)
(mule-menu-keymap):
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
* vc-hooks.el (vc-menu-map): Use menu-bar-separator.
2009-11-11 06:06:43 +00:00
Dan Nicolaescu
a3c20c832c * subr.el (menu-bar-separator): New defconst.
* replace.el (occur-mode-map):
* menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
(menu-bar-edit-menu, menu-bar-goto-menu, menu-bar-edit-menu)
(menu-bar-custom-menu, menu-bar-showhide-menu)
(menu-bar-options-menu, menu-bar-tools-menu)
(menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
(menu-bar-search-documentation-menu, menu-bar-manuals-menu)
(menu-bar-help-menu):
* ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
* buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
2009-11-11 05:57:51 +00:00
Dan Nicolaescu
6bdad9ae02 * term/x-win.el (x-gtk-stock-map):
* progmodes/vera-mode.el (auto-mode-alist):
* progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
(inferior-lisp-program, inferior-lisp-load-command):
* progmodes/hideshow.el (hs-special-modes-alist):
* progmodes/gud.el (same-window-regexps):
* progmodes/grep.el (grep-program, find-program, xargs-program):
* net/telnet.el (same-window-regexps):
* net/rlogin.el (same-window-regexps):
* language/ethiopic.el (font-ccl-encoder-alist):
* vc-sccs.el (vc-sccs-master-templates):
* vc-rcs.el (vc-rcs-master-templates):
* subr.el (cl-assertion-failed):
* simple.el (next-error-overlay-arrow-position):
* lpr.el (lpr-command):
* locate.el (locate-ls-subdir-switches):
* info.el (same-window-regexps, info)
(Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
* image-mode.el (image-mode, auto-mode-alist):
* hippie-exp.el (hippie-expand-ignore-buffers):
* format.el (format-alist):
* find-dired.el (find-ls-subdir-switches, find-grep-options)
(find-name-arg):
* facemenu.el (facemenu-keybindings):
* dired.el (dired-listing-switches, dired-chown-program):
* diff.el (diff-switches, diff-command):
* cus-edit.el (same-window-regexps):
* bindings.el (mode-line-mule-info)
(mode-line-buffer-identification): Purecopy strings.
2009-11-11 05:49:09 +00:00
Juri Linkov
e0987650e4 (dired-get-filename)<declare-function>:
Tell the byte-compiler about dired-get-filename.
(shell-command): In Dired mode, get filename from the current line
as the default value.
2009-11-11 00:11:40 +00:00
Stefan Monnier
af98fc7f9a (Fplist_get): Merge the active and the uncommented code. 2009-11-10 21:22:57 +00:00
Jan Djärv
e90292a90c Bug #4574. Common code for file/font dialog. Handle timers with glib-timers.
* keyboard.h: Declare timer_check.

* keyboard.c (timer_check_2): New function that does what the old
timer_check did.
(timer_check): Call timer_check_2 until -1 or a non-zero time is
returned, i.e. don't return -1 with timers pending.

* process.c: Remove extern declaration of timer_check.

* xmenu.c (x_menu_wait_for_event): Remove code that did a timeout
even if timer_check returned -1.

* gtkutil.c (xg_dialog_response_cb): data is now a struct xg_dialog_data
(pop_down_dialog): Destroy widget (if any), cancel timer and unref
the event loop.
(xg_maybe_add_timer, xg_dialog_run): New functions (bug #4574).
(xg_get_file_name, xg_get_font_name): Call xg_dialog_run (bug #4574).
Destroy the dialog after xg_dialog_run.
2009-11-10 19:06:40 +00:00
Stefan Monnier
045b83c00a (Fx_popup_menu) [HAVE_NS]: Remove unused vars. 2009-11-10 18:07:09 +00:00
Glenn Morris
693737cdfd (Hints to MUA Authors): MUA should do any decoding.
http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00027.html
2009-11-10 08:12:52 +00:00
Glenn Morris
e8a11b2298 Update x-popup-menu declaration. 2009-11-10 08:11:47 +00:00
Glenn Morris
b16ff465dc (find-emacs-lisp-shadows, list-load-path-shadows): Use dolist.
(list-load-path-shadows): Use with-current-buffer.
2009-11-10 08:06:53 +00:00
Jan Djärv
1fb99a3a63 xmenu.c (xmenu_show): Must not be static after 2009-11-09 changes. 2009-11-10 07:58:57 +00:00
Juri Linkov
032c33996a (read-file-name): Support a list of default values
in `default-filename'.  Use the first file name where only one
element is required.  Doc fix.
2009-11-10 00:54:45 +00:00
Juanma Barranquero
a51203eebd Fix typos. 2009-11-10 00:07:41 +00:00
Michael Albinus
3f3241732d *** empty log message *** 2009-11-09 22:15:41 +00:00
Michael Albinus
8fb1629fa3 * net/dbus.el (dbus-unregister-object): Release service, if no
other method is registered for it.
2009-11-09 22:05:25 +00:00
Juanma Barranquero
362654a675 Fix typos. 2009-11-09 11:21:04 +00:00
Juanma Barranquero
04e452cb31 * menu.c [HAVE_NTGUI]: Declare current_popup_menu. 2009-11-09 11:07:05 +00:00
Stefan Monnier
ef7417fd76 * menu.c (Fx_popup_menu): Consolidate versions from xmenu.c,
w32menu.c, and nsmenu.m.
Simplify the obsolete case where position is nil.
(cleanup_popup_menu): New function, moved from nsmenu.m.
(struct skp): Remove slot `notreal'.
(single_keymap_panes, keymap_panes): Remove arg `notreal' and adjust callers.
(single_menu_item): Adjust call to parse_menu_item.
(syms_of_menu): Defsubr x-popup-menu.
* menu.h (Vmenu_updating_frame): Consolidate declarations from *menu.c.
(keymap_panes): Don't export any more.
(mouse_position_for_popup, w32_menu_show, ns_menu_show, xmenu_show): Declare.
* keyboard.c (parse_menu_item): Remove arg `notreal'.
(menu_bar_item, read_char_minibuf_menu_prompt): Adjust callers.
* keyboard.h (parse_menu_item): Update declaration.
* xmenu.c (Fx_popup_menu): Remove.
(syms_of_xmenu): Don't defsubr x-popup-menu.
* w32menu.c (Fx_popup_menu): Remove.
(syms_of_w32menu): Don't defsubr x-popup-menu.
* nsmenu.m (cleanup_popup_menu): Remove.
(ns_menu_show): Rename from ns_popup_menu and remove all the code
moved to menu.c's Fx_popup_menu.
(Fx_popup_menu): Remove.
(syms_of_nsmenu): Don't defsubr x-popup-menu, and don't initialize
menu_items (it's done in menu.c already).
2009-11-09 06:21:03 +00:00
Chong Yidong
4359a806d0 * searching.texi (Char Classes): Note that [:upper:] and [:lower:]
are affected by case-fold-search (Bug#4483).
2009-11-08 23:19:11 +00:00
Chong Yidong
15207e7467 * emulation/cua-base.el: Add CUA property to some CC mode commands
(Bug#4100).
2009-11-08 23:05:49 +00:00
Chong Yidong
fd4489f0e4 * bookmark.el (bookmark-completing-read): Sort bookmark names if
bookmark-sort-flag is non-nil (Bug#4653).
2009-11-08 23:01:45 +00:00
Chong Yidong
9bf7dc8aba * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
the progress reporter entirely.
2009-11-08 22:53:30 +00:00
Kevin Ryde
8bf7ed70eb * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
at end of sentence (my Bug#4818).
2009-11-08 21:49:49 +00:00
Chong Yidong
951802d0c1 * compilation.txt: Add one more error message for msft (Bug#4100). 2009-11-08 16:30:52 +00:00
Chong Yidong
b25399ac46 Delete trailing whitespace. 2009-11-08 15:42:32 +00:00
Stefan Monnier
424d6179b3 (parse_menu_item): Handle `notreal' a bit earlier.
Use `tem' less.  Make sure KEYEQ holds a string or nil (bug#4879).
2009-11-08 15:06:50 +00:00
Michael Albinus
c7bd4ebeb5 * tramp.texi (Auto-save and Backup): Disable backups just for a
method.
2009-11-08 10:49:06 +00:00
Michael Albinus
3120d4fa75 * trampver.texi: Update release number. 2009-11-08 10:47:53 +00:00
Michael Albinus
e824431077 * net/trampver.el: Update release number. 2009-11-08 10:45:22 +00:00
Michael Albinus
191bb792fb * net/tramp.el (tramp-advice-make-auto-save-file-name)
(tramp-advice-file-expand-wildcards): Unload via
`ad-remove-advice'.

* net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
`ad-do-it'.

* net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
in order to keep context in SELinux.
2009-11-08 10:44:22 +00:00
Andreas Schwab
a0a6324fdc Regenerate. 2009-11-08 09:29:54 +00:00
Chong Yidong
c98f55cad9 * url-http.el (url-http-handle-authentication): Use proxy server,
if any, for authentication (Bug#4883).
2009-11-08 05:32:48 +00:00
Chong Yidong
bedd8a58d8 * dired-aux.el (dired-query): Place cursor in echo area and allow
C-g.

* dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
menu item if not on a directory (Bug#4701).
2009-11-08 00:32:18 +00:00
Chong Yidong
c0df13a6e3 * xmenu.c (Fx_popup_menu): Hide any tooltip before opening a menu. 2009-11-08 00:14:30 +00:00
Michael Albinus
76c5acad54 * trampver.texi: Update release number. 2009-11-08 00:09:02 +00:00
Michael Albinus
0484d60049 *** empty log message *** 2009-11-08 00:03:34 +00:00
Michael Albinus
7e6591a1f5 * net/trampver.el: Update release number. 2009-11-07 23:56:24 +00:00
Michael Albinus
ede9503b68 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-delete-directory ): Use
`tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
2009-11-07 23:55:30 +00:00
Michael Albinus
55a57586c6 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
* net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
`tramp-compat-delete-directory'.
2009-11-07 23:54:29 +00:00
Chong Yidong
eb99095dbd Fix last change. 2009-11-07 23:53:54 +00:00
Michael Albinus
3426871b16 * net/tramp-compat.el (tramp-compat-copy-directory)
(tramp-compat-delete-directory): New defuns.
2009-11-07 23:53:29 +00:00
Michael Albinus
b000a6e24e * net/tramp.el (tramp-handle-copy-directory): Don't use
`file-remote-p' (due to compatibility).
2009-11-07 23:52:48 +00:00
Michael Albinus
c277095718 * net/tramp-compat.el (tramp-compat-copy-directory)
(tramp-compat-delete-directory): New defuns.
2009-11-07 23:51:17 +00:00
Chong Yidong
a20903d09e * xmenu.c (Fx_popup_menu): Extract event timestamp. Pass it to
xmenu_show.
(xmenu_show): New arg.  Pass it to create_and_show_popup_menu.
(create_and_show_popup_menu): New arg.  Pass it to gtk_menu_popup.
2009-11-07 23:49:08 +00:00
Chong Yidong
ae6c627429 Update md5sum. 2009-11-07 19:39:39 +00:00