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

14585 commits

Author SHA1 Message Date
Glenn Morris
df59aa7bc8 (cal-menu-holidays-menu): Use calendar-cursor-holidays rather than
cal-menu-today-holidays.
(cal-menu-today-holidays): Remove function.

(cal-menu-holiday-window-suffix): Simplify.
(cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
(cal-menu-list-holidays-previous-year, calendar-mouse-goto-date):
Remove unused functions.
(calendar-mouse-view-diary-entries): Use format rather than concat.

(cal-menu-x-popup-menu): Turn it into a macro.
(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
(calendar-mouse-print-dates): Adapt for cal-menu-x-popup-menu change.

(cal-menu-event-to-date): Remove function.
(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
(calendar-mouse-view-other-diary-entries, calendar-mouse-print-dates)
(cal-menu-set-date-title): Use calendar-cursor-to-date rather than
cal-menu-event-to-date.

(calendar-mouse-tex-day, calendar-mouse-tex-week, calendar-mouse-tex-week2)
(calendar-mouse-tex-week-iso, calendar-mouse-tex-week-monday)
(calendar-mouse-tex-filofax-daily, calendar-mouse-tex-filofax-2week)
(calendar-mouse-tex-filofax-week, calendar-mouse-tex-month)
(calendar-mouse-tex-month-landscape, calendar-mouse-tex-year)
(calendar-mouse-tex-filofax-year, calendar-mouse-tex-year-landscape):
Remove functions.
(cal-menu-context-mouse-menu): Replace the above functions with the
cal-tex versions.  Add HTML submenu.
2008-06-18 02:56:39 +00:00
Nick Roberts
4046ea0613 *** empty log message *** 2008-06-17 22:08:57 +00:00
Martin Rudalics
1662c19ba9 (split-height-threshold): Remove spurious extra line. 2008-06-17 16:33:29 +00:00
Stefan Monnier
10979c7466 * calendar/calendar.el (calendar-cursor-to-date): Add argument `event'.
(calendar-set-mark):
* calendar/diary-lib.el (diary-insert-entry):
* calendar/solar.el (calendar-sunrise-sunset): Use it.
* calendar/cal-menu.el (calendar-mouse-sunrise/sunset)
(calendar-mouse-insert-diary-entry, calendar-mouse-set-mark): Delete.
(cal-menu-context-mouse-menu): Use calendar-set-mark, diary-insert-entry,
and calendar-sunrise-sunset instead, to get proper key-shortcuts.
2008-06-17 15:42:19 +00:00
Stefan Monnier
de7a9afaf3 (vc-deduce-fileset): Add arg `only-files'.
(vc-next-action): Pass the new arg.
(vc-register): Don't use `only-files'.
Don't set `backup-inhibited' in the current buffer.
2008-06-17 15:39:06 +00:00
Miles Bader
4271b4248d Use buffer-face-mode for mouse font menu
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1252
2008-06-17 11:28:06 +00:00
Miles Bader
d7ed971d66 Add buffer-face-mode
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1251
2008-06-17 11:27:51 +00:00
Miles Bader
d03d411d4a Order multiple entries more cleverly in face-remap-add-relative
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1250
2008-06-17 11:27:36 +00:00
Glenn Morris
e76dd29354 Regenerate. 2008-06-17 05:58:34 +00:00
Glenn Morris
bb715837d8 (calendar-move-hook):Add calendar-update-mode-line as an option.
(calendar-date-echo-text): New user option.
(calendar-generate-month): Set `day'.  Use calendar-date-echo-text.
(calendar-insert-indented): Simplify newline insertion.
(calendar-describe-mode): Remove unused function.
(calendar-mode-line-entry): New function.
(calendar-mode-line-format): Doc fix.  Use calendar-mode-line-entry.
Mark as risky.
(calendar-mouse-other-month): Remove function.
(calendar-other-month): Handle mouse events.
(calendar-goto-info-node): Call fit-window-to-buffer.
(calendar-mode): Use define-derived-mode.  Doc fix.
(calendar-update-mode-line): Tweak whitespace.
2008-06-17 05:56:48 +00:00
Stefan Monnier
7b74a6f9f0 (vc-dir-child-files): Use vc-string-prefix-p.
(vc-dir-marked-only-files): vc-string-prefix-p.
2008-06-16 20:36:55 +00:00
Nick Roberts
c139bf0bcc *** empty log message *** 2008-06-16 11:24:50 +00:00
Jason Rumney
a3b0cc1b2d (nxml-mode): Use run-mode-hooks. 2008-06-16 10:30:31 +00:00
Juanma Barranquero
20ac86f4e9 (vc-diff-internal): Declare for compiler. 2008-06-16 09:28:44 +00:00
Juanma Barranquero
def61be234 (log-view-per-file-logs): Pacify byte compiler. 2008-06-16 08:55:56 +00:00
Chong Yidong
41d61331ec * mouse.el (mouse-appearance-menu-map): New var.
(mouse-appearance-menu): New function.
Bind it to S-down-mouse-1.
2008-06-15 20:04:18 +00:00
Juri Linkov
586f928490 (Info-toc): Call Info-toc-nodes instead of Info-build-toc.
(Info-toc, Info-insert-toc): Increment nth's index to add PARENT
as the second element.
(Info-build-toc): Add PARENT element extracted from the Up pointer.
Don't print progress messages.
(Info-toc-nodes): New variable and function.
(Info-index-nodes): Optimize non-string file name case.
(Info-breadcrumbs-depth): Increment the default value from 3 to 4.
(Info-insert-breadcrumbs): Use the cached document structure instead
of visiting all ancestor nodes.  Remove the initial `>'.
2008-06-15 18:18:16 +00:00
Michael Albinus
d8ac123e39 (tramp-open-connection-setup-interactive-shell): Flush cache, and
restart `tramp-maybe-open-connection' when the remote system has
been changed. Throw 'uname-changed event.
(tramp-maybe-open-connection): Catch it.
2008-06-15 16:59:25 +00:00
Dan Nicolaescu
6653c6b769 * log-view.el (log-view-diff-changeset): New function.
(log-view-mode-map, log-view-mode-menu): Bind it.
(log-view-per-file-logs, log-view-vc-fileset)
(log-view-vc-backend): New variables.
(log-view-find-revision, log-view-modify-change-comment)
(log-view-annotate-version): Throw an error if the log is for more
than one file and we can't find the current file.  Get the current
file from log-view-vc-fileset if necessary.
(log-view-diff): Get the current file from log-view-vc-fileset if
necessary.

* vc.el (vc-print-log): Set log-view-vc-fileset and log-view-vc-backend.

* vc-hg.el (vc-hg-log-view-mode): Call the log method only once.
(vc-hg-log-view-mode): Declare for compiler.
(vc-hg-log-view-mode): Set log-view-per-file-logs and
log-view-file-re.
(vc-hg-diff): If no file is passed, use default-directory for cwd.

* vc-bzr.el (vc-bzr-log-view-mode): Set log-view-per-file-logs.

* vc-svn.el (vc-svn-log-view-mode): New derived mode.
2008-06-15 14:58:24 +00:00
Michael Albinus
6f77e7d72e * net/tramp-cmds.el (tramp-cleanup-all-connections): Reset
`tramp-locked'.
2008-06-15 13:40:27 +00:00
Ulf Jasper
574ec56524 newsticker: window dedication, orphan feeds. 2008-06-15 10:57:06 +00:00
Andreas Schwab
06abe7bc18 (vc-cvs-status-extra-headers): Don't match newline
when parsing CVS/Repository.
2008-06-15 10:29:13 +00:00
Andreas Schwab
390b0feef5 (wdired-search-and-rename): Fix undocumented change. 2008-06-15 09:43:38 +00:00
Ulf Jasper
0d00764ae5 Moved some faces from newst-plainview to newst-reader. 2008-06-15 08:04:13 +00:00
Stefan Monnier
813c812568 (encoded-kbd-self-insert-utf-8): Catch and recover from case when the bytes
we thought we were reading turn out to be something else entirely, such as
latin-1 chars from quail.  See bug#396.
2008-06-15 04:43:35 +00:00
Dan Nicolaescu
39693840dc (vc-deduce-fileset): Check if the buffer has a file.
(vc-register): Call the backend function only once, instead of
once for each file.
(vc-next-action): Update call to vc-register.
(vc-dir-register): Remove function.
(vc-dir): Bind vc-register instead of vc-dir-register.
2008-06-15 02:52:44 +00:00
Glenn Morris
04eddd7dcd Fix typo. 2008-06-14 19:23:59 +00:00
Glenn Morris
f7a4b082a4 (ELCFILES): Add Add net/newst-*.el. 2008-06-14 19:23:02 +00:00
Stefan Monnier
f6d346c940 (wdired-do-renames): New function.
(wdired-finish-edit): Use it to.
(wdired-preprocess-files): Don't hardcode (point-min) == 1.
2008-06-14 17:00:01 +00:00
Stefan Monnier
508021c76d (Info-insert-breadcrumbs): Don't break in apropos and toc. 2008-06-14 16:01:38 +00:00
Martin Rudalics
106f594c71 (window--even-window-heights): Even window heights
only if the selected window is higher than WINDOW.
2008-06-14 08:58:56 +00:00
Stefan Monnier
159dfddecb (Info-insert-breadcrumbs): Be careful to preserve history. 2008-06-14 01:59:21 +00:00
Stefan Monnier
960ec30cde (terminal-init-linux): Load t-mouse. 2008-06-13 21:59:41 +00:00
Stefan Monnier
fdeb777a1d (Info-breadcrumbs-depth): New var.
(Info-insert-breadcrumbs): New function.
(Info-fontify-node): Use it.
(Info-mode-map): Move initialization into declaration.
2008-06-13 20:34:26 +00:00
Ulf Jasper
2900b2d8f8 Renamed newsticker-*.el to newst-*.el. 2008-06-13 17:08:25 +00:00
Stefan Monnier
ec4e0abcd2 * progmodes/compile.el (compilation-start): Don't disable undo in
comint buffer.  Don't override the comint-filter with our own.
(compilation-filter): Change point's insertion-type.
* comint.el (comint-output-filter): Use copy-marker.
2008-06-13 16:22:16 +00:00
Stefan Monnier
747d0c440f (mail-mode-flyspell-verify):
Check message-signature-separator exists before using it.
2008-06-13 15:15:32 +00:00
Dan Nicolaescu
38b627cea0 (vc-annotate-show-diff-revision-at-line): Move most of the code to ...
(vc-annotate-show-diff-revision-at-line-internal): ... here.  New
function.
(vc-annotate-show-changeset-diff-revision-at-line): New function.
(vc-annotate-mode-menu): Bind it.
2008-06-13 14:51:06 +00:00
Dan Nicolaescu
05fae1be0c (vc-delete-file): Bound default-directory before calling
the backend.
2008-06-13 14:40:57 +00:00
Jason Rumney
c652498926 (mouse-set-font): Remove overridden function.
(w32-select-font): Declare as obsolete alias for x-select-font.
2008-06-13 14:28:13 +00:00
Juanma Barranquero
b344d29d16 Fix typos, convert to utf-8. 2008-06-13 13:42:21 +00:00
Glenn Morris
3f6f1d8e86 Daniel Engeler <engeler at gmail.com>
These changes add serial port access.
(term-update-mode-line): Modify.
(serial-port-is-file-p, serial-nice-speed-history)
(serial-no-speed, serial-mode-line-speed-menu)
(serial-mode-line-config-menu): New variables and constants.
(serial-name-history, serial-speed-history)
(serial-supported-or-barf, serial-read-name, serial-read-speed)
(serial-term, serial-speed, serial-mode-line-speed-menu-1)
(serial-mode-line-speed-menu, serial-update-speed-menu)
(serial-mode-line-config-menu-1, serial-mode-line-config-menu)
(serial-update-config-menu): New functions.
2008-06-13 08:04:56 +00:00
Glenn Morris
2c09b70c8e (menu-set-font): Use fboundp rather than functionp. 2008-06-13 04:17:08 +00:00
Kenichi Handa
53aaf1e22f (LFACE_FOUNDRY): New macro.
(check_lface_attrs): Check foundry.
(set_lface_from_font): Don't parse "FOUNDRY-FAMILY" from.
(merge_face_vectors): Check foundry.
(merge_face_ref): Likewise.
(Finternal_set_lisp_face_attribute): Likewise.
(x_update_menu_appearance): Likewise.
(Finternal_get_lisp_face_attribute): Likewise.
(lface_hash): Likewise.
(lface_same_font_attributes_p): Likewise.
(x_supports_face_attributes_p): Likewise.
(tty_supports_face_attributes_p): Likewise.
(Finternal_set_alternative_font_family_alist): Intern strings.
(Finternal_set_alternative_font_registry_alist): Downcase strings.
(realize_default_face): Set LFACE_FOUNDRY (lface).
2008-06-13 02:08:52 +00:00
Stefan Monnier
2456bb63ba (map-y-or-n-p): Accept non-char events. 2008-06-12 20:43:03 +00:00
Chong Yidong
a70b4e6e21 * longlines.el (longlines-search-forward)
(longlines-search-backward, longlines-re-search-forward): Use a
smarter search-spaces-regexp.
2008-06-12 17:27:45 +00:00
Sam Steingold
260c15b4b9 (vc-rename-file): DTRT when the destination is a directory name and the source is a file. 2008-06-12 16:56:43 +00:00
Chong Yidong
ed6fd57fbd * menu-bar.el (menu-set-font): Renamed x-font-dialog to
x-select-font.
2008-06-12 15:29:52 +00:00
Glenn Morris
aa360da10d Add some compiler declarations, for builds without X. 2008-06-12 03:56:20 +00:00
Stefan Monnier
f7ed19a3ee (vc-rcs-state-heuristic): Don't assume the file exists. 2008-06-11 15:55:55 +00:00