unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4100: 23.1; Minor bugs in Emacs 23
       [not found] <64CCCAABBBC73A44926EC2CB7E6CBF2B0FF5590746@proserpine.paragon.crypticstudios.com>
@ 2009-08-10  2:46 ` Jared Finder
  2009-08-10 23:57   ` Juri Linkov
  0 siblings, 1 reply; 3+ messages in thread
From: Jared Finder @ 2009-08-10  2:46 UTC (permalink / raw)
  To: bug-gnu-emacs@gnu.org

I'm trying sending this again -- it seems the first sent version of this did not appear in emacsbugs.  Since you guys are talking about reorg-ing the menus, I think now would be a good time to consider the menu changes mentioned here. :)

I've checked out the new release of Emacs 23 and found the following bugs (all in Emacs 22) still present:

The following commands still should have the CUA move property set:
c-forward-conditional
c-backward-conditional
c-down-conditional c-up-conditional
c-down-conditional-with-else
c-up-conditional-with-else
c-beginning-of-statement c-end-of-statement


It would be VERY convenient to have a `global-c-subword-mode' function, defined as:
(define-global-minor-mode global-c-subword-mode c-subword-mode
  (lambda () (c-subword-mode 1)))


The Microsoft regexp in `compilation-error-regexp-alist-alistis incorrect; it does not support the "see declaration" messages, it should be:
"^ *\\([0-9]+>\\)?\\(\\(?:[a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)) : \\(?:see declaration\\|\\(?:warnin\\(g\\)\\|[a-z ]+\\) C[0-9]+:\\)"


It would be really nice if all the printing related options in the File menu got grouped until a "Print" submenu.


Please change the "Visit New File" entry to a "New File" entry defined as follows:
(define-key menu-bar-file-menu [new-file]
  '(menu-item "New File"
              (lambda ()
                (interactive)
                (switch-to-buffer (generate-new-buffer "*untitled*")))
              :enable (menu-bar-non-minibuffer-window-p)
              :help "Create a new buffer"))
This corresponds to what just about every other editor on the planet does -- prompt for a filename when the file is first SAVED.


Thank you for making such a great editor!

  -- MJF

In GNU Emacs 23.1.1 (i386-mingw-nt6.0.6001)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 6.0.6001
configured using `configure --with-gcc (4.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  global-balanced-mode: t
  hrule-mode: t
  global-hi-lock-mode: t
  url-handler-mode: t
  show-paren-mode: t
  recentf-mode: t
  gud-tooltip-mode: t
  global-reveal-mode: t
  reveal-mode: t
  global-c-subword-mode: t
  shell-dirtrack-mode: t
  cua-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <about-emacs>
<select-window> <select-window> <help-echo> <wheel-down>
<help-echo> <select-window> <down-mouse-1> <mouse-1>
<wheel-down> <wheel-down> <wheel-down> <down-mouse-1>
<mouse-1> <double-down-mouse-1> <mouse-movement> <mouse-movement>
<double-drag-mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-1> <wheel-up> <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-1> <select-window> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
Loading c:/Users/jfinder/Desktop/.emacs.d/lisp.el (source)...done
Loading c:/Users/jfinder/Desktop/.emacs.d/lua.el (source)...done
Loading c:/Users/jfinder/Desktop/.emacs.d/msdev.el (source)...done
Loading c:/Users/jfinder/Desktop/.emacs.d/text.el (source)...done
Loading c:/Users/jfinder/Desktop/.emacs.d/xml.el (source)...done
Loading c:/Users/jfinder/Desktop/.emacs.d/zz.local.el (source)...
Loading vc-svn...done
Starting a new list of tags tables
Loading c:/Users/jfinder/Desktop/.emacs.d/zz.local.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a. [2 times]






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#4100: 23.1; Minor bugs in Emacs 23
  2009-08-10  2:46 ` bug#4100: 23.1; Minor bugs in Emacs 23 Jared Finder
@ 2009-08-10 23:57   ` Juri Linkov
  2021-06-03  9:40     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Juri Linkov @ 2009-08-10 23:57 UTC (permalink / raw)
  To: Jared Finder; +Cc: 4100

> Please change the "Visit New File" entry to a "New File" entry
> defined as follows:
> (define-key menu-bar-file-menu [new-file]
>   '(menu-item "New File"
>               (lambda ()
>                 (interactive)
>                 (switch-to-buffer (generate-new-buffer "*untitled*")))
>               :enable (menu-bar-non-minibuffer-window-p)
>               :help "Create a new buffer"))
>
> This corresponds to what just about every other editor on the planet
> does -- prompt for a filename when the file is first SAVED.

This makes sense since this new *untitled* buffer is just like the
*scratch* buffer but you need also add (setq buffer-offer-save t)
and (auto-save-mode 1) to *untitled* so exiting will ask a question
about saving it to a file.

-- 
Juri Linkov
http://www.jurta.org/emacs/





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#4100: 23.1; Minor bugs in Emacs 23
  2009-08-10 23:57   ` Juri Linkov
@ 2021-06-03  9:40     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-06-03  9:40 UTC (permalink / raw)
  To: Juri Linkov; +Cc: Jared Finder, 4100

Juri Linkov <juri@jurta.org> writes:

>> Please change the "Visit New File" entry to a "New File" entry
>> defined as follows:
>> (define-key menu-bar-file-menu [new-file]
>>   '(menu-item "New File"
>>               (lambda ()
>>                 (interactive)
>>                 (switch-to-buffer (generate-new-buffer "*untitled*")))
>>               :enable (menu-bar-non-minibuffer-window-p)
>>               :help "Create a new buffer"))
>>
>> This corresponds to what just about every other editor on the planet
>> does -- prompt for a filename when the file is first SAVED.
>
> This makes sense since this new *untitled* buffer is just like the
> *scratch* buffer but you need also add (setq buffer-offer-save t)
> and (auto-save-mode 1) to *untitled* so exiting will ask a question
> about saving it to a file.

I'm not sure we want to confuse the users any further -- the normal
Emacs way here is to prompt for the file at start, and having this menu
work the opposite way wouldn't help with this.

So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-03  9:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <64CCCAABBBC73A44926EC2CB7E6CBF2B0FF5590746@proserpine.paragon.crypticstudios.com>
2009-08-10  2:46 ` bug#4100: 23.1; Minor bugs in Emacs 23 Jared Finder
2009-08-10 23:57   ` Juri Linkov
2021-06-03  9:40     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).