Alt/Option key question

2023-03-30 Thread Christopher Menzel
Gentle LyX folk:

I use the Emacs UI for LyX, which means the Option key (or Alt key, for PC 
users) gets a good workout — e.g., Opt-D deletes word-forward, Opt-F moves the 
cursor forward by word, etc. (In the standard LyX UI, those keys bring up the 
File and Document menus, respectively, so I disable that behavior with a custom 
stdmenus.inc file.) My issue is this. If I just depress the Option key and 
release it without having hit another key, it steals the cursor — it’s 
apparently waiting for an F or a D or one of the other keys (which I’ve 
deactivated) that bring up a menu — and I have to depress the Option key and 
let it up again to get the cursor back. This is a bit irritating: I often find 
myself depressing the Option key absent-mindedly when I’m thinking and it’s 
annoying to start typing and have nothing happen. Thus my question: Is there a 
way to prevent this, so that depressing/releasing the Option key simply has no 
effect on the cursor? Any thoughts appreciated.

Thanks.

Chris Menzel


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX???and Git for version control

2023-03-30 Thread Pavel Sanda
On Sat, Mar 25, 2023 at 10:50:00PM -0700, Madame Michu wrote:
> Hello there,
> 
> I???m facing an issue with git and LyX for version control.
> 
> 
> I followed the guidelines in section 7.2.6 in the "Additional Features" LyX
> manual, but once the git repo is created for the document, and I???try to
> `register` my document with LyX GUI I???get the following error:
> 
> ```
> 
> Some problem occurred while running the command:
> 'ci -q -u -i -t-"First draft " "grand_écrit.lyx"'.
> ```

Indeed I see your problem and we need to either update the code or guidelines.
Essentially the problem is that "git init" is not enough for LyX to recognize
that the directory is under git control.
Once the first file is added via "git add" the recognition (of not just the file
but the whole dir) works and register command will proceed.
I'll try to look on that once I have some free time.
At the moment your workaround is to start new git repo via init + add file
on the commandline (or via some git frontend).

> And then a `Lyx crashed error message` saying:
> ```
> SIGSEGV signal caught!
> Sorry, you have found a bug in LyX, hope you have not lost any data.
> Please read the bug-reporting instructions in 'Help->Introduction' and send
> us a bug report, if necessary. Thanks!
> Bye

The crash should not happen in any circumstance. Alas, I am not able to 
reproduce the crash here.
If you can reproduce the crash please post exact steps how to reproduce, I will 
have a look.

Thanks,
Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users