unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23757: 25.0.95; uncomment region changed?
@ 2016-06-12 19:40 jpff
  2016-06-12 19:54 ` Noam Postavsky
       [not found] ` <mailman.1389.1465760527.1216.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: jpff @ 2016-06-12 19:40 UTC (permalink / raw)
  To: 23757

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3894 bytes --]


I used to use C-U C-C C-C to uncomment a region of C but now is says
wrong number of arguments.  Have I missed a change?



In GNU Emacs 25.0.95.2 (x86_64-suse-linux-gnu, GTK+ Version 2.24.28)
 of 2016-06-12 built on birtwistle
Repository revision: 4b2d77d8dbd5b051bb681bacaee4a6faffbbdde9
Windowing system distributor 'The X.Org Foundation', version 11.0.11601000
System Description:	openSUSE 13.2 (Harlequin) (x86_64)

Configured features:
XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY LIBXML2 FREETYPE XFT ZLIB
TOOLKIT_SCROLL_BARS GTK2 X11

Important settings:
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix

Major mode: C/l

Minor modes in effect:
  diff-auto-refine-mode: t
  auto-image-file-mode: t
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent messages:
Wrote /home/jpff/csound6/pre.orc
Undo! [2 times]
Auto-saving...
Mark saved where search started
Mark set
comment-region-default: Wrong number of arguments: #[nil "À`Á Â#‡" [comment-region mark (t)] 4 ("/home/jpff/GNU/local-lisp/csound-orc.elc" . 46466) nil], 2
Quit
C-z is undefined
comment-region-default: Wrong number of arguments: #[nil "À`Á Â#‡" [comment-region mark (t)] 4 ("/home/jpff/GNU/local-lisp/csound-orc.elc" . 46466) nil], 2 [3 times]
Making completion list...

Load-path shadows:
None found.

Features:
(shadow flyspell mailalias mailcrypt mail-extr comint ansi-color ring
emacsbug message format-spec rfc822 mml mml-sec password-cache epg
epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils tmm debug ispell nxml-uchnm
rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri
rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns
nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok
misearch multi-isearch cl-extra help-mode imenu cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
cl-loaddefs pcase cl-lib vc-git diff-mode easy-mmode csound-orc-mode
tempo dired cal-julian delsel cus-start cus-load image-file crypt
crypt++ crypt+pgp-pub paren view cal-china cal-bahai cal-islam
cal-hebrew lunar solar cal-dst appt diary-lib diary-loaddefs holidays
hol-loaddefs cal-menu easymenu calendar cal-loaddefs time time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame
cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote inotify
dynamic-setting system-font-setting font-render-setting move-toolbar
gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 222052 14515)
 (symbols 48 28321 0)
 (miscs 40 1944 621)
 (strings 32 44636 13489)
 (string-bytes 1 1343414)
 (vectors 16 30244)
 (vector-slots 8 1370430 174968)
 (floats 8 740 718)
 (intervals 56 4144 0)
 (buffers 976 29)
 (heap 1024 37870 2755))

==John ffitch





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

* bug#23757: 25.0.95; uncomment region changed?
  2016-06-12 19:40 bug#23757: 25.0.95; uncomment region changed? jpff
@ 2016-06-12 19:54 ` Noam Postavsky
       [not found] ` <mailman.1389.1465760527.1216.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Noam Postavsky @ 2016-06-12 19:54 UTC (permalink / raw)
  To: jpff; +Cc: 23757

tag 23757 + unreproducible
quit

On Sun, Jun 12, 2016 at 3:40 PM, jpff <jpff@codemist.co.uk> wrote:
>
> I used to use C-U C-C C-C to uncomment a region of C but now is says
> wrong number of arguments.  Have I missed a change?
>
>
>
> In GNU Emacs 25.0.95.2 (x86_64-suse-linux-gnu, GTK+ Version 2.24.28)
>  of 2016-06-12 built on birtwistle
> Repository revision: 4b2d77d8dbd5b051bb681bacaee4a6faffbbdde9
> Windowing system distributor 'The X.Org Foundation', version 11.0.11601000
> System Description:     openSUSE 13.2 (Harlequin) (x86_64)

Works for me in 25.0.95, do you see the same from emacs -Q?





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

