GNU bug report logs - #4100
23.1; Minor bugs in Emacs 23

Previous Next

Packages: emacs, cc-mode;

Reported by: Jared Finder <jfinder <at> crypticstudios.com>

Date: Mon, 10 Aug 2009 02:55:06 UTC

Severity: minor

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4100 in the body.
You can then email your comments to 4100 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4100; Package emacs. (Mon, 10 Aug 2009 02:55:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jared Finder <jfinder <at> crypticstudios.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 10 Aug 2009 02:55:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jared Finder <jfinder <at> crypticstudios.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 23.1; Minor bugs in Emacs 23
Date: Sun, 9 Aug 2009 19:46:17 -0700
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]




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4100; Package emacs. (Tue, 11 Aug 2009 01:00:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 11 Aug 2009 01:00:06 GMT) Full text and rfc822 format available.

Message #10 received at 4100 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Jared Finder <jfinder <at> crypticstudios.com>
Cc: 4100 <at> debbugs.gnu.org
Subject: Re: bug#4100: 23.1; Minor bugs in Emacs 23
Date: Tue, 11 Aug 2009 02:57:57 +0300
> 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/



Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#4100; Package emacs,cc-mode. (Thu, 03 Jun 2021 09:41:01 GMT) Full text and rfc822 format available.

Message #13 received at 4100 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: Jared Finder <jfinder <at> crypticstudios.com>, 4100 <at> debbugs.gnu.org
Subject: Re: bug#4100: 23.1; Minor bugs in Emacs 23
Date: Thu, 03 Jun 2021 11:40:49 +0200
Juri Linkov <juri <at> 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




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 03 Jun 2021 09:42:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 4100 <at> debbugs.gnu.org and Jared Finder <jfinder <at> crypticstudios.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 03 Jun 2021 09:42:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 01 Jul 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.