HDTenEightyP/NetNews huggingface dataset:
From: warsaw@nlm.nih.gov (Barry A. Warsaw)
Newsgroups: gnu.emacs.help
Subject: Re: Help required with SuperCite 2.0
Date: 26 Aug 92 15:56:17 GMT
Reply-To: warsaw@nlm.nih.gov (Barry A. Warsaw)
Distribution: gnu
Organization: Century Computing, Inc.


>>>>> "Kevin" == Kevin Broadey <kevin@edscom.demon.co.uk> writes:

    Kevin> First of all, I know that SuperCite is now at version 2.1,
    Kevin> but when my sysop tried to download it from Imperial
    Kevin> College yesterday he could only find version 2.0.  (If
    Kevin> anyone from IC is out there, where is 2.1?)

Actually supercite is at version 2.2, which I *highly* recommend you
upgrade.  Its much more robust and stable than earlier versions.  I
don't know about Imperial College, but version 2.2 can be had from the
elisp archive, among *many* other places (use archie).

If you don't have anon-ftp access, send the following message (in the
body, not the subject line) to library@cme.nist.gov:

	send pub/gnu/sc-2.2.tar.Z

You'll get back a multi-message response which will be the file in
uuencoded form.

If you still have problems with v2.2, send email to
supercite@anthem.nlm.nih.gov.

-Barry
Newsgroups: gnu.emacs.help,comp.emacs
From: cs921022@ariel.yorku.ca (MING HE)
Subject: key bind for the combination of a number of key strokes?
Organization: York University, Toronto, Canada
Date: Thu, 27 Aug 1992 12:23:35 GMT


Is that possible to have a function which will contain several key
strokes.  Then have a key bind to this function?

??

cheers,

Newsgroups: gnu.emacs.help
From: delacour@waxwing.parc.xerox.com (Vincent Delacour)
Subject: switch to existing buffer
Organization: Xerox PARC, Palo Alto, CA
Date: 28 Aug 92 10:21:56



For various reasons I need a function equivalent to 'switch-to-buffer',
but that accepts only _existing_ buffers.

It seems the obvious solution doesn't work as expected: 

       (defun my-switch-to-buffer (bu)
	  ;;  require an existing buffer
	  (interactive "bSwitch to buffer: ") 
	  (switch-to-buffer bu ()))

(this one apparently puts the buffer we switch to in front of the list
of recently selected ones, so the buffer we are in is proposed as the
default when later switching buffers)

Does somebody know a satisfactory way to switch to an existing buffer
only while preserving all other cheracteristics of switch-to-buffer ??

Thanks, 

	Vincent
From: stanton@haas.berkeley.edu (Richard Stanton)
Newsgroups: gnu.emacs.help
Subject: How to use AUC-TEX under OS/2? Also using Alt key.
Date: 28 Aug 1992 04:45:12 GMT
Organization: University of California, Berkeley
NNTP-Posting-Host: haas.berkeley.edu

I know I've seen this before, but that was before I installed GNU Emacs
under OS/2, and now I can't track it down. I've installed AUC-TEX, which
is great for editing, but I'd appreciate suggestions on how best to set 
it up to run with emTeX, DVIPM etc. 

Also, (and again I apologize for asking about something I know I've seen
before), what do I need to put into my .emacs file to

a) get Alt-x to have the same effect as ESC-x

b) get F1 to be a help key (like C-h)

Thanks a lot for any suggestions

Richard Stanton
Xref: sparky gnu.emacs.help:3936 comp.emacs:2997
From: friedman@gnu.ai.mit.edu (Noah Friedman)
Newsgroups: gnu.emacs.help,comp.emacs
Subject: Re: Can 1 buffer visit >1 file?
Date: 1 Sep 92 21:54:53 GMT
	<JYM.92Aug31092409@remarque.berkeley.edu>
Followup-To: gnu.emacs.help,comp.emacs
Organization: Free Software Foundation, 675 Mass Ave. Cambridge, MA 02139
In-reply-to: jym@mica.berkeley.edu's message of 31 Aug 92 13:24:09 GMT

