lisp - Modify Alt+f in Emacs for tex-mode -


In emacs while typing in Tx mode, Alt + f is not included as part of the word so I can be absolutely accurate How can I modify alt + f behavior if punctiation is done to include a part of the word while moving forward.

I have a separate file that loads while writing in tech so I will throw it there, so it will not affect normal emacs behavior.

Thanks for any help.

The idea of ​​an additional for this but related to the same problem is alt + d and removing it is not only the removal of the word but also after dissection. e.t.c.).

The following code should work for you:

  (given String words make letters of characters. (((St-Syntax-Table)) (dotmeas (n (length straw)) (Modified-syntax-entry (ALTSR NR) "W" whistle) (Set syntax-table stat) (Deep Dots-Array-Non-Punctuation () (Unpunctuate-Syntax ".")) (Ad-hook 'Tex-mode-hook' dots-is-non-punctuation marks) / Code>  

which The living MF (forward-word function) works that "w" (or words) in the current syntax table, which leaves all the characters in the buffer.

This code creates a revised syntax table and sets it to set the buffer and the ed-hook bit below, when you open the file in tex-mode. (This method avoids the different file items you've been told).

You may note that I make a copy of the syntax table instead of editing anyone related to Tex Head mode. This is because I always do things wrong while playing with Syntax Tables and you can mess up Royale ... This method means that you just have to close the buffer and start over again!

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -