Am 02.02.2014 21:48, schrieb Sanel Zukan:
Attached is updated patch: done small formatting fixes and added sorting mark characters.
Thanks. I'm not sure if your implementation does the same as Vim's. AFAIK only capital letters denote global marks and the :marks command should only show those marks that are accessible from the current buffer, i.e. local marks set in the current buffer and global marks. Your implementation collects all marks from all buffers. This means if one has a large number of open buffers then the list would be cluttered with a lot of marks that are local to each buffer, e.g. the '^' mark. Furthermore you do not show global marks at all. I've adapted your patch accordingly and hope it does the right thing. But please check again and change whatever you like ;) You may even consider to support the (optional) ex argument (using (interactive "<a>"), which restricts the list of marks to be shown. Best regards, Frank