1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

101360 Commits

Author SHA1 Message Date
Jan Djärv
9851bfc58d Add GSettings support (GConf is going away).
* configure.in (gsettings): New option and check for GSettings.

* src/Makefile.in (SETTINGS_CFLAGS, SETTINGS_LIBS): Renamed from
GCONF_CFLAGS/LIBS.

* src/xsettings.c: Include glib.h if HAVE_GSETTINGS.
Let HAVE_GSETTINGS override HAVE_GCONF.
(store_monospaced_changed): New function.
(EMACS_SETTINGS): A new type derived from GObject to handle
GSettings notifications.
(emacs_settings_constructor, emacs_settings_get_property)
(emacs_settings_set_property, emacs_settings_class_init):
New functions.
(gsettings_client, gsettings_obj): New variables.
(GSETTINGS_SCHEMA): New define.
(something_changedCB): Call store_monospaced_changed.
(init_gsettings): New function.
(xsettings_initialize): Call init_gsettings.
(syms_of_xsettings): Initialize gsettings_client, gsettings_obj
to NULL.
2011-06-30 16:00:26 +02:00
Lars Magne Ingebrigtsen
656e1aab13 nnimap.el (nnimap-split-incoming-mail): If nnimap-split-fancy' is non-nil, and nnimap-split-methods' is nil, use the former. 2011-06-30 10:04:56 +00:00
Daiki Ueno
f11f303b27 Fix the last commit, do revert-buffer when plstore-revert. 2011-06-30 18:53:21 +09:00
Daiki Ueno
8a8cdb1992 Add plstore-revert, hide buffer from user.
* plstore.el (plstore-revert): New function.
(plstore-open): Use it; hide the buffer from user.
2011-06-30 18:45:44 +09:00
Daiki Ueno
c302199d28 Silence auth-source.el compilation. 2011-06-30 17:20:33 +09:00
Daiki Ueno
8977de2724 Add new auth-source backend 'plstore.
* auth-source.el (auth-source-backend): New member "arg".
(auth-source-backend-parse): Handle new backend 'plstore.
* plstore.el: New file.
2011-06-30 16:27:25 +09:00
Lars Magne Ingebrigtsen
d0b36cbeb1 nnimap.el (nnimap-process-expiry-targets): Say what target we're expiring articles to. 2011-06-30 04:07:50 +00:00
Glenn Morris
94b9acce13 * lisp/w32-fns.el (w32-charset-info-alist): Declare. 2011-06-29 20:13:35 -07:00
Glenn Morris
1d9b46d4cc * lisp/find-dired.el (find-grep-options): Simplify. 2011-06-29 20:03:07 -07:00
Glenn Morris
5cdea619b2 * lisp/gnus/gnus-fun.el (gnus-convert-image-to-x-face-command): Doc fix. 2011-06-29 20:01:09 -07:00
Glenn Morris
eeea84f413 Add bug ref to ChangeLog. 2011-06-29 19:58:08 -07:00
Glenn Morris
07a22620b4 ChangeLog fix. 2011-06-29 19:56:57 -07:00
Glenn Morris
38125d2ba2 * etc/TODO: Remove some things that got to-done. 2011-06-29 19:56:12 -07:00
Glenn Morris
cc232200f7 * lisp/term/ns-win.el (ns-set-resource): Declare. 2011-06-29 19:54:16 -07:00
Glenn Morris
ddf6fd30db * lisp/gnus/mm-util.el (mm-charset-synonym-alist): Move definition before use. 2011-06-29 19:53:07 -07:00
Glenn Morris
28e77c4682 * lisp/ses.el (row, col): Declare dynamic variables honestly. 2011-06-29 19:51:27 -07:00
Glenn Morris
887a0b3446 Silence reftex-parse compilation.
* lisp/textmodes/reftex-parse.el (index-tags): Declare.
Nuke trailing whitespace.
2011-06-29 19:50:20 -07:00
Lars Magne Ingebrigtsen
d61bdd5d04 (thing-at-point-short-url-regexp): Require that short URLs have at least one dot in them (bug #7614). 2011-06-30 04:04:32 +02:00
Lars Magne Ingebrigtsen
faf3b348f4 mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4 variations as ASCII (bug#5458). 2011-06-30 01:44:14 +00:00
Chong Yidong
658d8eb8fc Avoid calling customize-save-variable during startup (Bug#8720).
* lisp/cus-edit.el (customize-push-and-save): New function.

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

* lisp/custom.el (load-theme): New arg NO-CONFIRM.  Use
customize-push-and-save (Bug#8720).
(custom-enabled-themes): Doc fix.

* lisp/cus-theme.el (customize-create-theme)
(custom-theme-merge-theme): Callers to load-theme changed.
2011-06-29 21:39:52 -04:00
Katsumi Yamaoka
732b9594ce nnmh.el (nnmh-request-list-1): Work on MS Windows. 2011-06-30 01:27:16 +00:00
Lars Magne Ingebrigtsen
bb6177177b (rgrep): Bind `process-connection-type' to nil, because using a pty is apparently too slow (bug #895). 2011-06-30 03:09:13 +02:00
Lars Magne Ingebrigtsen
3451795ca1 Merge changes made in Gnus trunk.
message.el (message-point-in-header-p): Tweak the function to default to saying that we're not in the headers if there is no separator at all.  This makes it possible to use the Message version of `M-q' in buffers with no headers (bug#7987).
 (message-point-in-header-p): Fix last checkin to work with an empty mail-header-separator, too.
auth-source.el (auth-source-netrc-saver): If the user says "don't ask again, save the choice via customize.
message.el (message-send-mail-function): Add `sendmail-query-once'.
nnimap.el (nnimap-finish-retrieve-group-infos): If the server has ended the connection, bail out before waiting infinitely on a new connection.
2011-06-30 01:02:47 +00:00
Lars Magne Ingebrigtsen
2f31f37ab7 Add the new `sendmail-query-once' function to sendmail.el. 2011-06-29 22:21:29 +02:00
Glenn Morris
faf2a1741d * lisp/files.el (auto-mode-alist): Add .f03, .f08 for f90-mode. 2011-06-29 14:38:39 -04:00
Glenn Morris
3076b24ebb Silence ses.el compilation.
* lisp/ses.el (top-level): Require cl when compiling.
(ses-set-localvars): Fix error statement.
Call it at compile time to silence a storm of warnings.
2011-06-29 14:37:31 -04:00
Martin Rudalics
5386012dfd Rename more functions to use window-/window-- prefixes.
* window.c (resize_root_window, grow_mini_window)
(shrink_mini_window): Rename Qresize_root_window to
Qwindow_resize_root_window and Qresize_root_window_vertically to
Qwindow_resize_root_window_vertically.

* window.el (normalize-live-buffer): Rename to
window-normalize-buffer.
(normalize-live-frame): Rename to window-normalize-frame.
(normalize-any-window): Rename to window-normalize-any-window.
(normalize-live-window): Rename to window-normalize-live-window.
(make-window-atom): Rename to window-make-atom.
(window-resize-reset): Rename to window--resize-reset.
(window-resize-reset-1): Rename to window--resize-reset-1.
(resize-mini-window): Rename to window--resize-mini-window.
(resize-subwindows-skip-p): Rename to
window--resize-subwindows-skip-p.
(resize-subwindows-normal): Rename to
window--resize-subwindows-normal.
(resize-subwindows): Rename to window--resize-subwindows.
(resize-other-windows): Rename to window--resize-siblings.
(resize-this-window): Rename to window--resize-this-window.
(resize-root-window): Rename to window--resize-root-window.
(resize-root-window-vertically): Rename to
window--resize-root-window-vertically.
(normalize-buffer-to-display): Rename to
window-normalize-buffer-to-display.
(normalize-buffer-to-switch-to): Rename to
window-normalize-buffer-to-switch-to.
Correspondingly update all callers of the functions listed
above.
(display-buffer-alist, display-buffer-normalize-arguments)
(display-buffer-normalize-options, display-buffer)
(display-buffer-alist-set): Use "function" instead of
"fun-with-args".
2011-06-29 14:06:08 +02:00
Glenn Morris
130f1dac7a Auto-commit of generated files. 2011-06-29 06:18:15 -04:00
Glenn Morris
e9dfbb4a2c * configure.in: Do not override user crt-dir, even if faulty. 2011-06-28 20:47:07 -07:00
Glenn Morris
d34a9bb38f * configure.in: Tweak previous change. 2011-06-28 20:21:14 -07:00
Glenn Morris
adbc4ef4b5 * configure.in: Try to test for the required crt*.o files. 2011-06-28 22:50:32 -04:00
Teodor Zlatanov
8b7fba43dd Merge changes made in Gnus trunk.
gnus-msg.el (gnus-bug): Add Package and Version pseudo-headers to bug reports.
gnus.el (gnus-bug-package): Use "gnus."
 (gnus-maintainer): Direct bug reports to submit@debbugs.gnu.org.
2011-06-28 22:18:09 +00:00
Chong Yidong
1176868d0a Tweaks to the report-emacs-bug preamble.
* mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
debbugs.gnu.org.  Mention acknowledgment email.
2011-06-28 14:10:11 -04:00
Paul Eggert
f13e0b08d4 * gnutls.c (Qgnutls_bootprop_verify_error): Remove unused var. 2011-06-28 09:03:59 -07:00
Lars Magne Ingebrigtsen
20a7a65f9a (smtpmail-send-it): Leave off changing the buffer multibyteness, since it shouldn't matter. 2011-06-28 17:30:45 +02:00
Martin Rudalics
5f45cca553 Some more fixes of buffer display functions.
* window.el (display-buffer-in-side-window): Handle dedicated
windows as in display-buffer-reuse-window.
(display-buffer-normalize-alist): Use value of override
specifier.
(display-buffer-normalize-specifiers): Use value of
other-window-means-other-frame specifier.
(display-buffer-alist): Rewrite some texts in widgets.
(display-buffer): Spread arguments when calling function
specified by fun-with-args.
2011-06-28 14:28:40 +02:00
Deniz Dogan
da68c4c88c * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): Unnest `let'. 2011-06-28 14:09:43 +02:00
Deniz Dogan
ec49bd31ea * textmodes/css-mode.el (css-proprietary-nmstart-re): Use `regexp-opt'. 2011-06-28 13:37:05 +02:00
Deniz Dogan
ad85fe1f1b * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped selectors.
Fixes: debbugs:5732
2011-06-28 13:23:01 +02:00
Deniz Dogan
3da13bb976 * doc/misc/rcirc.texi (Configuration): Bug-fix: rcirc-default-user-full-name' is now rcirc-default-full-name'. Reported by Elias Pipping <pipping@exherbo.org>. 2011-06-28 12:18:02 +02:00
Jari Aalto
a08cc025e5 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
(eshell-ls-date-format): New defcustom.
(eshell-ls-file): Use it.
2011-06-27 17:47:39 -04:00
Stefan Monnier
e2b551c50e * lisp/help-fns.el (describe-variable): Fix message for terminal-local vars. 2011-06-27 17:39:03 -04:00
Katsumi Yamaoka
8982b23153 * lisp/net/ange-ftp.el: Allow loading .gz files (Bug#6923).
(ange-ftp-make-tmp-name): New arg.
(ange-ftp-file-local-copy): Use it.
2011-06-27 17:30:37 -04:00
Chong Yidong
430959a68a Remove incorrect ChangeLog entry from last commit. 2011-06-27 17:15:35 -04:00
Jambunathan K
36c9fa271d Coding system fix for tar-untar-buffer (Bug#8870).
* lisp/tar-mode.el (tar-untar-buffer): Set coding-system-for-write
to no-conversion.
2011-06-27 17:12:17 -04:00
Martin Rudalics
d615d6d288 Use window- prefix more consistently. Fix two buffer display bugs.
* window.c (resize_window_check): Rename to window_resize_check.
(resize_window_apply): Rename to window_resize_apply.
(Fresize_window_apply): Rename to Fwindow_resize_apply.
(Fdelete_other_windows_internal, resize_frame_windows)
(Fsplit_window_internal, Fdelete_window_internal)
(grow_mini_window, shrink_mini_window)
(Fresize_mini_window_internal): Fix callers accordingly.

* window.el (resize-window-reset): Rename to window-resize-reset.
(resize-window-reset-1): Rename to window-resize-reset-1.
(resize-window): Rename to window-resize.
(window-min-height, window-min-width)
(resize-mini-window, resize-this-window, resize-root-window)
(resize-root-window-vertically, adjust-window-trailing-edge)
(enlarge-window, shrink-window, maximize-window)
(minimize-window, delete-window, quit-restore-window)
(split-window, balance-windows, balance-windows-area-adjust)
(balance-windows-area, window-state-put-2)
(display-buffer-even-window-sizes, display-buffer-set-height)
(display-buffer-set-width, set-window-text-height)
(fit-window-to-buffer): Rename all "resize-window" prefixed
calls to use the "window-resize" prefix convention.
(display-buffer-alist): Fix symbol for label specifier.
(display-buffer-reuse-window): Set reuse-dedicated to cdr of
corresponding specifier.
Reported by Juanma Barranquero <lekktu@gmail.com>.
2011-06-27 20:32:56 +02:00
Juanma Barranquero
945152374e src/makefile.w32-in: Redesign dependencies. 2011-06-27 16:59:12 +02:00
Martin Rudalics
d68443dcee Use better names for window-next/-prev and window-vchild/-hchild.
* window.c (Fwindow_vchild): Rename to Fwindow_top_child.
(Fwindow_hchild): Rename to Fwindow_left_child.
(Fwindow_next): Rename to Fwindow_next_sibling.
(Fwindow_prev): Rename to Fwindow_prev_sibling.

* window.el (window-right, window-left, window-child)
(window-child-count, window-last-child)
(window-iso-combination-p, walk-window-tree-1)
(window-atom-check-1, window-tree-1, delete-window)
(window-state-get-1, display-buffer-even-window-sizes): Adapt to
new naming conventions - window-vchild, window-hchild,
window-next and window-prev are now called window-top-child,
window-left-child, window-next-sibling and window-prev-sibling
respectively.
2011-06-27 16:05:55 +02:00
Glenn Morris
4a834b86ce Auto-commit of loaddefs files. 2011-06-27 06:23:19 -04:00
Martin Rudalics
e43b6e4346 Have overlays with window property respect clone numbers.
* buffer.c (Qclone_number): Declare static and DEFSYM it.
(sort_overlays, overlay_strings): When an overlay's clone number
matches the window's clone number process the overlay even if
the overlay's window property doesn't match the current window.
2011-06-27 11:27:44 +02:00