recent-file-list

Maintaining a recent files list

怎甘沉沦 提交于 2019-12-21 05:03:27
问题 I would like to maintain a simple recent files list on my MFC application that shows the 4 most recently used file names. I have been playing with an example from Eugene Kain's "The MFC Answer Book" that can programmatically add strings to the Recent Files list for an application based on the standard Document/View architecture: (see "Managing the Recent Files List (MRU)") : http://www.nerdbooks.com/isbn/0201185377 My application is a fairly lightweight utility that does not use the Document

Force emacs recent files using recentf to ignore specified files (.windows and .revive for example)

喜夏-厌秋 提交于 2019-12-09 14:52:15
问题 I have always been bugged by the fact that when exiting with revive.el and windows.el enabled it opens a file and writes to it called .revive and .windows. These are saved so it goes in the recent files list. Is there anyway to make it ignore these files or any other files I desire. 回答1: A way to make recentf ignore some files is to add appropriate regexps to recentf-exclude list: (add-to-list 'recentf-exclude "\\.windows\\'") (add-to-list 'recentf-exclude "\\.revive\\'") This will prevent

Force emacs recent files using recentf to ignore specified files (.windows and .revive for example)

走远了吗. 提交于 2019-12-04 01:22:13
I have always been bugged by the fact that when exiting with revive.el and windows.el enabled it opens a file and writes to it called .revive and .windows. These are saved so it goes in the recent files list. Is there anyway to make it ignore these files or any other files I desire. Victor Deryagin A way to make recentf ignore some files is to add appropriate regexps to recentf-exclude list: (add-to-list 'recentf-exclude "\\.windows\\'") (add-to-list 'recentf-exclude "\\.revive\\'") This will prevent any future entries of the above from being added to the recentf list. You need to delete the

WinSCP select most recent file

跟風遠走 提交于 2019-11-28 05:56:06
问题 Looking for the WinSCP command line equivalent of selecting the most recent/latest file. Any ideas http://winscp.net/eng/docs/script_download_most_recent_file 回答1: Use the -latest switch of the get command, as the Downloading the most recent file article shows: get -latest /home/user/* c:\downloaded\ If you want to use it on command-line, the syntax is like: winscp.com /command "open sftp://user:password@example.com/ -hostkey=""ssh-rsa 2048 xx:xx:xx...""" "get -latest /home/user/* c: