emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-mode version 6.04c : org-remember
@ 2008-06-08 12:41 Richard G Riley
  2008-06-08 12:52 ` Thomas Baumann
  0 siblings, 1 reply; 9+ messages in thread
From: Richard G Riley @ 2008-06-08 12:41 UTC (permalink / raw)
  To: org-mode


If I call org-remember with text hilited I get "and: Symbol's value as
variable is void: use-empty-active-region".

Can someone suggest what I might have wrong here?

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

* Re: Org-mode version 6.04c : org-remember
  2008-06-08 12:41 Org-mode version 6.04c : org-remember Richard G Riley
@ 2008-06-08 12:52 ` Thomas Baumann
  2008-06-08 13:05   ` Richard G Riley
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Baumann @ 2008-06-08 12:52 UTC (permalink / raw)
  To: emacs-orgmode

Richard G Riley <rileyrgdev@googlemail.com> writes:

> If I call org-remember with text hilited I get "and: Symbol's value as
> variable is void: use-empty-active-region".
>
> Can someone suggest what I might have wrong here?

I assume you are marking a region with "active region highlighting"
set. How does your remember template look like? 

Could you please post the output of the debugger/backtrace?  What
version of emacs?

Things are perfect with emacs23 and org-mode 6.04c.

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

* Re: Re: Org-mode version 6.04c : org-remember
  2008-06-08 12:52 ` Thomas Baumann
@ 2008-06-08 13:05   ` Richard G Riley
  2008-06-08 13:20     ` Thomas Baumann
  0 siblings, 1 reply; 9+ messages in thread
From: Richard G Riley @ 2008-06-08 13:05 UTC (permalink / raw)
  To: Thomas Baumann; +Cc: emacs-orgmode

Thomas Baumann <dtbaumann@yahoo.de> writes:

> Richard G Riley <rileyrgdev@googlemail.com> writes:
>
>> If I call org-remember with text hilited I get "and: Symbol's value as
>> variable is void: use-empty-active-region".
>>
>> Can someone suggest what I might have wrong here?
>
> I assume you are marking a region with "active region highlighting"
> set. How does your remember template look like? 

It happens before I select a template. It's when org-remember is called.

>
> Could you please post the output of the debugger/backtrace?  What
> version of emacs?

22.2.1

Debugger entered--Lisp error: (void-variable use-empty-active-region)
  (or use-empty-active-region (> (region-end) (region-beginning)))
  (and transient-mark-mode mark-active (or use-empty-active-region (> ... ...)))
  use-region-p()
  org-region-active-p()
  org-remember(nil)
  call-interactively(org-remember)

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

* Re: Org-mode version 6.04c : org-remember
  2008-06-08 13:05   ` Richard G Riley
@ 2008-06-08 13:20     ` Thomas Baumann
  2008-06-08 13:33       ` Richard G Riley
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Baumann @ 2008-06-08 13:20 UTC (permalink / raw)
  To: emacs-orgmode


seems to have something to do with org-region-active-p.

I do not have any old emacs sitting around could you please check the
result of 

(fbound 'use-region-p)

use-empty-active-region was introduced for emacs23, I think

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

* Re: Re: Org-mode version 6.04c : org-remember
  2008-06-08 13:20     ` Thomas Baumann
@ 2008-06-08 13:33       ` Richard G Riley
  2008-06-08 13:39         ` Thomas Baumann
  0 siblings, 1 reply; 9+ messages in thread
From: Richard G Riley @ 2008-06-08 13:33 UTC (permalink / raw)
  To: Thomas Baumann; +Cc: emacs-orgmode

Thomas Baumann <dtbaumann@yahoo.de> writes:

> seems to have something to do with org-region-active-p.
>
> I do not have any old emacs sitting around could you please check the
> result of 
>
> (fbound 'use-region-p)
>
> use-empty-active-region was introduced for emacs23, I think

Debugger entered--Lisp error: (void-function fbound)
  (fbound (quote use-region-p))
  eval((fbound (quote use-region-p)))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp)

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

