unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [mvsfrasson@gmail.com: checkdoc inserts stuff in incorrect order]
@ 2006-08-26 10:08 Richard Stallman
  2006-08-28 16:59 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2006-08-26 10:08 UTC (permalink / raw)


Would someone please DTRT and ack?

------- Start of forwarded message -------
Date: Fri, 25 Aug 2006 11:11:33 -0300
From: "Miguel V. S. Frasson" <mvsfrasson@gmail.com>
To: emacs-pretest-bug@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Disposition: inline
Subject: checkdoc inserts stuff in incorrect order
X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=failed 
	version=3.0.4

Hi

In an empty .el file, calling checkdoc, stuff gets inserted in
incorrect order.

Test case:

1) emacs -Q

2) C-x C-f foo.el

3) M-x checkdoc

4) Answer y to "add first line?" and type "foo program" RET

5) Answer next questions with y

I get the following content:

<-- beginning of buffer (yes, it starts with 2 empty lines)


;;; History:
;;

;;; Commentary:
;;

;;; foo.el --- foo program

(provide 'foo)

;;; foo.el ends here
<--end of buffer

If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.3 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-06-09 on miguel
X server distributor `The X.Org Foundation', version 11.0.60802000
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: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  checkdoc-minor-mode: t
  delete-selection-mode: t
  pc-selection-mode: t
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <down> <down> <down>
<down> <S-end> <S-delete> <up> <up> <up> <up> <S-insert>
<return> <down> <down> C-x C-s C-x k <return> C-x C-f
f o o . l e <backspace> <backspace> e l <return> M-x
c h e c k - d o <backspace> <backspace> <backspace>
d o c - m i n o <tab> <return> <help-echo> <help-echo>
<help-echo> <menu-bar> <CheckDoc> <Interactive Buffer
Style Check> f o o SPC p r o g r a m <return> y y y
M-x r e p o <tab> r t <tab> <return>

Recent messages:
Mark set [2 times]
Wrote /home/frasson/.emacs.d/open-proj.el
(New file)
Checkdoc minor mode enabled
You should have a ";;; Commentary:", add one? (y or n)
You should have a ";;; History:", add one? (y or n)
No identifiable footer!  Add one? (y or n)
Checkdoc: Done. [2 times]
Making completion list...
Loading emacsbug...done

- -- 
Miguel Vinicius Santini Frasson
mvsfrasson@gmail.com


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

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

* Re: [mvsfrasson@gmail.com: checkdoc inserts stuff in incorrect order]
  2006-08-26 10:08 [mvsfrasson@gmail.com: checkdoc inserts stuff in incorrect order] Richard Stallman
@ 2006-08-28 16:59 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2006-08-28 16:59 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

> Would someone please DTRT and ack?
>

Fixed.

> In an empty .el file, calling checkdoc, stuff gets inserted in
> incorrect order.
>
> Test case:
>
> 1) emacs -Q
> 2) C-x C-f foo.el
> 3) M-x checkdoc
> 4) Answer y to "add first line?" and type "foo program" RET
> 5) Answer next questions with y

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

end of thread, other threads:[~2006-08-28 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-26 10:08 [mvsfrasson@gmail.com: checkdoc inserts stuff in incorrect order] Richard Stallman
2006-08-28 16:59 ` Chong Yidong

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