HDTenEightyP/NetNews huggingface dataset:
From: dataprod@nic.cerf.net (Chuck Benson)
Newsgroups: gnu.emacs.help
Subject: cmushell dies after ksh while loop
Date: 5 Jan 1993 21:02:05 GMT
Organization: CERFnet Dial n' CERF Customer Group
Distribution: gnu
Reply-To: gstrock@dpc.com
NNTP-Posting-Host: nic.cerf.net

can anyone tell me why my cmushell process dies after I
do something like this while running ksh in the cmushell:
find . -print | while read file
do
    #something useful here
done

thanks, greg strockbine
        dataproducts, woodland hills, ca.
From: grossjoh@lucy.ls6.informatik.uni-dortmund.de (Kai Grossjohann)
Newsgroups: gnu.emacs.help
Subject: c++-mode
Date: 8 Jan 93 14:55:59
Organization: Universitaet Dortmund, Lehrstuhl Informatik VI
Distribution: world
Reply-To: Kai Grossjohann <grossjoh@ls6.informatik.uni-dortmund.de>
NNTP-Posting-Host: lucy.informatik.uni-dortmund.de
Comments: Hyperbole mail buttons accepted, v3.06.

Hi there,

I use Lucid Emacs 19.3 (emacs-version is "19.3.23 Lucid"), and my
c++-mode.el begins like this: (see below)

Now my problem is: When I set c-continued-statement-offset to a
nonzero value, like 4, I get:

      cerr << "Some text goes here"
	  << "Some more text" 
	      << "even more text"
		  << "more more text";

When I set c-continued-statement-offset to 0, I get:

      cerr << "Some text goes here"
      << "Some more text" 
      << "even more text"
      << "more more text";

What I want is this:

      cerr << "Some text goes here"
           << "Some more text" 
           << "even more text"
           << "more more text";

How do I get it?


	advTHANKSance,

		Kai

----------8<-----c++-mode.el---------------------------------------------
;; C++ code editing commands for Emacs
;; 1987 Dave Detlefs  (dld@cs.cmu.edu) 
;; and  Stewart Clamen (clamen@cs.cmu.edu).
;; Done by fairly faithful modification of:
;; c-mode.el, Copyright (C) 1985 Richard M. Stallman.
;;
;; Feb, 1990 (Dave Detlefs, dld@cs.cmu.edu)
;;   Fixed electric-c++-terminator to handle double colons, at the
;;   request of John Hagerman.
----------8<-----c++-mode.el---------------------------------------------

--
--
  Kai Grossjohann            Phone (voice): 49 231 75 30 15
  Baroper Str. 331 App. 510  E-Mail: 
  W-4600 Dortmund 50         grossjoh@ls6.informatik.uni-dortmund.de
  Germany                    
--
There are two ways to solve this problem: the hard way, and the
easy way. Let's start with the hard way.
                        -- W. Schneider, from a Physics lecture
From: Bob@cfa.harvard.edu (Robert W. Babcock)
Newsgroups: gnu.emacs.help
Subject: hscroll.el for DEMACS?
Keywords: DEMACS, Horizontal scrolling
Date: 6 Jan 93 17:29:38 GMT
Organization: Smithsonian Astrophysical Observatory

I have hscroll.el, and it works nicely with GNU emacs, but it doesn't work 
with the MS-DOS port DEMACS (complains about start-process).  Is there a 
way of getting horizontal scrolling in DEMACS?
Newsgroups: gnu.emacs.help
From: montra@ghost.dsi.unimi.it (Paolo Montrasio)
Subject: segmentaion violation in fileio.c in emacs 18.59, hp700/800 HPUX
Organization: Computer Science Dep. - Milan University
Date: Thu, 7 Jan 1993 12:16:28 GMT

