emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-Remember C-1 C-c C-c
@ 2011-02-25  1:51 Matthew Sauer
  2011-02-27 23:41 ` Bernt Hansen
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Sauer @ 2011-02-25  1:51 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1184 bytes --]

Whenever I use Remember to shoot a note to a specific location I press C-1
and get the following error:
M-[ 1 ; 5 q is undefined

I changed my .emacs to make the default refiling and C-1 C-c C-c is now the
template location specified.  At times I would still like to use the C-1 C-c
C-c behavior.  I thought about setting a 1 press function key binding but I
haven't been able to determine what function is called (either direction
depending on the setup I have in my .emacs) and I haven't been able to
figure out what is causing the error when i press C-1  (it happens whenever
I press the key combo).

I am using cygwin in mintty, with emacs and orgmode 7.4 (I pull off the git
every few days, don't remember which exact commit I have).
GNU Emacs 23.2.1 (i686-pc-cygwin, GTK+ Version 2.20.1) of 2010-10-01


This happened even before I upgraded from the version of orgmode that comes
with emacs 23.2.1   I am just not sure which direction to go to find the
problem and I know how to work around it by calling the correct function
and/or binding it to a key.   Any input is most appreciated as the more
college classes I take the more class files I have to file into.

Matthew Sauer

[-- Attachment #1.2: Type: text/html, Size: 1358 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please 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] 5+ messages in thread

* Re: Org-Remember C-1 C-c C-c
  2011-02-25  1:51 Org-Remember C-1 C-c C-c Matthew Sauer
@ 2011-02-27 23:41 ` Bernt Hansen
  2011-02-28  0:25   ` Matthew Sauer
  0 siblings, 1 reply; 5+ messages in thread
From: Bernt Hansen @ 2011-02-27 23:41 UTC (permalink / raw)
  To: Matthew Sauer; +Cc: emacs-orgmode

Matthew Sauer <improv.philosophy@gmail.com> writes:

> Whenever I use Remember to shoot a note to a specific location I
> press C-1 and get the following error:
> M-[ 1 ; 5 q is undefined
>
> I changed my .emacs to make the default refiling and C-1 C-c C-c is
> now the template location specified.  At times I would still like to
> use the C-1 C-c C-c behavior.  I thought about setting a 1 press
> function key binding but I haven't been able to determine what
> function is called (either direction depending on the setup I have in
> my .emacs) and I haven't been able to figure out what is causing the
> error when i press C-1  (it happens whenever I press the key combo).
>
> I am using cygwin in mintty, with emacs and orgmode 7.4 (I pull off
> the git every few days, don't remember which exact commit I have). 
> GNU Emacs 23.2.1 (i686-pc-cygwin, GTK+ Version 2.20.1) of 2010-10-01
>  
>
>
> This happened even before I upgraded from the version of orgmode that
> comes with emacs 23.2.1   I am just not sure which direction to go to
> find the problem and I know how to work around it by calling the
> correct function and/or binding it to a key.   Any input is most
> appreciated as the more college classes I take the more class files I
> have to file into.

Hi Matthew,

Please provide details of your remember/capture template (are you really
using remember mode instead of capture mode?), the keys sequence you are
using, and what you expect to happen.

Regards,
Bernt

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

* Re: Org-Remember C-1 C-c C-c
  2011-02-27 23:41 ` Bernt Hansen
@ 2011-02-28  0:25   ` Matthew Sauer
  2011-02-28  1:55     ` Bernt Hansen
  2011-02-28  9:54     ` Andy Koppe
  0 siblings, 2 replies; 5+ messages in thread
From: Matthew Sauer @ 2011-02-28  0:25 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2298 bytes --]

Yes, I was using remember as when I first started using orgmode I didn't
have capture because emacs 23.2 in cygwin came with a series 6 version of
org.  Now that I have upgraded to the main development version I realized I
can switch to capture, which I have and I LOVE much better, it has solved
many of the problems I was having.

The problem I was getting when I was pressing C-1 still exists but I believe
is due to incorrect mapping of Mintty/Cygwin (I am running on XP on the
laptop) as it works correctly in the windows version of emacs I have
installed.  (it also has issues with C-3 and other C-number combinations but
that is a function of Mintty I believe.

Matthew

On Sun, Feb 27, 2011 at 5:41 PM, Bernt Hansen <bernt@norang.ca> wrote:

> Matthew Sauer <improv.philosophy@gmail.com> writes:
>
> > Whenever I use Remember to shoot a note to a specific location I
> > press C-1 and get the following error:
> > M-[ 1 ; 5 q is undefined
> >
> > I changed my .emacs to make the default refiling and C-1 C-c C-c is
> > now the template location specified.  At times I would still like to
> > use the C-1 C-c C-c behavior.  I thought about setting a 1 press
> > function key binding but I haven't been able to determine what
> > function is called (either direction depending on the setup I have in
> > my .emacs) and I haven't been able to figure out what is causing the
> > error when i press C-1  (it happens whenever I press the key combo).
> >
> > I am using cygwin in mintty, with emacs and orgmode 7.4 (I pull off
> > the git every few days, don't remember which exact commit I have).
> > GNU Emacs 23.2.1 (i686-pc-cygwin, GTK+ Version 2.20.1) of 2010-10-01
> >
> >
> >
> > This happened even before I upgraded from the version of orgmode that
> > comes with emacs 23.2.1   I am just not sure which direction to go to
> > find the problem and I know how to work around it by calling the
> > correct function and/or binding it to a key.   Any input is most
> > appreciated as the more college classes I take the more class files I
> > have to file into.
>
> Hi Matthew,
>
> Please provide details of your remember/capture template (are you really
> using remember mode instead of capture mode?), the keys sequence you are
> using, and what you expect to happen.
>
> Regards,
> Bernt
>

[-- Attachment #1.2: Type: text/html, Size: 2905 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please 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] 5+ messages in thread

* Re: Org-Remember C-1 C-c C-c
  2011-02-28  0:25   ` Matthew Sauer
