Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
1 13
Impact
~11k people reached

  • 0 posts edited
  • 0 helpful flags
  • 20 votes cast
Apr
29
awarded  Popular Question
Apr
25
comment Always automatically choose “Close the program”
Sorry but Emacs is nothing but rubbish on Windows.
Mar
21
comment Can’t kill a process that’s running—yet apparently not visible—in the task manager
use killall instead of pkill since by default pkill overkills.
Nov
24
comment What is the unix command to find out what executable file corresponds to a given command?
type is also builtin to zsh?
Jul
2
awarded  Curious
Apr
8
awarded  Popular Question
Feb
4
awarded  Notable Question
Jan
24
awarded  Popular Question
Jul
26
awarded  Popular Question
May
28
comment How to make emacsclient uses differnt themes in terminal and X window?
The frame-local theme settings seem difficult. But at least it works partially for my problem. Thanks.
Apr
15
comment Is there a simple setting that make Vim find filetype more smart?
@Jeff I understand; and I even guess that it might be some plugin I used that lead to this behavior, and it should cost me a lot of time to locate it. Whenever I find the root cause, I would tell you what I am going wrong. Anyway, thanks for your time and kindness.
Apr
14
comment Is there a simple setting that make Vim find filetype more smart?
@Jeff, still not work, and the filetype is like before:conf, which is a bit confusing.
Apr
14
comment Is there a simple setting that make Vim find filetype more smart?
@Jeff the result of :echo resolve(@%) is right, for soft links with both relative and absolute paths, and :set syn? exactly returns the file name(actually it is the path). But it still doesn't take effect. The vim is a debian package: vim-gtk on a Ubuntu12.04 32b machine, with the version number 2:7.3.429-2ubuntu2, thanks.
Apr
14
comment Is there a simple setting that make Vim find filetype more smart?
@Jeff unfortunately it does not work for me. Since I know quite little about VimL, would you please give me some advice to get the filetype string in the script above(I know I could use &filetype inside a file, but don't know how to get it with a special file,for instance somefile.cpp)? Thanks.
Apr
14
comment Is there a simple setting that make Vim find filetype more smart?
@Jeff Seems that syntax is set to target file name other than the syntax type(in this case, syntax=somefile.cpp, not syntax=cpp)?
Apr
14
comment Is there a simple setting that make Vim find filetype more smart?
@Jeff Yeah, I need the syntax highlight. And I would not bother to manually set syntax when I open a file. I am just seeking a general way to handle this problem.
Apr
14
asked Is there a simple setting that make Vim find filetype more smart?
Apr
12
revised newsfox forbids me add new feed
added 12 characters in body
Apr
12
asked newsfox forbids me add new feed
Apr
7
asked How to make emacsclient uses differnt themes in terminal and X window?