1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

52891 Commits

Author SHA1 Message Date
Richard M. Stallman
a27235b3b5 (define-minor-mode): Use called-interactively-p. 2004-11-02 09:23:34 +00:00
Richard M. Stallman
086af77cf5 (byte-compile-warning-types): Add interactive-only.
(byte-compile-warnings): Add interactive-only as option.
(byte-compile-interactive-only-functions): New variable.
(byte-compile-form): Warn about calls to functions
in byte-compile-interactive-only-functions.
2004-11-02 09:22:16 +00:00
Richard M. Stallman
f7ed02acc7 (update-file-autoloads): Don't use interactive-p; take new arg SAVE-AFTER. 2004-11-02 09:20:13 +00:00
Richard M. Stallman
ae03e7cf52 (ad-make-advised-definition): Use called-interactively-p. 2004-11-02 09:17:50 +00:00
Richard M. Stallman
085db7de2d (replace_range_2): New function. 2004-11-02 09:14:11 +00:00
Richard M. Stallman
5d19ee8aa5 (casify_region): Handle changes in byte-length using replace_range_2. 2004-11-02 09:12:51 +00:00
Richard M. Stallman
37663086b1 (USAGE3): Delete --horizontal-scroll-bars, -hb. 2004-11-02 09:10:13 +00:00
Richard M. Stallman
d41b17ea2f (back_to_previous_visible_line_start):
Subtract 1 from pos when checking previous newline for invisibility.
2004-11-02 09:08:42 +00:00
Richard M. Stallman
dc297565e7 (window_scroll_pixel_based): Update preserve_y for header line if any.
(Fscroll_left, Fscroll_right): Don't call interactive_p;
use a new second argument instead.
2004-11-02 09:06:06 +00:00
Richard M. Stallman
c63df42bfa (Fcall_interactive_p): New function.
(interactive_p): Don't test INTERACTIVE here.
(Finteractive_p): Doc fix.

(Feval): Abort if INPUT_BLOCKED_P.
2004-11-02 08:59:26 +00:00
Jason Rumney
fe4dcb868e Use fast_string_match_ignore_case for comparing font names. 2004-11-02 08:55:10 +00:00
Jason Rumney
a3fe4aaf37 *** empty log message *** 2004-11-02 08:54:05 +00:00
Jan Djärv
cba71f2453 Mention use-old-gtk-file-dialog. 2004-11-02 08:27:06 +00:00
Jan Djärv
4f0d76fbde * frames.texi (Dialog Boxes): Document use-old-gtk-file-dialog. 2004-11-02 08:26:21 +00:00
Jan Djärv
f9d64bb358 * fileio.c (Fread_file_name): Pass Qt as fifth parameter to
Fx_file_dialog if only directories should be read.

* lisp.h: Fx_file_dialog takes 5 parameters.

* xfns.c (Fx_file_dialog): Both Motif and GTK version:  Add
parameter only_dir_p.
In Motif version, don't put DEFAULT_FILENAME in filter part of the
dialog, just text field part.  Do not add DEFAULT_FILENAME
to list of files if it isn't there.
In GTK version, pass only_dir_p parameter to xg_get_file_name.

* macfns.c (Fx_file_dialog): Add parameter only_dir_p.  Check
only_dir_p instead of comparing prompt to "Dired".  When using
a save dialog, add option kNavDontConfirmReplacement, change title
to "Enter name", change text for save button to "Ok".

* w32fns.c (Fx_file_dialog): Add parameter only_dir_p.  Check
only_dir_p instead of comparing prompt to "Dired".