* bug#23757: 25.0.95; uncomment region changed?
       [not found] ` <mailman.1389.1465760527.1216.bug-gnu-emacs@gnu.org>
@ 2016-06-13 19:44   ` Alan Mackenzie
  2016-06-13 19:55     ` jpff
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Mackenzie @ 2016-06-13 19:44 UTC (permalink / raw)
  To: 23757; +Cc: jpff

Hello, John.

In article <mailman.1389.1465760527.1216.bug-gnu-emacs@gnu.org> you wrote:

> I used to use C-U C-C C-C to uncomment a region of C but now is says
> wrong number of arguments.  Have I missed a change?

The problem here is more likely to be CC Mode than the uncommenting code.
Can you reproduce this bug, or was it a one-off?  Hopefully, the former!

Is there any chance you could post a section of your C file where the bug
happens (with instructions for reproducing it)?  Any part of the file
where this fails to work is fine, but the smaller you can get it, the
easier it will be for this lazy maintainer.  ;-)

Thanks in advance!

> In GNU Emacs 25.0.95.2 (x86_64-suse-linux-gnu, GTK+ Version 2.24.28)
>  of 2016-06-12 built on birtwistle
> Repository revision: 4b2d77d8dbd5b051bb681bacaee4a6faffbbdde9
> Windowing system distributor 'The X.Org Foundation', version 11.0.11601000
> System Description:     openSUSE 13.2 (Harlequin) (x86_64)

> Configured features:
> XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY LIBXML2 FREETYPE XFT ZLIB
> TOOLKIT_SCROLL_BARS GTK2 X11

> Important settings:
>   value of $LANG: en_GB.UTF-8
>   value of $XMODIFIERS: @im=local
>   locale-coding-system: utf-8-unix

> Major mode: C/l

[ .... ]

> ==John ffitch

-- 
Alan Mackenzie (Nuremberg, Germany).






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

* bug#23757: 25.0.95; uncomment region changed?
  2016-06-13 19:44   ` Alan Mackenzie
@ 2016-06-13 19:55     ` jpff
  0 siblings, 0 replies; 4+ messages in thread
From: jpff @ 2016-06-13 19:55 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: 23757

As to often this looks like my faut.  It is using uncomment-region from a 
local mode that I hasd ot used for years ad in debugging some C code 
needed int in that language.  So reproducable but all my fault.  Please 
accept my apology for nor reading te backtrace more carefully which shows 
teerrant file


On Mon, 13 Jun 2016, Alan Mackenzie wrote:

> Hello, John.
>
> In article <mailman.1389.1465760527.1216.bug-gnu-emacs@gnu.org> you wrote:
>
>> I used to use C-U C-C C-C to uncomment a region of C but now is says
>> wrong number of arguments.  Have I missed a change?
>
> The problem here is more likely to be CC Mode than the uncommenting code.
> Can you reproduce this bug, or was it a one-off?  Hopefully, the former!
>
> Is there any chance you could post a section of your C file where the bug
> happens (with instructions for reproducing it)?  Any part of the file
> where this fails to work is fine, but the smaller you can get it, the
> easier it will be for this lazy maintainer.  ;-)
>
> Thanks in advance!
>
>> In GNU Emacs 25.0.95.2 (x86_64-suse-linux-gnu, GTK+ Version 2.24.28)
>>  of 2016-06-12 built on birtwistle
>> Repository revision: 4b2d77d8dbd5b051bb681bacaee4a6faffbbdde9
>> Windowing system distributor 'The X.Org Foundation', version 11.0.11601000
>> System Description:     openSUSE 13.2 (Harlequin) (x86_64)
>
>> Configured features:
>> XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY LIBXML2 FREETYPE XFT ZLIB
>> TOOLKIT_SCROLL_BARS GTK2 X11
>
>> Important settings:
>>   value of $LANG: en_GB.UTF-8
>>   value of $XMODIFIERS: @im=local
>>   locale-coding-system: utf-8-unix
>
>> Major mode: C/l
>
> [ .... ]
>
>> ==John ffitch
>
> -- 
> Alan Mackenzie (Nuremberg, Germany).
>
>





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

end of thread, other threads:[~2016-06-13 19:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-12 19:40 bug#23757: 25.0.95; uncomment region changed? jpff
2016-06-12 19:54 ` Noam Postavsky
     [not found] ` <mailman.1389.1465760527.1216.bug-gnu-emacs@gnu.org>
2016-06-13 19:44   ` Alan Mackenzie
2016-06-13 19:55     ` jpff

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).