XEmacsNull Blog

Bi-Day XEmacs Tip Blog

Tuesday, January 10, 2006

Tip: Grab A Value

Question: Ok, I've typed this magic number in my document & need to run a calculation on it. How can I bring it into calc? . . .

Answer: Use the grab command of the calc package.

= First type your number, in the document. Then, select it to the end of your number, and grab.

• Find your number, move to the first digit, select start, and go to end: Ctrl-space.
• Grab command: Alt-#, g.
• Perform your calculations. If you have a result to return to the document? Move to the line with the desired result, and kill that line & quit (calc): Alt-k, q. (Otherwise, leave with a q.)
• Last yank it back: Ctrl-y.

= Note: Just hitting the q key. Quits out of calc. It isn't necessary to Alt-#, c; to leave.

Platform: Linux
Level: Amateur
GlR

0 Comments:

Post a Comment

<< Home