Today I decided to upgrade to a newer version of emacs (I'm using emacs
18.55), so I ftp-ed the source of emacs 18.59 from prep.ai.mit.edu and
compiled it. All worked well. I got xemacs, I made the $EMACS dir (in
/usr/local/lib/emacs), installed the files into the etc/ lisp/ ...
directories and then tried to run emacs.

I got this message

Fatal error (11).Segmentation fault (core dumped)

I looked at the offending line with the debugger and I found that it
is:

fileio.c: line 2068: buf = XCONS (XCONS (tail)->car)->cdr;

in the function Fdo_auto_save.

I looked at the PROBLEMS file, but there is nothing about this error,
unless someting about a possible problem with XCONS. It says that
it is fixed by defining NO_UNION_TYPE in config.h, but that symbol is
already defined in my m-... file ...

Can anyone help me?

	Thank you in advance.

	Paolo Montrasio
	montra@ghost.dsi.unimi.it
From: traenkne@sps201.lds.loral.com (Carl Traenkner)
Newsgroups: gnu.emacs.help
Subject: tex.. who, what, where and when?
Date: 11 Jan 93 19:32:08 GMT
Organization: Loral Data Systems

I have just finished my first emacs installation (sun sparc)

Yes I am quite proud of my self..

But alas I cannot print the documentation

I read the REAME file in /man and it says to run

tex on emacs.tex to produce a printable .dvi file

could some one tell me what tex is , how I get it 
and what to do with it??

PS this is also my first news message so be kind please.
Newsgroups: gnu.emacs.help
From: kevin@traffic.den.mmc.com (Kevin Rodgers)
Subject: How enlarge the minibuffer window for read-string?
Reply-To: kevin@traffic.den.mmc.com
Organization: Martin Marietta Western Internal Systems, Technical Operations
Date: Sat, 9 Jan 1993 00:03:43 GMT


I would like to enlarge the minibuffer window when reading strings that
can't be displayed in their entirety in it's normal 1-line
configuration.  (It should be enlarged by the number of newlines in the
default argument to read-string.)

When I try this (with x, prompt, and muli-line-default appropriately
bound)

(save-window-excursion
  (select-window (minibuffer-window))
  (enlarge-window x)
  (read-string prompt multi-line-default))

I get the error "Command attempted to use minibuffer while in
minibuffer".

If I move the read-string call outside of the save-excursion-window
form, the enlarge-window call doesn't affect the size of the minibuffer
window when read-string is called.

Does anyone know how to do this?
-- 
Kevin Rodgers				kevin@traffic.den.mmc.com
Martin Marietta MS A16401		(303) 790-3971
116 Inverness Dr. East
Englewood CO 80112 USA			GO BUFFS!
Newsgroups: gnu.emacs.help
From: farzin@protocol.com (Farzin Guilak)
Subject: Printing with selective display
Organization: Protocol Systems, Incorporated
Date: Wed, 6 Jan 1993 17:59:12 GMT

Does anyone know of a way to print out a buffer with
selective display active?  I'd like to print out only
the visible text, not what's hidden by the selective
display.  I'm running version 18.57.

Thanks,
Farzin

--
farzin@protocol.com
From: jonathan@cats.ucsc.edu (Jonathan Cano)
Newsgroups: gnu.emacs.help
Subject: Re: is this a bug??
Date: 13 Jan 93 03:02:19 GMT
Organization: University of California, Santa Cruz
NNTP-Posting-Host: si.ucsc.edu


jonathan@cats.ucsc.edu (Jonathan Cano) writes:


>I'm using xemacs v18.58 on a sun4 architecture.

>When I run emacs like this:
>  % xemacs -font 8x13 -geometry 81x60+200+5 &

>emacs uses the font and geometry that I specify but it also
>creates buffers called -font, 8x13, -geometry and 81x60+200+5 !
>This is not what I want!! Is this a bug or am I doing something wrong?

>Also, emacs seems to ignore the resource that I specify in my .Xdefaults
>file e.g.
>Xemacs*geometry (or Xemacs*Geometry)

