1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00
Commit Graph

249 Commits

Author SHA1 Message Date
Richard M. Stallman
b23b6fecf7 (menu-bar-file-menu): Make this the real name
and menu-bar-files-menu the alias.  Use the former.
(global-map): Use `file', not `files', as the symbol.
2004-11-08 16:44:15 +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
Richard M. Stallman
da67fa9af8 (menu-bar-make-toggle): Instead of interactive-p,
use an arg set non-nil by the interactive spec.
2004-10-26 08:31:40 +00:00
Kim F. Storm
4bf6af929c (menu-bar-options-menu): Change menu text for CUA. 2004-04-30 21:44:12 +00:00
Richard M. Stallman
d08fd12f3a (menu-bar-update-buffers): Call copy-sequence so "Buffers" won't be pure. 2004-04-20 20:54:00 +00:00
Dave Love
e3fa3057d7 (menu-bar-showhide-menu): Amend date and time label
and :help; also line and column numbers labels.
2003-09-01 18:48:10 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Karl Fogel
aef1a2e639 * menu-bar.el (menu-bar-options-menu): Supply a body for the
[save-place] binding in the Options menu.  Have it require 'saveplace'
and then toggle the variable manually, to avoid an an unbound variable
error.  Thanks to <Sebastien.Kirche@sage.com> for the bug report.
2003-08-12 05:14:49 +00:00
Richard M. Stallman
ee103a412e (menu-bar-tools-menu): Minor change in strings. 2003-07-25 07:03:21 +00:00
Richard M. Stallman
3f9f1c1fba (menu-bar-options-menu): Move mouse-set-fonts item here. 2003-06-28 11:54:09 +00:00
Stefan Monnier
9817a6a3ee (ispell-menu-bar): Don't autoload.
(cvs-global-menu): Use the function rather than the variable.
2003-06-16 20:30:31 +00:00
Stefan Monnier
c960446b52 (menu-bar-options-menu) <cua-mode>: Use menu-bar-make-mm-toggle. 2003-05-13 19:13:13 +00:00
Jan Djärv
8ab9589dfc * startup.el (command-line): Call menu-bar-mode with 1 instead of t.
* menu-bar.el (menu-bar-mode): Change to define-minor-mode
and initialize as for tool-bar-mode.
2003-03-01 15:55:04 +00:00
Richard M. Stallman
59dac63b7f (Revert Buffer): Condition on buffer-file-number. 2003-02-23 15:17:29 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
John Paul Wallington
0e5ddee193 (menu-bar-left-scroll-bar): Set `scroll-bar-mode'
to `left'.
2003-01-02 16:08:15 +00:00
Richard M. Stallman
686e63b330 (menu-bar-describe-menu): Add "What's This?" item. 2002-11-24 19:01:18 +00:00
Richard M. Stallman
4cd9f28262 (menu-bar-options-menu): Improve tooltip string. 2002-11-18 04:56:00 +00:00
Richard M. Stallman
e2bd460ac2 (menu-bar-search-menu): Nicer help string. 2002-09-18 16:04:51 +00:00
Kim F. Storm
bac6e4e23a (menu-bar-last-search-type): New var.
(nonincremental-repeat-search-forward)
(nonincremental-repeat-search-backward): Repeat string or
regexp search depending on menu-bar-last-search-type.
(nonincremental-search-forward, nonincremental-re-search-forward)
(nonincremental-search-backward, nonincremental-re-search-backward):
Set menu-bar-last-search-type to string or regexp.
(nonincremental-repeat-re-search-forward): Removed.
(nonincremental-repeat-re-search-backward): Removed.
(menu-bar-replace-menu): New keymap for "Edit->Replace" submenu.
(menu-bar-i-search-menu): New keymap for "Incremental Search" submenu.
(menu-bar-adv-search-menu): Removed.
(menu-bar-search-menu): Reorganized.
(menu-bar-edit-menu): Added "Replace" submenu.
2002-09-15 21:35:23 +00:00
Richard M. Stallman
72c0e39453 (menu-bar-make-mm-toggle): Don't put a quote befor FNAME
when it's not being evaluated.
2002-09-15 20:51:20 +00:00
Stefan Monnier
a9d9606141 (line-number-mode, column-number-mode)
(transient-mark-mode): Use minor mode directly.
(menu-bar-make-toggle): Remove `props' arg.
Move customize-mark-as-set directly into the toggle function.
2002-09-11 21:56:50 +00:00
Stefan Monnier
09bfa5cafb (menu-bar-make-mm-toggle): New macro.
(showhide-menu-bar, showhide-toolbar, menu-bar-toggle-auto-compression)
(toggle-highlight-paren-mode, toggle-global-lazy-font-lock-mode):
Remove.  Use the minor mode function directly instead.
(menu-bar-mode): Add message and customize-mark-as-set and return
the new value as do other minor modes.
2002-09-06 20:27:59 +00:00
Markus Rost
724f328c91 (menu-bar-read-mail): Doc fix. 2002-08-30 15:21:38 +00:00
Richard M. Stallman
13ef5524b5 (fringe-mode): Set to nil. 2002-08-17 04:59:14 +00:00
Richard M. Stallman
277e0f9d8f (menu-bar-next-tag-other-window, menu-bar-next-tag)
(menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
(menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
(menu-bar-toggle-cua-mode, menu-bar-read-mail)
(menu-bar-help-extra-packages, help-with-tutorial-spec-language)
(menu-bar-text-mode-auto-fill): New commands, used
in menu bar menus instead of lambda expressions.

(menu-bar-showhide-fringe-menu-customize-left)
(menu-bar-showhide-fringe-menu-customize-right)
(menu-bar-showhide-fringe-menu-customize-disable)
(menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.

(menu-bar-options-menu): Use toggle-truncate-lines.
(showhide-date-time): Call customize-mark-as-set.
2002-08-15 20:15:20 +00:00
Simon Josefsson
6b285f6079 2002-06-30 Simon Josefsson <jas@extundo.com>
* menu-bar.el (menu-bar-options-menu): Move elisp mode names from
	menu entry into balloon help.
2002-06-30 21:29:39 +00:00
Stefan Monnier
e7b6ee945a (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
without first making sure it's bound.
2002-06-12 13:55:59 +00:00
Richard M. Stallman
af5090c285 (menu-bar-showhide-fringe-menu): Use defvar. 2002-05-30 17:13:22 +00:00
Miles Bader
00cb70dc36 (menu-bar-showhide-fringe-menu-customize-left)
(menu-bar-showhide-fringe-menu-customize-right)
(menu-bar-showhide-fringe-menu-customize-disable):
Use proper calling convention for `customize-set-value'.
Require `fringe' before setting variable.
2002-05-25 05:15:07 +00:00
Simon Josefsson
8cfa1cd56c (menu-bar-options-save): Add fringe-mode.
(menu-bar-showhide-fringe-menu): New menu.
(menu-bar-showhide-menu): Add Fringe sub-menu.
2002-05-24 09:52:21 +00:00
Colin Walters
1edd6ac448 (menu-bar-tools-menu) <calculator>: Renamed to "Simple Calculator".
(menu-bar-tools-menu) <calc>: New.
2002-05-16 19:32:32 +00:00
Eli Zaretskii
5f7b6438fb (menu-bar-showhide-scroll-bar-menu)
(menu-bar-showhide-menu): Use display-graphic-p, not
widnow-system.
(menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
Run a named function.
(showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
(menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
Fix help text.
2002-05-10 09:42:49 +00:00
Kim F. Storm
06753468d3 (menu-bar-make-toggle): Added optional PROPS arg.
(menu-bar-options-save): Added cua-mode.
(menu-bar-options-menu): Added toggle for cua-mode.  Disable
toggle for transient-mark-mode if cua-mode is enabled.
2002-05-01 22:01:16 +00:00
Kim F. Storm
6e0fbd659e (menu-bar-custom-menu): Change "Recently Changed Options"
to "New Options..."; rephrase tooltip.
Rephrase tooltip for "Specific Option...".
Added "Saved Options" item.  [from Simon Marshall]
2002-04-30 20:39:00 +00:00
Richard M. Stallman
332b907c86 (menu-bar-update-buffers): Add menu items Next Buffer and Previous Buffer. 2002-04-27 23:18:21 +00:00
Eli Zaretskii
929fa5ce07 (menu-bar-adv-search-menu, menu-bar-adv-search-menu): Improve the help text. 2002-04-24 17:17:10 +00:00
Miles Bader
68310f2a12 (buffers-menu-show-directories, buffers-menu-show-status): New variables.
(menu-bar-update-buffers-1): Use them.
2002-04-24 05:35:03 +00:00
Miles Bader
7c1fc73398 (menu-bar-update-buffers-1): Make sure `uniquify-buffer-name-style' is bound. 2002-04-24 00:08:34 +00:00
Andreas Schwab
262748c574 (menu-bar-goto-menu): Fix bindings for next-tag and next-tag-otherw. 2002-04-23 15:16:54 +00:00
Miles Bader
68703c1156 (menu-bar-update-buffers-1): Don't display a directory separator if
there's no directory.  Don't display directories at all if uniquify is
active.  Some code cleanup.
(uniquify-buffer-name-style): Declare (but don't initialize).
2002-04-23 14:33:02 +00:00
Miles Bader
887d3c942f (menu-bar-update-buffers): Don't use constant lists for command menu
entries, since the low-level menu code modifies them.  Cache the
resulting list.
(menu-bar-buffers-menu-command-entries): New variable.
2002-04-23 08:36:35 +00:00
Miles Bader
8b621d39e2 (menu-bar-update-buffers): Add `Select Named Buffer'.
Add separator line before commands
Remove old crufty code that tried to line things up by adding
spaces to entries (it doesn't work).
Move `Frames' submenu after the normal buffers, and add a
separator line before it.
(menu-bar-buffers-menu-list-buffers-entry): Variable removed.
2002-04-23 05:02:14 +00:00
Pavel Janík
bc6f379196 (menu-bar-adv-search-menu): Add incremental search. 2002-04-11 13:41:49 +00:00
Richard M. Stallman
39328775af (menu-bar-tools-menu): Rename gdb item to say GDB. 2002-03-31 03:16:26 +00:00
Richard M. Stallman
e51c889c5d (menu-bar-options-menu): Cope if text-mode-hook is not a list. 2002-03-18 09:06:35 +00:00
Per Abrahamsen
9b2d1d408c 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
* facemenu.el (describe-text-mode-map): Removed bootstrap kludge.

	* toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
	* menu-bar.el (menu-bar-mode): Ditto.
2002-02-19 10:30:30 +00:00
Per Abrahamsen
a9c6d330d5 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
* menu-bar.el (menu-bar-showhide-menu): Added speedbar.
	(menu-bar-tools-menu): Removed speedbar.

	* textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
	and `flyspell-mode' entries.

	* textmodes/flyspell.el (flyspell): Add to ispell group.
2002-02-17 12:15:17 +00:00
Eli Zaretskii
9a45aa3da0 (menu-bar-tools-menu): Add an item for Calculator. 2002-02-15 13:59:05 +00:00
Per Abrahamsen
0ac1c4cf3a 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
* menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
	(menu-bar-options-menu): Don't set default value for
	`truncate-lines'.
2002-02-12 16:37:11 +00:00