all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
Subject: Re: keymap in yank-excluded-properties
Date: Thu, 5 Sep 2002 14:48:06 +0000 (UTC)	[thread overview]
Message-ID: <m17mxvS-000IeOC@localhost> (raw)
In-Reply-To: <E17mmfR-00078U-00@fencepost.gnu.org> (message from Richard Stallman on Wed, 04 Sep 2002 22:46:49 -0400)

       It would be nice to have a special `rectangle-mode' which would make
       _all_ the normal kill/copy commands such as C-w and M-w deal in
       `rectangles' (and use a highlighting hack to make an active region
       really look like a rectangle).

   I don't think this makes sense as a mode.  

It could be a `context specific minor mode', as proposed for table.el,
activated, perhaps, when you give a special `set-rectangle-mark'
command.  

Hmmm .... Emacs Calc embedded mode creates what is, in effect, a
`context specific minor mode' for the appropriate region in a non-Calc
buffer.  This concept is a good way to think about what goes on.

Below is an example of Calc embedded mode.  I am actually using Calc
embedded mode in this Mail mode buffer to write this message.

What I am trying to say is that I think it is useful to think of Calc
as creating a `context specific minor mode' when you run the embedded
mode commands, and that in talking about table.el and the new
rectangle support commands, the idea of a `context specific minor
mode' is useful.

   (To calculate the length of the hypotenuse of a right triangle.
    Press `M-# u' (`calc-embedded-update-formula') within each region
    delimited by $ pairs.)

    If the two short side of the triangle are

       $ a := 3.1 $

       $ b := 4.1 $

    then the length of the hypotenuse is

       $ c := sqrt(a^2 + b^2) => $.

    which, when you press `M-# u' a third time, becomes:

       $ c := sqrt(a^2 + b^2) => 5.14003891036 $.

    (Sometimes 5.14003891036 is shown as sqrt(26.42); that depends on
    your settings.  The floating point number should be the default.)

-- 
    Robert J. Chassell            bob@rattlesnake.com  bob@gnu.org
    Rattlesnake Enterprises       http://www.rattlesnake.com
    Free Software Foundation      http://www.gnu.org   GnuPG Key ID: 004B4AC8

  reply	other threads:[~2002-09-05 14:48 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-23  0:31 keymap in yank-excluded-properties Tak Ota
2002-08-23  1:55 ` Miles Bader
2002-08-23 22:21   ` Tak Ota
2002-08-23 22:29     ` Stefan Monnier
2002-08-23 23:04       ` Tak Ota
2002-08-23  9:52 ` Kim F. Storm
2002-08-25  5:25 ` Richard Stallman
2002-08-25 22:49   ` Kim F. Storm
2002-08-30 19:43     ` Tak Ota
2002-09-01 13:14       ` Richard Stallman
2002-09-02 15:02         ` Kim F. Storm
2002-09-03 13:26           ` Richard Stallman
2002-09-03 20:36             ` Tak Ota
2002-10-23 13:53               ` Kim F. Storm
2002-10-24 20:27                 ` Tak Ota
2002-09-04  1:11           ` Miles Bader
2002-09-04  6:32             ` Juanma Barranquero
2002-09-04  8:45               ` Kim F. Storm
2002-09-04  8:02                 ` Miles Bader
2002-09-04  8:50                   ` Juanma Barranquero
2002-09-04  8:49                 ` Juanma Barranquero
2002-09-04 12:48                   ` Kim F. Storm
2002-09-04 14:10                     ` Juanma Barranquero
2002-09-04 10:34                 ` Per Abrahamsen
2002-09-04 12:35                   ` Kim F. Storm
2002-09-05  1:10                     ` Miles Bader
2002-09-05 13:18                       ` Robert J. Chassell
2002-09-05 15:00                         ` Kim F. Storm
2002-09-05 14:34                           ` Per Abrahamsen
2002-09-05 15:15                           ` Robert J. Chassell
2002-09-06  1:09                           ` Miles Bader
2002-09-05  2:46             ` Richard Stallman
2002-09-05 14:48               ` Robert J. Chassell [this message]
2002-09-06  1:05                 ` Miles Bader
2002-09-06 11:30                   ` Andreas Schwab
2002-09-06 11:57                   ` Modes: major, minor, context specific Robert J. Chassell
2002-09-06 20:03                   ` keymap in yank-excluded-properties Richard Stallman
2002-09-01 13:15     ` 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=m17mxvS-000IeOC@localhost \
    --to=bob@rattlesnake.com \
    /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.