Mike Parks | 1 Apr 2005 01:23
Favicon

verilog-mode

hi

i am having trouble with the /*AUTOINST*/ in verilog mode. it does not
seem to find the module definition files because it does not put in the 
ports.

since i am using system verilog i changed these variables to inform 
emacs of the
new extensions and to tell it where the module definition files were 
located but to
no avail.

fyi, i changed these vars using the built in menus that allow one to 
"customize"
them. i saved the changes for the "current session" and saved for 
"future sessions".

verilog-library-extension = ".sv"
verilog-library-directories = "the path to my modulename.sv files"

should verilog-mode work for system verilog files with this file 
extension ".sv" after
making these changes?

if so, can you see what i am doing wrong?

--

-- 
Thanks Mike,

"The only thing necessary for the triumph of evil is for 
(Continue reading)

Hugh Lawson | 1 Apr 2005 02:06
Picon

browse-url

Debian sarge
Emacs 21.4.1

browse-url works fine if firefox is already running. 

But suppose firefox isn't running.

If I do 'M-x browse-url' and fill in the url, then firefox pops up for
a second and then disappears.  The same thing happens with links I
click on in Emacs.

I think I can imagine a shell script to deal with this, but surely
there is something alread in Emacs.

--

-- 
Hugh Lawson
hlawson <at> triad.rr.com
David Kastrup | 1 Apr 2005 02:23
X-Face
Picon
Picon

Re: browse-url

Hugh Lawson <hlawson <at> triad.rr.com> writes:

> Debian sarge
> Emacs 21.4.1
>
> browse-url works fine if firefox is already running. 
>
> But suppose firefox isn't running.
>
> If I do 'M-x browse-url' and fill in the url, then firefox pops up for
> a second and then disappears.  The same thing happens with links I
> click on in Emacs.
>
> I think I can imagine a shell script to deal with this, but surely
> there is something alread in Emacs.

The definition of browse-url-generic in browse-url.el needs to get
replaced with:

(defun browse-url-generic (url &optional new-window)
  ;; new-window ignored
  "Ask the WWW browser defined by `browse-url-generic-program' to load URL.
Default to the URL around or before point.  A fresh copy of the
browser is started up in a new process with possible additional arguments
`browse-url-generic-args'.  This is appropriate for browsers which
don't offer a form of remote control."
  (interactive (browse-url-interactive-arg "URL: "))
  (if (not browse-url-generic-program)
    (error "No browser defined (`browse-url-generic-program')"))
  (apply 'call-process browse-url-generic-program nil
(Continue reading)

Thien-Thi Nguyen | 1 Apr 2005 02:35

Re: Is Emacs becoming Word?

Greg Novak <novak <at> ucolick.org> writes:

> comments on the code if anyone has them to offer

the advice facility is not powerful enough to do what you are
seeking to do.  see instead: edebug.

thi
oliver | 1 Apr 2005 07:27
Favicon

CVS emacs: how to change drag 'n drop behaviour in dired buffers

hi there

if you drop a file from an external app into a dired buffer emacs copies the 
file into the path of the dired buffer.

how can i change this to the "old" behaviour that the file just opens as a 
new buffer regardless wether its an dired buffer or not?

thanks, olli 
nfreimann | 1 Apr 2005 09:16
Picon
Favicon

Re: browse-url

David Kastrup wrote:

>The definition of browse-url-generic in browse-url.el needs to get
>replaced with:
>
>  
>

In browse-url-generic:
.emacs:78:14:Warning: reference to free variable `browse-url-generic-args'

In end of data:
.emacs:86:1:Warning: the function `browse-url-interactive-arg' is not 
known to
    be defined.
| 1 Apr 2005 10:30
Picon
Favicon

apply or


I noticed that it is not possible to feed logical connectives to "apply" as, for instance, the following examples

 (apply 'or '(t nil t nil))

 (apply 'and '(t nil t nil))

in emacs LISP because "or" and "and" are special forms as opposed to functions.  When I try these examples, I
recieve the error message

 invalid-function #<subr and>

Whilst I can work around this difficulty using "member" or using "eval" and "cons", I wonder if there is a way
of doing what I originally intended and directly feeding logical connectives to "apply" (or, for that
matter, other functions which take a function as an argument). 

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
David Kastrup | 1 Apr 2005 11:37
Picon
Picon

Re: browse-url

nfreimann <niels_freimann <at> yahoo.de> writes:

> David Kastrup wrote:
>
>>The definition of browse-url-generic in browse-url.el needs to get
>>replaced with:
>>
>>  
>>
>
> In browse-url-generic:
> .emacs:78:14:Warning: reference to free variable `browse-url-generic-args'
>
> In end of data:
> .emacs:86:1:Warning: the function `browse-url-interactive-arg' is not
> known to
>     be defined.

Perhaps it would work to replace the whole of browse-url.el with the
version from Emacs CVS.

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Thien-Thi Nguyen | 1 Apr 2005 11:31

Re: apply or

"" <puzio1 <at> excite.com> writes:

> Whilst I can work around this difficulty using "member" or using
> "eval" and "cons", I wonder if there is a way of doing what I
> originally intended and directly feeding logical connectives to
> "apply" (or, for that matter, other functions which take a
> function as an argument).

to map `and', look for `every'.
to map `or', look for `some'.

these are in (or are under) cl.el, iirc.

for the latter (parenthesized) part of your question, could you
give an example of such a function-taking-a-function?  maybe it is
not just me that is confused...

thi
Jay Cotton | 1 Apr 2005 15:09

site-lisp directory

I am trying a newer emacs for OS X that I found here:

http://home.att.ne.jp/alpha/z123/emacs-mac-e.html

And it had a strange behavior which has prompted this message. While 
emacs was starting up, and loading all the packages and so forth from 
my .emacs file, everything went fine until the very end. At the end, 
the window would suddenly enlarge and the font would get bigger, and 
then it would finish loading. In other words, something was overriding 
my customizations (I purposefully have the default frame and font very 
small).

I poked around and found the culprit in a directory called site-start.d 
inside the site-lisp directory. Here's the code that was causing the 
problem until I commented it out:

   ;; Osaka 12
   (require 'carbon-font)
   (set-default-font "fontset-osaka12")
   (add-to-list 'default-frame-alist '(font . "fontset-osaka12"))

I've heard of the site-start file, and so it doesn't surprise me that 
there would be a site-start directory as well. My question is this: 
shouldn't the customizations that I have in my .emacs file override 
anything in site-lisp files or directories (not the other way around)?

Thanks for any information.
Jay

Gmane