* gtkutil.c (xg_get_file_with_chooser)
(xg_get_file_with_selection): New functions, only defined ifdef
HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW
respectively.
(xg_get_file_name): Add parameter only_dir_p.
Call xg_get_file_with_chooser or xg_get_file_with_selection
depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog.
(xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog.

* gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
2004-11-02 08:21:16 +00:00
Jan Djärv
46bfc73bed * files.el (find-file-existing): New function.
* menu-bar.el (menu-bar-files-menu): Make "Open File..." call
find-file-existing.  Add "New File..." that calls find-file.

* dired.el (dired-read-dir-and-switches): Call read-driectory-name
instead of read-file-name.
2004-11-02 07:57:53 +00:00
Jan Djärv
95ec60bcbf * toolbar/tool-bar.el (tool-bar-setup): Tool bar item dired uses
icon diropen.  New tool bar item find-file-existing uses icon open.
* diropen.pbm diropen.xpm: New files.
2004-11-02 07:56:08 +00:00
Jan Djärv
2a00cdb499 * config.in: Rebuild (added HAVE_GTK_FILE_*). 2004-11-02 07:34:28 +00:00
Jan Djärv
572a3cc266 * configure.in (HAVE_GTK_FILE_CHOOSER, $HAVE_GTK_FILE_SELECTION): New
tests for new and old GTK file dialogs.
* configure: Rebuild
2004-11-02 07:33:51 +00:00
Glenn Morris
fba8240fd6 *** empty log message *** 2004-11-02 01:15:04 +00:00
Glenn Morris
81d565943d From Ulf Jasper <ulf.jasper@web.de>:
(icalendar-version): Increase to 0.08.
(icalendar--split-value): Change name of work buffer.
(icalendar--get-weekday-abbrev): Return nil on error.
(icalendar--date-to-isodate): New function.
(icalendar-convert-diary-to-ical)
(icalendar-extract-ical-from-buffer): Use only two args for
make-obsolete (XEmacs compatibility).
(icalendar-export-file, icalendar-import-file): Blank at end of prompt.
(icalendar-export-region): Doc fix.  If error, return non-nil
and write errors to buffer ` *icalendar-errors*'.  Use correct weekday
for weekly recurring events.  Check whether date has been parsed for
ordinary events.  Make weekly events start in the year 2000.  DTEND is
non-inclusive, shift end date by one day if necessary (not for entries
that have date and time).  Rename local let variables: oops ->
found-error, datestring -> startdatestring.
2004-11-02 01:05:27 +00:00
Kim F. Storm
3467488ee7 (set-auto-mode-0): Don't rely on dynamic binding of
keep-mode-if-same variable.  Add it as optional arg instead.
(set-auto-mode): Call set-auto-mode-0 with keep-mode-if-same.
2004-11-01 23:16:42 +00:00
Kim F. Storm
ad8d994cbe (electric-help-map): Reorder Q/q and R/r entries so
substitute-command-keys will select lower-case bindings like those
used in the static help texts.
2004-11-01 23:16:25 +00:00
Kim F. Storm
3fc26d4804 *** empty log message *** 2004-11-01 23:13:39 +00:00
Kim F. Storm
0911ac2657 (describe-text-properties): Don't err if called in
the *Help* buffer; output to *Help-2* buffer instead.
2004-11-01 23:06:51 +00:00
Miles Bader
e26422500c Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-660
Merge from gnus--rel--5.10

Patches applied:

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-65
   Update from CVS

2004-11-01  Reiner Steib  <Reiner.Steib@gmx.de>

   * lisp/gnus/gnus-msg.el (gnus-summary-resend-default-address): Add :version.

   * lisp/gnus/tls.el (tls-process-connection-type, tls-success)
   (tls-certtool-program): Add :version.

   * lisp/gnus/starttls.el (starttls-gnutls-program, starttls-use-gnutls)
   (starttls-extra-arguments, starttls-process-connection-type)
   (starttls-connect, starttls-failure, starttls-success):

   * lisp/gnus/spam-stat.el (spam-stat): Add :version.

   * lisp/gnus/sieve.el (sieve): Add :version.

   * lisp/gnus/sha1.el (sha1): Added :version.
   (sha1-use-external): Removed redundant version.

   * lisp/gnus/nnmail.el (nnmail-split-fancy-with-parent-ignore-groups)
   (nnmail-cache-ignore-groups, nnmail-spool-hook)
   (nnmail-split-fancy-match-partial-words)
   (nnmail-split-lowercase-expanded):

   * lisp/gnus/nndiary.el (nndiary): Add :version.

   * lisp/gnus/mml2015.el (mml2015-unabbrev-trust-alist): Add :version.

   * lisp/gnus/mml-sec.el (mml-default-sign-method)
   (mml-default-encrypt-method, mml-signencrypt-style-alist): Add
   :version.

   * lisp/gnus/mm-uu.el (mm-uu-diff-groups-regexp): Add :version.

   * lisp/gnus/mm-url.el (mm-url-use-external, mm-url-program)
   (mm-url-arguments): Add :version.

   * lisp/gnus/mm-decode.el (mm-inline-text-html-with-w3m-keymap)
   (mm-attachment-file-modes, mm-decrypt-option)
   (mm-w3m-safe-url-regexp): Add :version.

   * lisp/gnus/message.el (message-cite-prefix-regexp)
   (message-sendmail-envelope-from, message-minibuffer-local-map)
   (message-user-fqdn, message-completion-alist): Add :version.

   * lisp/gnus/gnus-win.el (gnus-configure-windows-hook)
   (gnus-use-frames-on-any-display): Add :version.

   * lisp/gnus/gnus-art.el (gnus-article-address-banner-alist)
   (gnus-treat-unsplit-urls, gnus-treat-unfold-headers)
   (gnus-treat-from-picon, gnus-treat-mail-picon)
   (gnus-treat-x-pgp-sig): Add :version.

   * lisp/gnus/gnus-sum.el (gnus-spam-mark, gnus-recent-mark)
   (gnus-undownloaded-mark, gnus-summary-article-move-hook)
   (gnus-summary-article-delete-hook)
   (gnus-summary-display-while-building): Add :version.

   * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-hooks)
   (gnus-get-top-new-news-hook):Add :version.

   * lisp/gnus/gnus-srvr.el (gnus-server-agent-face, gnus-server-opened-face)
   (gnus-server-closed-face, gnus-server-denied-face): Add :version.

   * lisp/gnus/gnus-registry.el (gnus-registry): Add :version.

   * lisp/gnus/gnus-spec.el (gnus-use-correct-string-widths)
   (gnus-make-format-preserve-properties): Add :version.

   * lisp/gnus/gnus.el (gnus-group-charter-alist)
   (gnus-group-fetch-control-use-browse-url)
   (gnus-install-group-spam-parameters): Add :version.

   * lisp/gnus/gnus-diary.el (gnus-diary): Add :version.

   * lisp/gnus/gnus-delay.el (gnus-delay): Add :version.

   * lisp/gnus/gnus-cite.el (gnus-cite-unsightly-citation-regexp)
   (gnus-cite-ignore-quoted-from, gnus-cite-attribution-face)
   (gnus-cite-blank-line-after-header, gnus-article-boring-faces):
   Add :version.

   * lisp/gnus/gnus-agent.el (gnus-agent-max-fetch-size)
   (gnus-agent-enable-expiration, gnus-agent-queue-mail)
   (gnus-agent-prompt-send-queue): Add :version.

   * lisp/gnus/deuglify.el (gnus-outlook-deuglify): Add :version.

   * lisp/gnus/html2text.el: Beautify code. Improve doc strings. Some checkdoc
   cleanup.
   (html2text-get-attr, html2text-fix-paragraph): Simplify code.
   (html2text-format-tag-list): Added "strong" and "em".  From
   "Alfred M. Szmidt" <ams@kemisten.nu> (tiny change).
2004-11-01 23:06:36 +00:00
Kim F. Storm
1b25dccd6e (group kmacro): Add :version.
(kmacro-keyboard-quit): New function to cleanup on C-g.
(kmacro-start-macro): Set defining-kbd-macro to append when
appending to last macro.
2004-11-01 23:06:32 +00:00
Kim F. Storm
8a7644e9fd (keyboard-quit): Call kmacro-keyboard-quit. 2004-11-01 23:03:12 +00:00
Kim F. Storm
23ed65c0e3 *** empty log message *** 2004-11-01 23:02:26 +00:00
Nick Roberts
27b3b9d302 (gdb-enable-debug-log)
(gdb-use-inferior-io-buffer, gdb-use-colon-colon-notation)
(gud-gdba-command-name, gdb-show-main, gdb-many-windows):
Add :version keyword.
2004-11-01 20:47:03 +00:00
Nick Roberts
f73f97084b *** empty log message *** 2004-11-01 20:46:16 +00:00
Jay Belanger
97d8398874 (calc-over-notation): Replaced `completing-read' with
`interactive "s"'.
2004-11-01 20:08:56 +00:00
Masatake YAMATO
12e46b0083 2004-11-2 Pavel Kobiakov <pk_at_work@yahoo.com>
* progmodes/flymake.el (flymake-err-line-patterns): Use
	`flymake-reformat-err-line-patterns-from-compile-el' to convert
	`compilation-error-regexp-alist-alist' to internal Flymake format.

	* progmodes/flymake.el: eliminated byte-compiler warnings.
2004-11-01 17:42:31 +00:00
Stefan Monnier
11fd50f793 *** empty log message *** 2004-11-01 15:02:09 +00:00
Kim F. Storm
e84fe274bc Add redisplay related errors. 2004-11-01 14:06:54 +00:00
Jan Djärv
df0a91e2d1 * mouse.el (mouse-yank-at-click, mouse-yank-secondary): Revert
change from 2004-10-16.  '*' checks the current buffer, but the
mouse click may be in another buffer.
2004-11-01 13:50:50 +00:00
Jan Djärv
a4cabe41c2 (mouse-yank-at-click, mouse-yank-secondary): Revert
change from 2004-10-16.  '*' checks the current buffer, but the
mouse click may be in another buffer.
2004-11-01 13:50:49 +00:00
Jan Djärv
03a693b48a * xlwmenu.c (find_first_selectable, find_next_selectable)
(find_prev_selectable): Rename parameter skip_no_call_data to
skip_titles.  Recognize titles as having no call_data and no contents.
(Down, Up): Comment update.
2004-11-01 12:20:45 +00:00
Kim F. Storm
bad49fc7c2 (connect_wait_mask, num_pending_connects): Only
declare and use them if NON_BLOCKING_CONNECT is defined.
(IF_NON_BLOCKING_CONNECT): New helper macro.
(wait_reading_process_output): Only declare and use local vars
Connecting and check_connect when NON_BLOCKING_CONNECT is defined.
(init_process): Initialize them if NON_BLOCKING_CONNECT defined.
2004-11-01 11:04:37 +00:00
Kim F. Storm
f6749d5d75 *** empty log message *** 2004-11-01 11:03:51 +00:00
Miles Bader
2a95505b3e Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-658
Merge from gnus--rel--5.10

Patches applied:

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-64
   Update from CVS

2004-10-29  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-msg.el (gnus-configure-posting-styles): Work with empty
   signature file.  Suggested by Manoj Srivastava
   <srivasta@golden-gryphon.com>.
2004-11-01 10:41:03 +00:00
Jason Rumney
e8ac5d8824 Delete region objects after use. 2004-11-01 08:52:47 +00:00
Jason Rumney
1a99fe1a39 *** empty log message *** 2004-11-01 08:51:57 +00:00
John Paul Wallington
2c10c0f063 (bibtex-make-field): Fix typo. 2004-11-01 08:13:50 +00:00
John Paul Wallington
2b601e1ccd (group thumbs): Add :version keyword. 2004-11-01 08:01:14 +00:00
John Paul Wallington
bb8eaf6705 (large-file-warning-threshold): Add :version keyword.
(kill-some-buffers): Doc fix.
2004-11-01 07:56:17 +00:00
Richard M. Stallman
2d1ef312c8 *** empty log message *** 2004-11-01 07:48:44 +00:00
Richard M. Stallman
e2c76fd857 (eudc-display-records): Use with-output-to-temp-buffer;
don't select the temporary buffer.
(eudc-get-email): New optional arg ERROR; don't use interactive-p.
(eudc-get-phone): Likewise.
2004-11-01 07:47:18 +00:00
Richard M. Stallman
9d0d107084 (Interactive Call): Add called-interactively-p. 2004-11-01 07:47:08 +00:00
Richard M. Stallman
ca5f43fa07 (5x5-new-game): Set up the buffer even if not interactive. 2004-11-01 07:46:16 +00:00