@ 2011-02-28  1:55     ` Bernt Hansen
  2011-02-28  9:54     ` Andy Koppe
  1 sibling, 0 replies; 5+ messages in thread
From: Bernt Hansen @ 2011-02-28  1:55 UTC (permalink / raw)
  To: Matthew Sauer; +Cc: emacs-orgmode

Hi Matthew,

If it's a keyboard mapping issue I believe C-1 is equivalent to C-u 1
Does that work better for you?

-Bernt

Matthew Sauer <improv.philosophy@gmail.com> writes:

> Yes, I was using remember as when I first started using orgmode I
> didn't have capture because emacs 23.2 in cygwin came with a series 6
> version of org.  Now that I have upgraded to the main development
> version I realized I can switch to capture, which I have and I LOVE
> much better, it has solved many of the problems I was having.
>
> The problem I was getting when I was pressing C-1 still exists but I
> believe is due to incorrect mapping of Mintty/Cygwin (I am running on
> XP on the laptop) as it works correctly in the windows version of
> emacs I have installed.  (it also has issues with C-3 and other
> C-number combinations but that is a function of Mintty I believe.
>
> Matthew
>
> On Sun, Feb 27, 2011 at 5:41 PM, Bernt Hansen <bernt@norang.ca>
> wrote:
>
>     Matthew Sauer <improv.philosophy@gmail.com> writes:
>    
>     > Whenever I use Remember to shoot a note to a specific location
>     I
>     > press C-1 and get the following error:
>     > M-[ 1 ; 5 q is undefined
>     >
>     > I changed my .emacs to make the default refiling and C-1 C-c
>     C-c is
>     > now the template location specified.  At times I would still
>     like to
>     > use the C-1 C-c C-c behavior.  I thought about setting a 1
>     press
>     > function key binding but I haven't been able to determine what
>     > function is called (either direction depending on the setup I
>     have in
>     > my .emacs) and I haven't been able to figure out what is
>     causing the
>     > error when i press C-1  (it happens whenever I press the key
>     combo).
>     >
>     > I am using cygwin in mintty, with emacs and orgmode 7.4 (I pull
>     off
>     > the git every few days, don't remember which exact commit I
>     have). 
>     > GNU Emacs 23.2.1 (i686-pc-cygwin, GTK+ Version 2.20.1) of
>     2010-10-01
>     >  
>     >
>     >
>     > This happened even before I upgraded from the version of
>     orgmode that
>     > comes with emacs 23.2.1   I am just not sure which direction to
>     go to
>     > find the problem and I know how to work around it by calling
>     the
>     > correct function and/or binding it to a key.   Any input is
>     most
>     > appreciated as the more college classes I take the more class
>     files I
>     > have to file into.
>    
>     Hi Matthew,
>    
>     Please provide details of your remember/capture template (are you
>     really
>     using remember mode instead of capture mode?), the keys sequence
>     you are
>     using, and what you expect to happen.
>    
>     Regards,
>     Bernt

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

* Re: Org-Remember C-1 C-c C-c
  2011-02-28  0:25   ` Matthew Sauer
  2011-02-28  1:55     ` Bernt Hansen
@ 2011-02-28  9:54     ` Andy Koppe
  1 sibling, 0 replies; 5+ messages in thread
From: Andy Koppe @ 2011-02-28  9:54 UTC (permalink / raw)
  To: emacs-orgmode

Matthew Sauer writes:
> > Whenever I use Remember to shoot a note to a specific location I
> > press C-1 and get the following error:
> > M-[ 1 ; 5 q is undefined

> The problem I was getting when I was pressing C-1 still exists but I believe
> is due to incorrect mapping of Mintty/Cygwin (I am running on XP on the laptop)
> as it works correctly in the windows version of emacs I have installed.  (it
> also has issues with C-3 and other C-number combinations but that is a function
> of Mintty I believe.

You'll see similar issues in other terminal emulators, because there are no
standard escape sequences for C-number combinations. The sequences sent by
mintty are documented here:

http://code.google.com/p/mintty/wiki/Keycodes#Number_and_symbol_keys

So I'm afraid you'll need to map those manually. You don't say whether you were
using the GUI or console version of Windows emacs, but either way there programs
do get access to all key combinations via the relevant APIs, rather than having
to deal with escape sequences.

Andy

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

end of thread, other threads:[~2011-02-28 10:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-25  1:51 Org-Remember C-1 C-c C-c Matthew Sauer
2011-02-27 23:41 ` Bernt Hansen
2011-02-28  0:25   ` Matthew Sauer
2011-02-28  1:55     ` Bernt Hansen
2011-02-28  9:54     ` Andy Koppe

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