In article <JYM.92Aug31092409@remarque.berkeley.edu> jym@mica.berkeley.edu (Jym Dyer) writes:
>> My problem is that I want to maintain identical copies of a source file
>> over 2 hosts.
>
>=o= I can envision a solution to your problem, but it's not exactly
>visiting more than one file.  The idea would basically be that you're
>visiting one file (the local version), and when you go to save/write it,
>it saves another copy (the remote version).

   rdist.
From: boaz@concerto.lcs.mit.edu (Boaz Ben-Zvi)
Newsgroups: gnu.emacs.help
Subject: Re: Prefix in Emacs Lisp "packages"
Date: 25 Aug 92 21:16:44 GMT
Article-I.D.: mintaka.1992Aug25.211644.4639
Reply-To: boaz@lcs.mit.edu
Organization: Laboratory for Computer Science, MIT

In article <9208190614.AA01268@mole.gnu.ai.mit.edu>, rms@gnu.ai.mit.edu (Richard Stallman) writes:

|> There is no formal concept of packages in Emacs Lisp.
|> We use naming conventions to indicate which functions 
|> and variables belong together.  Often the convention is
|> a common prefix, but it is not required to be a prefix
|> all the time.

Here is what we lose in elisp by using prefix conventions rather than
some encapsulation/packaging mechanism:

1. Inside the "package": Every variable (or internal function) name must be 
   written in full. For example:

    (setq my-package-variable1 (my-package-function1 my-package-variable2))

   rather than

    (setq variable1 (function1 variable2))

2. Outside the "package": Users can (intentionally or unintentionally)
   access the internals of the package, typically resulting in 
   mysterious bugs.  For example, a hash-table package with an internal 
   counter of empty slots. If that counter is named "counter" (prefix not
   required; see above), some other application may mistakenly modify it.
   If it is named "hash-table-counter", still some hacker may find that
   things can be sped up by zeroing this variable .... (guess the rest).

-- Boaz

===============================================================================
  _              _            __         __ ___  _ _   __ ___    ____      ___
 /_) _  _  __   /_) _   __ __ _/    o     |   |   \| __ |   |     /    \ |   |
/__)(_)(_|__/  /__)(_'_/ /   /__\/_(        __|_ __\    | __|_     \  __\| __|_
          __)                                           |                      
===============================================================================
 Boaz Ben-Zvi <boaz@lcs.mit.edu>     MIT Addr: NE43-526   Tel: (617) 253-6212 
===============================================================================
From: ATAE@spva.PHysics.imperial.ac.UK (The Maverick)
Subject: Looking for some emacs addons..
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Sun, 30 Aug 1992 13:35:00 GMT

G'Day Folks

I have a lot of Fortran code I want to convert to C. I tried using
the f2c program from AT&T but the code it produces is not exactly
re-editable. Actually it looks like gobldy-gook to me. What I am
doing is writing keyboard macros in Emacs eg: replace all strings
"Integer" with "int" putting ";" at the end of every line etc.. and 
then batch editing the Fortran files and calling these macros. It 
screws up a lot, but the number of changes I have to make before 
everything is OK is actually reasonable (also the code usually comes 
as small modules anyways). I could make great improvements if I knew 
enough Elisp to write some "intelligent" macros. If any Emacs guru 
out there has some routines that do some of the Fortran to C conversion 
features (preferably so they are understandable by a Novice) I'd be 
very grateful for a copy. I'll try and write a package for use by 
anyone else interested.

BTW, is there a way to make the query replace feature (or for that
matter any command which accepts a character string) in Emacs 
do completion ? I mean you type M-% fo and when you press some
key (eg C-x) it completes by reading from the file resulting in
M-% foo. Something like filename completion when you press the
space bar after M-x insert-file. I couldn't find an answer in the 
info pages or the FAQ, probably because this is some feature no one 
wants.

	regards
		Ata <(|)>.
 ------------------------------------------------------------------------------ 