* Re: Org-mode version 6.04c : org-remember
  2008-06-08 13:33       ` Richard G Riley
@ 2008-06-08 13:39         ` Thomas Baumann
  2008-06-08 15:20           ` Richard G Riley
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Baumann @ 2008-06-08 13:39 UTC (permalink / raw)
  To: emacs-orgmode

Ooops,

(fboundp 'use-region-p)

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

* Re: Re: Org-mode version 6.04c : org-remember
  2008-06-08 13:39         ` Thomas Baumann
@ 2008-06-08 15:20           ` Richard G Riley
  2008-06-08 16:22             ` Thomas Baumann
  0 siblings, 1 reply; 9+ messages in thread
From: Richard G Riley @ 2008-06-08 15:20 UTC (permalink / raw)
  To: Thomas Baumann; +Cc: emacs-orgmode


t

Thomas Baumann <dtbaumann@yahoo.de> writes:

> Ooops,
>
> (fboundp 'use-region-p)
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Org-mode version 6.04c : org-remember
  2008-06-08 15:20           ` Richard G Riley
@ 2008-06-08 16:22             ` Thomas Baumann
  2008-06-08 18:03               ` Richard G Riley
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Baumann @ 2008-06-08 16:22 UTC (permalink / raw)
  To: emacs-orgmode


Richard G Riley <rileyrgdev@googlemail.com> writes:

> t
>
> Thomas Baumann <dtbaumann@yahoo.de> writes:
>
>> Ooops,
>>
>> (fboundp 'use-region-p)

please check if you can customize "use-empty-active-region" and if so,
set it to nil (the default in emacs23). please also check whether you
have undefined this variable somewhere in your settings (how does it
look like if you run emacs -Q)

The error seems to be unrelated to org-mode, but has to be somewhere in
use-region-p which is part of emacs. There are many, many calls to
use-region-p from different packages so it might also be your settings
or your lisp-files being mixed up. After checking all this, you might
want to consider to file a bug report to the emacs-list.

A temporary workaround is to set the variable in your .emacs

Ciao
Thomas

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

* Re: Re: Org-mode version 6.04c : org-remember
  2008-06-08 16:22             ` Thomas Baumann
@ 2008-06-08 18:03               ` Richard G Riley
  0 siblings, 0 replies; 9+ messages in thread
From: Richard G Riley @ 2008-06-08 18:03 UTC (permalink / raw)
  To: Thomas Baumann; +Cc: emacs-orgmode

Thomas Baumann <dtbaumann@yahoo.de> writes:

> Richard G Riley <rileyrgdev@googlemail.com> writes:
>
>> t
>>
>> Thomas Baumann <dtbaumann@yahoo.de> writes:
>>
>>> Ooops,
>>>
>>> (fboundp 'use-region-p)
>
> please check if you can customize "use-empty-active-region" and if so,

Of course not since its not not defined :-;

> set it to nil (the default in emacs23). please also check whether you
> have undefined this variable somewhere in your settings (how does it
> look like if you run emacs -Q)

I do not have it. It is not defined.

> The error seems to be unrelated to org-mode, but has to be somewhere in
> use-region-p which is part of emacs. There are many, many calls to
> use-region-p from different packages so it might also be your settings
> or your lisp-files being mixed up. After checking all this, you might
> want to consider to file a bug report to the emacs-list.
>
> A temporary workaround is to set the variable in your .emacs

I did this:

(setq use-empty-active-region nil)

and it now works.

>
> Ciao
> Thomas
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2008-06-08 18:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-08 12:41 Org-mode version 6.04c : org-remember Richard G Riley
2008-06-08 12:52 ` Thomas Baumann
2008-06-08 13:05   ` Richard G Riley
2008-06-08 13:20     ` Thomas Baumann
2008-06-08 13:33       ` Richard G Riley
2008-06-08 13:39         ` Thomas Baumann
2008-06-08 15:20           ` Richard G Riley
2008-06-08 16:22             ` Thomas Baumann
2008-06-08 18:03               ` Richard G Riley

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).