Gee jonathan, I've experienced the same problem and I can't help you.
I'm replying to your message so you won't think the messages that
you post to this news group are invisible ... :^)

--Jonathan

>============================================
>| Jonathan Cano             |     //   _   |
>| jonathan@cats.ucsc.edu    | \\ //   (_)  |
>| 8kyu (+- 2kyu)            |  \X/     |<  |
>============================================

-- 
============================================
| Jonathan Cano             |     //   _   |
| jonathan@cats.ucsc.edu    | \\ //   (_)  |
| 8kyu (+- 2kyu)            |  \X/     |<  |
============================================
Newsgroups: gnu.emacs.help
From: dspencer@mproj.retix.com (David Spencer)
Subject: Why does completing-read take an ALIST?
Organization: Retix, Santa Monica CA
Distribution: na
Date: Wed, 6 Jan 1993 00:11:55 GMT

I've never understood why the second arg to completing-read, 'TABLE',
is an alist.  As far as I can tell, the cdr's of each element are
not used, so why not just make it a list of strings?

i.e. you have to say

(setq table '(
	( "print" . nil )
	( "printer" . nil )
	( "plastic" . nil ))

Whereas I think that you should just be able to say:

(setq table '( "print" "printer" "plastic"))

As it seems lame to have to add on a '. nil' onto every element.

	Thanks,
		Dave

Xref: sparky gnu.emacs.help:5277 comp.text.tex:14694
From: am299bv@sdcc15.ucsd.edu (Ravinder Bhumbla)
Newsgroups: gnu.emacs.help,comp.text.tex
Subject: Auc-tex: Previewing without running TeX first
Date: 6 Jan 93 17:24:58
Organization: Aerospace Structures Lab, AMES Dept, UC San Diego
Distribution: world
Reply-To: rbhumbla@ucsd.edu (Ravinder Bhumbla)
NNTP-Posting-Host: sdcc15.ucsd.edu

Under auc-tex, you can not preview a dvi file without running TeX on
the file first.  I would like to look at the existing document before
making changes and running.

Does any one have a way of previewing the file corresponding to the
current buffer (or its Master if that exists) without running TeX on
the buffer first?  I think it needs the TeX-zap-file variable to be
initialized but I don't know any lisp and don't know a way of doing
this.

Please reply to me directly and I'll post a summary if a way is found.

Thanks,
Ravi
--
Ravinder Bhumbla	rbhumbla@ucsd.edu    U. of California, San Diego
From: wp@orion.erls01.siemens.de (Wolfgang Prediger)
Newsgroups: gnu.emacs.help
Subject: Emacs and MIPS pyramid systems
Date: 11 Jan 93 11:01:25 GMT
Reply-To: wp@orion.erls01.siemens.de
Organization: SIEMENS AG, AUT 482, Nbg-M
X-Newsreader: TIN [version 1.1 PL8]

Hello

Why does unexec not work on such systems (emacs 18.59 defines
CANNOT_DUMP in m-pyrmips.h) ?
Is this temporary (i.e. someone has to write a new unexec() routine)
or is it totally impossible ?

Thanks in advance

Wolfgang

--
Name : Wolfgang Prediger
Email: wp@orion.erls01.siemens.de
Snail: Siemens AG, AUT 482, Gleiwitzer Str. 555, 8500 Nuernberg Germany
Voice: +49 911 895 3155 (work)
 --- "Beam me up, Scotty, there's no intelligent life down here !" ---
From: mjb@doc.ic.ac.uk (Matthew J Brown)
Newsgroups: gnu.emacs.help
Subject: Re: Remapping DEL key on a SUN4
Date: 10 Jan 93 13:35:35
Organization: Department Of Computing, Imperial College, London.
Distribution: world
NNTP-Posting-Host: oak45.doc.ic.ac.uk
In-reply-to: pedro@eerc.berkeley.edu's message of 6 Jan 1993 19:46:13 GMT

In article <1ifcu5INNmn5@agate.berkeley.edu> pedro@eerc.berkeley.edu (Peter Clark) writes:
> Hi all,

> I am using emacs 18.58 on a SUN 4 (Sparc 1) with a type 4 keyboard.

> I would like to remap the DEL key on the keypad from delete-backward-char
> to delete-char.  I have tried in my .emacs
> (global-set-key "DEL" 'delete-char)
> (global-set-key "\DEL" 'delete-char)
> etc. to no avail.

> I did notice that I could do a 
> M-x local-set-key DEL delete-char
> while running emacs and this worked OK.

> I've looked in the FAQ, I've tried everything, please help explain this!!!

> Thanks for all hints and pointers!

I assume you mean the "."/DEL key on the keypad, and you're running
EMACS under X. From what you write I assume that this keycode is
mapped to the keysym "Delete" at the moment, to do the same as the
normal "Delete" key.

What you're going to have to do, is to modify the X keymapping of this
key with 'xmodmap'. Now, Emacs can understand both normal ASCII keys,
and function keys, for which an escape sequence is sent to the rest of
EMACS. EMACS does not understand 'symbol' keys (at least, I haven't
found out how), so, to get EMACS to distinguish this key, you're going
to have to map it to a function key. Choose a function key which is
not mapped - X function keys range between F1 and F36. Map this to the
keycode generated by the keypad 'del' key - this is 57 on a sun type
5, I believe it is the same on a type 4. You can use 'xev' to find
out.

Type the following at a UNIX prompt:

% xmodmap -e 'keycode 57 = F35'

(substitute the correct keycode number and function key)

Now to bind the key. Firstly, make a sparse keymap and bind it to the
function key escape sequence, esc [.

(setq fnkey-map (make-sparse-keymap))
(define-key esc-map "[" fnkey-map)

Now you can bind functions to the various escape sequences. We're
using F35 here as delete, you can also use this technique to bind
things to other function keys. You can use C-q to find out what
different function keys send.

(define-key fnkey-map "222z" 'delete-char)

That's all there is to it. Hope this answers your question properly.

-Matt

--
| Matthew J. Brown  | Dept. of Computing | If God intended for us to go to   |
| mjb@doc.ic.ac.uk  | Imperial College,  | lectures He wouldn't have created |
| mjb02@cc.ic.ac.uk | 180 Queen's Gate   | double-sided photocopiers.        |
| Morven on Lambda  | LONDON SW7 2AZ     |          -IC RagMag 1991/92       |
From: shiji@msr.mei.co.jp
Newsgroups: gnu.emacs.help
Subject: Re: ?: Changing mail yank prefix
Date: 13 Jan 93 02:01:24 GMT
	<SHIJI.93Jan12143115@alps.msr.mei.co.jp>
Distribution: gnu
Organization: Matsushita Soft-Research,Inc.,Osaka, Japan

In article <SHIJI.93Jan12143115@alps.msr.mei.co.jp> shiji@msr.mei.co.jp writes:

     | "three spaces" is a sort of indentation, and you will be able to change
     |it to "zero space" as follows.
     |
     |	      (setq mail-yank-original-default-indentation 0)
     |
     | Similarly, prefix string will be changed to "> " individually.
     |
     |	      (setq mail-yank-original-quoting-indicator "> ")
     |
     |
     |-- T.Shiji

 Sorry, I thought them standard variables. Close examination showed
that the sendmail.el on our system was already patched.


   	                           Nothing is permanent but changes.

							T.Shiji
--------------------------------------------------------------------
From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
Newsgroups: gnu.emacs.help
Subject: Want fn. to replace regexps w/ parenthesized groups.
Date: 5 Jan 93 09:41:08
Organization: U. of Washington
NNTP-Posting-Host: ptolemy.astro.washington.edu

I am trying to translate from one format for expressions (Theorist) to
another (LaTeX).  I can almost specify the translation as a list of
sed regular expression replace commands.  The only problem is with
replacing something like "(A#B	C	D)" with "\product_{B=C}^{D}A",
where A, C, and D are arbitrary expressions, and so could potentially
contain the delmiter (tab) that separates fields in Theorist's
version of the product.

So, what I want is to be able to specify the substitution as something
like "\(\X\)#\(\w*\)	\(\X\)	\(\X\))" => "\\product_{\2=\3}^{\4}\1", 
where \X matches any s-expression.

Does anybody have utilities for doing such a thing?

Thanks.

-- Ethan
Newsgroups: gnu.emacs.help
From: hunger@hitech.com (Henry Unger)
Subject: building emacs on mips
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Tue, 12 Jan 1993 12:48:21 GMT

I have been trying to build emacs 18.59 on a Prime 7340 (Mips
3240) running RISC/os 4.52 with no success.  It is supposed to be
SysV.3/BSD4.3 compatible.  The MACHINES file is not too clear on
the subject.  Before submitting my problems (with details) as a
bug, I was wondering if anyone has already figured out how to do it.
From: lhong@desire.wright.edu
Newsgroups: gnu.emacs.help
Subject: DEMACS questions
Date: 11 Jan 93 21:44:32 EST
Organization:  Wright State University 

Hi there DEMACS users: 
I got two questions for you:

(1) Where can I get the speller for DEMACS?
(2) How can I redefine the Delete key to function like ^D (real deletel key)
    instead of Backspace key? I guess that I need to change something in
     IBMPC.EL , but how. 

I would appreciate your help. Thanks in advance.

Lang
lhong@matrix.cs.wright.edu
From: dodd@mycenae.cchem.berkeley.edu (Lawrence R. Dodd)
Newsgroups: gnu.emacs.help
Subject: Re: how do you set num of screen lines?!?!?!?
Date: 5 Jan 93 15:33:24
Organization: Dept of Chemical Engineering, Polytechnic Univ, NY, USA
NNTP-Posting-Host: mycenae.cchem.berkeley.edu
In-reply-to: cash@eola.cs.ucf.edu's message of Tue, 5 Jan 1993 22:49:26 GMT


>>>>> "Gene" == Gene Cash <cash@eola.cs.ucf.edu> writes:

  Gene> I'm TRYING to learn emacs 18.55 under csh.  

Get emacs v 18.59. Version 18.55 is hopelessly outdated. Perhaps your problem
will be fixed by the upgrade (probably not though). 

  Gene> Personally, I think the emacs manual sucks.  It desperately needs a quick
  Gene> reference section, it's not really well organized, and it's missing some 
  Gene> important information.  

I personally think you are completely wrong and unnecessarily bellicose to
boot.  The emacs manual is easily the best introductory manual I have every
used.

Use the tutorial and use the info pages.

Larry
From: dodd@mycenae.cchem.berkeley.edu (Lawrence R. Dodd)
Newsgroups: gnu.emacs.help
Subject: Re: crypt.el and correct compress-magic-regexp: "\037\235"
Date: 7 Jan 93 14:15:16
Organization: Dept of Chemical Engineering, Polytechnic Univ, NY, USA
Distribution: gnu
	<1993Jan7.164714.115124@eratu.rz.uni-konstanz.de>
Reply-To: dodd@roebling.poly.edu
NNTP-Posting-Host: mycenae.cchem.berkeley.edu
In-reply-to: hoehle@inf-wiss.ivp.uni-konstanz.de's message of Thu, 7 Jan 1993 16:47:14 GMT


>>>>> "Joerg-Cyril" == Joerg-Cyril Hoehle <hoehle@inf-wiss.ivp.uni-konstanz.de> writes:

  Joerg-Cyril> Please correct all versions of crypt.el around that use a too specific
  Joerg-Cyril> compress-magic-regexp number.

  Joerg-Cyril> Lawrence R. Dodd (dodd@mycenae.cchem.berkeley.edu) wrote:
  Joerg-Cyril> :
  Joerg-Cyril> :    Here is modified version of Kyle Jones' crypt.el that will work with gzip
  Joerg-Cyril> :    (GNU zip) files.
  Joerg-Cyril> : 

  Joerg-Cyril> ..

  Joerg-Cyril> : (defconst compress-magic-regexp "\037\235\220"
  Joerg-Cyril> :   "Regexp that matches the magic number at the beginning of files created
  Joerg-Cyril> : by the compress(1) command.")

  Joerg-Cyril> Kyle Jones <kyle@uunet.uu.net> told me:
>This is the correct one:
>
>(defconst compress-magic-regexp "\037\235"
>
>The \220 only appears on 16-bit compressed files.

  Thanks for the correction.  There seems to be many different versions for
  crypt.el out there. I know of the GNU zip modification, this `bug', and
  Jamie Zawinski's modifications for tar-mode.el.  Perhaps even the man
  himself (Kyle Jones) has mods.  Can someone bring all these all together?
  Kyle are you out there?

Larry
From: jsc@saxon.Eng.Sun.COM (John Cooper)
Newsgroups: gnu.emacs.help
Subject: Re: Is there a function for auto-filling a region?
Date: 11 Jan 93 11:30:40
Organization: SunSoft, Inc., Mountain View, CA
Distribution: na
NNTP-Posting-Host: saxon
In-reply-to: daniel@fuchsia.uchicago.edu's message of Mon, 11 Jan 1993 08:01:32 GMT

>> Daniel Fu writes:

 Daniel> Sometimes when editing I'd like the words to be placed adjacently as
 Daniel> if they were Latex-ed.
 Daniel> e.g:

 Daniel> Is
 Daniel> there
 Daniel> a function that does that?  Or perhaps someone wrote something to do that?

 Daniel> would be:

 Daniel> Is there a function that does that?  Or perhaps someone wrote
 Daniel> something to do that?


Try M-g (fill-region)

fill-region:
Fill each of the paragraphs in the region.
Prefix arg (non-nil third arg, if called from program)
means justify as well.


Also, try M-x fill-individual-paragraphs :

fill-individual-paragraphs:
Fill each paragraph in region according to its individual fill prefix.
Calling from a program, pass range to fill as first two arguments.
Optional third and fourth arguments JUSTIFY-FLAG and MAIL-FLAG:
JUSTIFY-FLAG to justify paragraphs (prefix arg),
MAIL-FLAG for a mail message, i. e. don't fill header lines.
--
	--- John
Newsgroups: gnu.emacs.help
From: agrafiot@wl.com (Dimitris Agrafiotis)
Subject: how can i insert a quote with (insert) ?
Organization: Warner Lambert / Parke-Davis
Distribution: usa
Date: Thu, 7 Jan 1993 14:07:54 GMT


How can I insert a double quote (") with the insert command as part of
a larger string? (insert "..."...")
Thanks
-- 
Dimitris K. Agrafiotis
Computer Assisted Drug Design
Parke-Davis Pharmaceutical Research
(agrafiot@wl.com)
Newsgroups: gnu.emacs.help,comp.emacs,news.answers
From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
Newsgroups: gnu.emacs.help
Subject: Re: how do you set num of screen lines?!?!?!?
Date: 6 Jan 93 16:16:43
Organization: U. of Washington
NNTP-Posting-Host: kepler.astro.washington.edu
In-reply-to: cash@eola.cs.ucf.edu's message of 5 Jan 93 22:49:26 GMT
TO: cash@eola.cs.ucf.edu (Gene Cash)

In article <1993Jan5.224926.19317@cs.ucf.edu> cash@eola.cs.ucf.edu (Gene Cash) writes:

   I'm TRYING to learn emacs 18.55 under csh.  One of the problems I have
   is I can't get emacs to recognize the number of lines my terminal has.
   I telnet from my PC (which has 50 lines but is otherwise VT-100) to 
   my UNIX host.

   I use STTY ROWS 50 and vi happily uses all my screen.  I heard that
   you have to either reference the termcap entry with the TERM environment
   variable, or set TERMCAP equal to the termcap entry that you want.

This works fine (for me) with version 18.58.  Get your system
administrator to upgrade, there are many other improvements and bug
fixes.
Newsgroups: gnu.emacs.help
From: kpc@pluto.arc.nasa.gov (k p c)
Subject: IMPOSSIBLE hacks?  or just very hard to do?
Originator: kpc@zog.arc.nasa.gov
Reply-To: kpc@ptolemy.arc.nasa.gov
Organization: NASA Ames Research Center AI Research and Aero Branches;
	Sterling.
Date: Sat, 9 Jan 1993 17:53:28 GMT

here are some hacks that i've thought of as MUCH too hard (in elisp
anyway).  but i'd love to have them!  are they even possible?

here's all 4:

1.  sticky shift and control keys.
2.  word motion and word deletion to treat punctuation in a special way.
3.  mode line functions.
4.  counts and paren negation in regular expressions.

1.

you know how you can use ESC instead of a meta key?  i'd LOVE to use a
key (maybe ESC ESC) to do the same for a control key.  ESC ESC f would
then be forward-word.  and ideally ESC ESC ESC f would be
forward-sexp.  transparently.

this is nice for people with CTS and other RSI problems.  (i think
xmodmap might work but i want emacs to do it so that terminals can do
it also.)  (i'd put eval-expression somewhere else to be able to do
ESC ESC.)  (pc-write can do stickiness.)

2.

in the last paragraph there is the string "control key.  ESC ESC".
i'd LOVE to have forward-word (M-f) and kill-word (M-d) and their
backward equivalents think of sets of punctuation as just different
kinds of words.  so i'd be able to do this (' indicates point):

(text)					(motion)

'	control key.  ESC ESC		M-f
	'control key.  ESC ESC		M-f
	control 'key.  ESC ESC		M-f
	control key'.  ESC ESC		M-f
	control key.  'ESC ESC		M-f
	control key.  ESC 'ESC		M-f
	control key.  ESC ESC'		M-f
	control key.  ESC 'ESC		M-b
	control key.  'ESC ESC		M-b
	control key'.  ESC ESC		M-b
	control 'key.  ESC ESC

(text)					(deletion)

'	control key.  ESC ESC		M-d
'control key.  ESC ESC			C-a TAB
	'control key.  ESC ESC		M-f
	control 'key.  ESC ESC		M-d
	control '.  ESC ESC		M-d
	control 'ESC ESC		M-d
	control 'ESC			M-d
	control '			M-TAB
	'				M-TAB
	(point at end of previous line, having deleted TAB and newline)

3.

i'd like to be able to do arbitrary things to the mode line on
redisplay.  like printing the value of the variable major-mode after
deleting the substring "-mode".  and like putting the
file-name-nondirectory of the default directory right-justified after
the %- string, if there is enough space.

4.

i'd like to be able to do things with parenthesized groupings in a
regexp.  like saying "\\(^redisplay.*\\) like" to a reverse regexp
search from here to have it skip over the second line in the above
paragraph.  also i'd like to be able to use ?  and * and + the way
they work on characters.  finally, i'd like to be able to say
"\\(redisplay\\){2,4}" so that 2 to 4 occurrences are to be matched.

(p.s.  why do (, ), and | have to be quoted with \, but *, ?, and .
not so?)

are these impossible?  thanks for ALL answers, comments, fixes, code,
and ideas!  email is preferred.  these hacks (if they are possible)
would make emacs a MUCH more enjoyable experience!
-- 
i'm open to comparing research career notes with other cogsci/cogneuro people.
Xref: sparky gnu.emacs.help:5249 comp.emacs:3909 news.answers:4946