| Mail          Dr Ata Etemadi, Blackett Laboratory,                          |
|               Space and Atnmospheric Physics Group,                         |
|               Imperial College of Science, Technology, and Medicine,        |
|               Prince Consort Road, London SW7 2BZ, ENGLAND                  |
| Phone         +44 (0)71 589 5111 Ext 6751 or 6752 (secretary/answer phone)  |
| Fax           +44 (0)71 823 8250 Attn. Dr Ata Etemadi,                      |
| Telex         929484 (IMPCOL G)  Attn. Dr Ata Etemadi,                      |
 ------------------------------------------------------------------------------ 
| Janet                     atae@uk.ac.ic.ph.spva  or ata@uk.ac.ucl.mssl.c    |
| Earn/Bitnet               atae@spva.ph.ic.ac.uk  or ata@c.mssl.ucl.ac.uk    |
| Internet/Arpanet          atae%spva.ph.ic.ac.uk  or ata%c.mssl.ucl.ac.uk    |
| Span                      SPVA::atae (19773::atae)                          |
| UUCP/Usenet               atae%spva.ph.ic@nsfnet-relay.ac.uk                |
 ------------------------------------------------------------------------------ 

Newsgroups: gnu.emacs.help
From: scotte@cdsac.uucp (L. Scott Emmons)
Subject: Re: Binding the DEL key.
NntpPostingHost: cdsac
Date: 02 Sep 1992 19:44:10 GMT
Organization: CableData (U.S. Computer Services), Sacramento, CA

In article <1992Sep02.030617.21228@bnr.ca> mac@bnr.ca (Michael Campbell) writes:
>The intent of this file seems to be to provide some vaguely 
>intelligent key mappings on per terminal type basis. Unfortunately,
>it may overwrite something you set in your .emacs. I had this 
>problem with a VT100 key, and eventaully resolved it by 
>adding one of my own directories to the head of the loadpath
>list, and putting in my own vt100.el, which did what I wanted.
>Good luck!

