emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Curious as to message in echo area
@ 2018-06-18  0:37 Charles Millar
  2018-06-18  6:51 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Millar @ 2018-06-18  0:37 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

Hello,

I have always concerned myself that a table column formula returns what 
is expected.and is correct.

However I never paid attention to the echo area and I just noticed that 
it displays the following message

"cells in region copied, use M-x org-table-paste-rectangle to paste them 
in a table"

when I C-c C-c on the formula in the following table

| 1 |
| 2 |
| 3 |
|   |
#+tblfm: @>$>=vsum(@1..@>>)

The correct result is returned.

Have I been ignoring something for the past several years, i.e. has the 
above message always been displayed?

Just wondering.

Charlie Millar




[-- Attachment #2: Type: text/html, Size: 1647 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Curious as to message in echo area
  2018-06-18  0:37 Curious as to message in echo area Charles Millar
@ 2018-06-18  6:51 ` Nick Dokos
  2018-06-19  1:05   ` Charles Millar
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2018-06-18  6:51 UTC (permalink / raw)
  To: emacs-orgmode

Charles Millar <millarc@verizon.net> writes:

> Hello,
>
> I have always concerned myself that a table column formula returns what is expected.and is correct.
>
> However I never paid attention to the echo area and I just noticed that it displays the following message
>
> "cells in region copied, use M-x org-table-paste-rectangle to paste them in a table"
>
> when I C-c C-c on the formula in the following table
>
> | 1 |
> | 2 |
> | 3 |
> |   |
> #+tblfm: @>$>=vsum(@1..@>>)
>
> The correct result is returned.
>
> Have I been ignoring something for the past several years, i.e. has the above message always been displayed?
>

No, it was added recently:

,----
| $ git blame -L 1868,1870 -- org-table.el
| 5c8cb1e733 (Bastien         2018-04-28 12:52:20 +0200 1868)     (setq org-table-clip (nreverse region))
| 5c8cb1e733 (Bastien         2018-04-28 12:52:20 +0200 1869)     (message (substitute-command-keys "Cells in the region copied, use \\[org-table-paste-rectangle] to paste them in a table."))))
| fe939ecb95 (Carsten Dominik 2008-03-22 16:52:18 +0100 1870) 
| $ git show 5c8cb1e733
| commit 5c8cb1e7332a9fd8ba71cd0a5fe7bdf5d19d09fd
| Author: Bastien <bzg@gnu.org>
| Date:   Sat Apr 28 12:52:20 2018 +0200
| 
|     Add messages for `org-table-copy-region' and `org-copy-visible'
|     
|     * lisp/org-table.el (org-table-copy-region):
|     * lisp/org.el (org-copy-visible): Add a message.
`----

> Just wondering.
>
> Charlie Millar
>
>  
>

-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Curious as to message in echo area
  2018-06-18  6:51 ` Nick Dokos
@ 2018-06-19  1:05   ` Charles Millar
  0 siblings, 0 replies; 3+ messages in thread
From: Charles Millar @ 2018-06-19  1:05 UTC (permalink / raw)
  To: emacs-orgmode


On 06/18/2018 02:51 AM, Nick Dokos wrote:
> Charles Millar <millarc@verizon.net> writes:
>
>> Hello,
>>
>> I have always concerned myself that a table column formula returns what is expected.and is correct.
>>
>> However I never paid attention to the echo area and I just noticed that it displays the following message
>>
>> "cells in region copied, use M-x org-table-paste-rectangle to paste them in a table"
>> when I C-c C-c on the formula in the following table
>>
>> | 1 |
>> | 2 |
>> | 3 |
>> |   |
>> #+tblfm: @>$>=vsum(@1..@>>)
>>
>> The correct result is returned.
>>
>> Have I been ignoring something for the past several years, i.e. has the above message always been displayed?
>>
> No, it was added recently:
>
> ,----
> | $ git blame -L 1868,1870 -- org-table.el
> | 5c8cb1e733 (Bastien         2018-04-28 12:52:20 +0200 1868)     (setq org-table-clip (nreverse region))
> | 5c8cb1e733 (Bastien         2018-04-28 12:52:20 +0200 1869)     (message (substitute-command-keys "Cells in the region copied, use \\[org-table-paste-rectangle] to paste them in a table."))))
> | fe939ecb95 (Carsten Dominik 2008-03-22 16:52:18 +0100 1870)
> | $ git show 5c8cb1e733
> | commit 5c8cb1e7332a9fd8ba71cd0a5fe7bdf5d19d09fd
> | Author: Bastien <bzg@gnu.org>
> | Date:   Sat Apr 28 12:52:20 2018 +0200
> |
> |     Add messages for `org-table-copy-region' and `org-copy-visible'
> |
> |     * lisp/org-table.el (org-table-copy-region):
> |     * lisp/org.el (org-copy-visible): Add a message.
>
thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-19  1:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-18  0:37 Curious as to message in echo area Charles Millar
2018-06-18  6:51 ` Nick Dokos
2018-06-19  1:05   ` Charles Millar

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).