From: Dan Nicolaescu <dann@ics.uci.edu>
To: mac@brushroad.com
Cc: emacs-devel@gnu.org, Wilson Snyder <wsnyder@wsnyder.org>
Subject: Re: verilog-mode.el
Date: Sun, 14 Oct 2007 10:49:43 -0700 [thread overview]
Message-ID: <200710141749.l9EHnhgA022464@oogie-boogie.ics.uci.edu> (raw)
In-Reply-To: <47111236.5020402@verilog.com> (Michael McNamara's message of "Sat\, 13 Oct 2007 11\:45\:10 -0700")
Michael McNamara <mac@brushroad.com> writes:
Thank you for your contribution:
>
> ;; verilog-mode.el --- major mode for editing verilog source in Emacs
> ;;
> ;; $Id: verilog-mode.el 366 2007-10-07 13:20:47Z mac $
Keyword expansion frowned on in emacs CVS, it generates unnecessary
conflicts...
> ;; This variable will always hold the version number of the mode
> (defconst verilog-mode-version (substring "$$Revision: 366 $$" 12 -3)
> "Version of this verilog mode.")
> (defconst verilog-mode-release-date (substring "$$Date: 2007-10-07 06:20:47 -0700 (Sun, 07 Oct 2007) $$" 8 -3)
> "Version of this verilog mode.")
Same here.
> (defvar verilog-mode-map ()
> "Keymap used in Verilog mode.")
> (if verilog-mode-map
> ()
> (setq verilog-mode-map (make-sparse-keymap))
> (define-key verilog-mode-map ";" 'electric-verilog-semi)
Better use:
(defvar verilog-mode-map
(let ((map (make-sparse-keymap)))
(define-key map ";" 'electric-verilog-semi)
... etc etc
Please look at the byte-compile warnings, most of them are easily
fixable.
next prev parent reply other threads:[~2007-10-14 17:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-13 18:45 verilog-mode.el Michael McNamara
2007-10-14 2:41 ` verilog-mode.el Stefan Monnier
2007-10-15 1:36 ` verilog-mode.el Richard Stallman
2007-10-15 3:22 ` verilog-mode.el Stefan Monnier
2007-10-15 13:56 ` verilog-mode.el Michael McNamara
2007-10-14 17:49 ` Dan Nicolaescu [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-12-18 15:55 verilog-mode.el Richard Stallman
2007-12-18 19:23 ` verilog-mode.el Glenn Morris
2007-12-20 0:53 ` verilog-mode.el Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200710141749.l9EHnhgA022464@oogie-boogie.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=mac@brushroad.com \
--cc=wsnyder@wsnyder.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.