There is also the termsetuphook, which can be used in your .emacs file
to do terminal specific initialization, but only AFTER the .../term/*.el
initialization is done.

For example, you can do this in your .emacs file to get arrow keys on a
vt100:

	(defun vt100initialization ()
		(enablearrowkeys))

	(setq termsetuphook 'vt100initialization)

Hope this helps...

 
			   L. Scott Emmons
		      CableData  Research Center
		     csusac.csus.edu!cdsac!scotte
From: coleman@bldrdoc.gov (Sean Coleman 497-5672 )
Newsgroups: gnu.emacs.help
Subject: Can't find TAGS file
Date: 25 Aug 92 17:27:20 GMT
Organization: National Institute of Standards and Technology
Originator: coleman@deputy


When I do M-x visit_tags-file and hit return,
I get the following:
loading tags...
Symbol's value as variable is void: Marp_catcher

Why can't I load in the TAGS file properly.

Thanks

Sean Coleman
coleman@bldrdoc.gov
Newsgroups: gnu.emacs.help
From: hollen@megatek.UUCP (Dion Hollenbeck)
Subject: shell mode cd to link??
Organization: Megatek Corporation, San Diego, California
Date: Wed, 2 Sep 1992 17:43:56 GMT

Has anyone written additions/modifications to shell.el so that when
one does a "cd" to a "directory" which is really a link off to
somewhere completely different, the directory tracker will pick this
up and set the defautl directory Emacs knows about as the REAL
directory?

-- 
Dion Hollenbeck       UUCP: {uunet, ucsd, sun}!megatek!hollen
                      INTERNET:            hollen@megatek.com
Megatek Corporation  9645 Scranton Rd.  San Diego, Ca.  92121
From: glenn@prl.philips.co.uk (Glenn Coombs)
Newsgroups: gnu.emacs.help
Subject: Problem with indentation of switch statements in c-mode ?
Date: 3 Sep 92 16:58:20 GMT
Organization: Philips Research Labs, Redhill, England


Does anyone know of a way to get the following indentation for
switch statements in c-mode automatically ?

switch (c) {
    case 1:  blah ;
             break ;
    case 2:  blah ;
             break ;
    default: blah ;
             break ;
}

I currently use:

c-indent-level:               4
c-continued-statement-offset: 4
c-brace-offset:               0
c-argdecl-indent:             0
c-label-offset:               0

which is acceptable.  It just means that I have to manually indent
the lines after the case: bit.

I normally indent things by 4, so the case statement is 4 in from
the switch.  I then need another variable like c-case-offset or
something that I can set to be the extra amount to indent lines
by when inside a case statement (9 in this example).

I have tried hacking the code in c-mode.el (specifically the
functions c-indent-line, calculate-c-indent and electric-c-terminator)
but have not yet managed to add such a feature successfully - the code
in calculate-c-indent is not the easiest of things to understand !

Has anyone out there modified c-mode.el so that it allows you
to have switch statements indented like this ?
-- 

-
Glenn   ...   glenn@prl.philips.co.uk
From: rms@gnu.ai.mit.edu (Richard Stallman)
Newsgroups: gnu.emacs.help
Subject: Where to report bugs
Date: 4 Sep 92 12:14:15 GMT
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu

The best way to decide where to report a bug in some version of GNU
Emacs is to look in the distribution you got and see if it mentions a
specific place other than bug-gnu-emacs@prep.ai.mit.edu.  If it does,
send the bug report to the place that is mentioned.  Otherwise, send
it to bug-gnu-emacs@prep.ai.mit.edu, as described in the Bugs chapter
of the Emacs manual.
Newsgroups: gnu.emacs.help
From: del@giant.INTranet.COM (G. Del Merritt)
Subject: Re: regexp question
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Tue, 1 Sep 1992 05:42:26 GMT

>Ok, I had the following text
>
>Computer Engineering meets in _________________
>
>
>... I wanted to replace the sequnce of underscores with a question
>mark so I did M-x replace-regexp _* with ? but it put question marks
>between each letter of all the words.
>
>Why did this happen?

The _* says "replace whereever you find the character `_' _zero_ or
more times, which it "found" after every character.  What did _you_
want to happen?

>How can I get replace-regexp to do what I want?

Try:
	M-x replace-regexp _ with ?

or:
	M-x replace-string _ with ?

or:
	M-x replace-regexp _+ with ?

Do any of these do what you want?  In questions like this, it's best
to post not only what you have and did, but also what you want...

Del Merritt	del@IntraNet.com	ccavax!giant!del
IntraNet, Inc., 255 Washington Street, Newton, MA  02158
Voice: 617-527-7020; FAX: 617-527-6779
Newsgroups: gnu.emacs.help
From: Richard.Stallman@gnu.ai.mit.edu (but please reply to bush-bashers)
Subject: Are you completely Bushed yet?
Reply-To: bush-bashers@gnu.ai.mit.edu
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Sun, 30 Aug 1992 23:50:26 GMT

[This is *not* an official announcement from the FSF]

I'd like to put together a sendmail.el modification that randomly
chooses a signature from a list of funny one-liners that explain
what's wrong with Bush and Quayle.

I can write the program, but I can't write all the one-liners myself.
So how about mailing your suggestions to bush-bashers@gnu.ai.mit.edu.
I'll mail the resulting program, with its data base, to
gnu.emacs.sources.
Newsgroups: gnu.emacs.help
From: bkuhn@rhlab.UUCP (Bradley M. Kuhn)
Subject: Re: help under VMS emacs
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Mon, 24 Aug 1992 13:13:40 GMT

>From the keyboard of:  Robert Goldman
> 
> I am trying to get gnu installed under (ugh) VAX VMS so that some
> students of mine can use it.

VAX/VMS is the most evil of Operating systems, I agree.

> Can anybody offer any suggestions about this?  patches?  I would be
> eternally grateful, as would my students, bless their pointy little
> heads.

I don't know anything about VAX/VMS.  I try to use the VAX system at Loyola
as LITTLE as possible.  We do have GNU emacs working nicely on the VAX system,
though.  mec@loyola.edu is the sysadm there.  She might be able to help you.

 -- Bradley M. Kuhn    Computer Systems Development, Inc.
     INTERNET: rhlab!bkuhn@uunet.uu.net OR bkuhn@loyola.edu
     UUCP:     ...uunet!rhlab!bkuhn
From: gisli@hamilton.eecs.umich.edu (Gisli Ottarsson)
Newsgroups: gnu.emacs.help
Subject: RMAIL problems
Date: 1 Sep 92 16:34:00 GMT
Reply-To: gisli@liapunov.eecs.umich.edu
Followup-To: gisli@engin.umich.edu
Distribution: usa
Organization: University of Michigan EECS Dept., Ann Arbor, MI



Hi!

I am having problems with RMAIL on my NeXT.  I am running 
emacs 18.57

When I logged in this morning I had 4 messages.  When I ran
'emacs -f rmail' it included all 4 messages as 1 large message,
one after the other.

This has been happening all day.  I don't believe I have changed
my emacs/mail setup at all for months and this is out of the blue.
What could it be?

I have tried to send multiple messages to myself and emacs
always does the same weird thing.  The UNIX mail application has
no problem distinguishing between the messages.

Any ideas!!

				Gisli
Newsgroups: gnu.emacs.help
From: jerry@math.ep.utexas.EDU (Jerry)
Subject: Re: Wanted: el code for highlighting region
Organization: Department of Mathematical Sciences--University of Texas at El Paso
Date: Wed, 26 Aug 1992 20:58:09 GMT

Ivo Welch on August 26 wrote:
-> 
-> Interestingly enough, on a NeXT/native-NeXTSTEP-Emacs, your code  
-> highlights some area close to the region, but not the entire region.
-> 
-> Just thought you would find this interesting.

I noticed this problem, too, and I think I have a fix.  Try this and
see if it highlights only the current region.  Also, it is no longer
destructive.  Thanks to Kyle (kyle@wendy-fate.uu.net) for the example
from vm-highlight-headers which I used (here modified).

-Jerry

;; ---------------- highlight-region.el ----------------------------

(defun highlight-region (p1 p2)
  "Highlight the current region in reverse video."
  (interactive "r")
  (save-excursion
    (save-restriction
      (goto-char (if (> p1 p2) p2 p1))
      (narrow-to-region (point-min) (point))
      (sit-for 0)
      (let ((inverse-video t))
	(goto-char (point-min))
	(widen)
	(narrow-to-region (point) (if (> p1 p2) p1 p2))
	(sit-for 0)))))

(defun unhighlight-region (p1 p2)
  "Unhighlight the current region.  If region is displayed in reverse
video, then it no longer will be."
  (interactive "r")
  (save-excursion
    (save-restriction
      (goto-char (if (> p1 p2) p2 p1))
      (narrow-to-region (point-min) (point))
      (sit-for 0)
      (let ((inverse-video nil))
	(goto-char (point-min))
	(widen)
	(narrow-to-region (point) (if (> p1 p2) p1 p2))
	(sit-for 0)))))
From: kgallagh@digi.lonestar.org (Kevin Gallagher)
Newsgroups: gnu.emacs.help
Subject: Re: Binding the DEL key.
Date: 2 Sep 92 16:16:06 GMT
Organization: DSC Communications Corp, Plano, TX

In article <1992Sep02.030617.21228@bnr.ca> mac@bnr.ca (Michael Campbell) writes:
>Your problem may be related to the terminal type you are using.

I don't think so.  This is what is probably happening:

Standard key bindings are found in the key map called global-map.  In that
map, DEL is bound to delete-backward-char. by default.  If you are editing a
file in a buffer running in Fundamental mode or Text mode, you will find that
DEL is bound to this function.  If you use the define-key command in your
.emacs file to change the binding of DEL in the global-map, you will find that
DEL does INDEED get the new function binding in Text mode and Fundamental mode
buffers.

HOWEVER, if you are in a C mode buffer, you will find that DEL is bound to
backward-delete-char-untabify and is not affected by changing the binding of
DEL in global-MAP.  This is because C mode has a local mode map that binds the
DEL key to backward-delete-char-untabify.  Key bindings in local mode maps
ALWAYS override bindings found in global maps when that mode is active in a
buffer. 

If you want to change the binding of DEL when in C mode, you must change the
binding of DEL in c-mode-map.  The safest way to do this in your .emacs file
is to use the c-mode-hook.  Write a small function that changes the binding of
DEL in c-mode-map via the define-key command.  Then assign that function name
to the variable c-mode-hook.  Then, each time a C mode buffer it intialized,
the function assigned to c-mode-hook will be called after C mode
initialization is complete.  The DEL key will be redefined for just that
buffer.

-- 
----------------------------------------------------------------------------
Kevin Gallagher        kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
DSC Communications Corporation   Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
----------------------------------------------------------------------------
From: kgallagh@digi.lonestar.org (Kevin Gallagher)
Newsgroups: gnu.emacs.help
Subject: Re: the Motif black hole.
Date: 2 Sep 92 04:11:37 GMT
Organization: DSC Communications Corp, Plano, TX

In article <9209011816.AA19239@mole.gnu.ai.mit.edu> rms@gnu.ai.mit.edu (Richard Stallman) writes:
>I have some ideas for how to support pictures within Info files (and,
>more generally, in any files for Emacs to display).  I can write them
>down if someone is seriously interested in working on such a project
>for Emacs.

Actually, there is quite a bit of interest in seeing support for incorporating
pictures and graphics into texinfo source files.  Questions about this come up
all the time on newsgroups other than the gnu newsgroups/mailing lists, as
well.  Some support for incorporating pictures can be found for both TeX and
LaTeX, though they can be a bit cumbersome to use sometimes.  A nicely thought
out implementation for texinfo would be most welcome.

However, please don't wait until someone volunteers before you share your
ideas on how this could be done in texinfo.  A healthy design discussion might
stimulate people to try out some of the ideas discussed.  This may result in
someone volunteering to donate their time to do it some time down the road.

Another utility sorely missed is a tool which will diff two versions of a
texinfo source file and automatically generate a third version containing the
necessary instructions to print the updated version with change bars.  (I have
yet to find a decent way to do this in TeX and LaTeX, as well.) 

-- 
----------------------------------------------------------------------------
Kevin Gallagher        kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
DSC Communications Corporation   Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
----------------------------------------------------------------------------
From: harold@cc.gatech.edu (Harold C. Forbes)
Newsgroups: gnu.emacs.help
Subject: etags -t bug on typedef struct ?
Summary: Is there fix?
Date: 3 Sep 92 14:58:38 GMT
Organization: Georgia Institute of Technology

Sometimes etags -t doesn't catch the identifier in typedef struct
definitions. vis:

In one file:

typedef struct {
. . .
} OFFER;

produces the TAGS entry:

} OFFER;24,606

but in another file:

typedef struct task_lock{
. . .
}  * task_lock_t;

produces:

} 145,4835

and in yet another file:

typedef struct p_list_item_i {
. . .
} p_list_item, *p_list_item_t;

doesn't produce an entry at all!

Also I get LOTS of #define entries with no identifiers for unparameterized
macros.  Also extern, and typedef unsigned char don't get identifiers.

Does anyone have a fix?

Many thanks.
	harold

FORBES, HAROLD C.   N5JCM
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp: ...!{allegra,amd,hplabs,seismo,ut-ngp}!gatech!cc!harold
ARPA: harold@cc.gatech.edu               PACKET: N5JCM @ W4QO
From: maxim@head-cfa.harvard.edu (Maxim Markevitch)
Newsgroups: gnu.emacs.help
Subject: upper 128 non-ascii characters
Date: 2 Sep 92 02:08:30 GMT
Organization: Smithsonian Astrophysical Observatory, Cambridge, MA,  USA



I use X11R4 windows on a sparcstation under SunOS 4.1.1, and my
emacs is that version which runs in its own window.

I have a screen font which contains latin characters in their ascii
positions, and, in addition, cyrillic characters in the upper 128
cells, i.e., with the 8th bit = 1.  Are there ways to prevent emacs
from translating the non-ascii characters to their octal codes, and
to display both latin and cyrillic simultaneously? 


Thanks in advance,
Maxim Markevitch
Newsgroups: gnu.emacs.help