<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="/horde/whups/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>the &quot;Delete&quot; option in E325 should not be displayed</title>
  <pubDate>Tue, 21 Jul 2026 17:08:17 +0200</pubDate>
  <link>http://www.polarhome.com/horde/whups/ticket/?id=24</link>
  <atom:link rel="self" type="application/rss+xml" title="the &quot;Delete&quot; option in E325 should not be displayed" href="http://www.polarhome.com/horde/whups/ticket/rss.php?id=24" />
  <description>the &quot;Delete&quot; option in E325 should not be displayed</description>

  
  
  <item>
   <title>When the &quot;attention dialog&quot; is given (E325), there is a list</title>
   <description>When the &quot;attention dialog&quot; is given (E325), there is a list of options for the
user. For example, if I am editing &quot;a.c&quot; in one terminal session, and try to
open it in another one, vim finds that there is already a swap file for a.c and
gives me the following warning:

    E325: ATTENTION
    Found a swap file by the name &quot;a.c_swp&quot;
                dated: Fri Dec 17 20:45:22 2010
            [cannot be opened]
    While opening file &quot;a.c&quot;
                dated: Fri Dec 17 20:45:28 2010
        NEWER than swap file!

    ...

    Swap file &quot;a.c_swp&quot; already exists!
    [O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:

I believe that the option to &quot;(D)elete&quot; the swap file should only be displayed
if the &quot;other&quot; process is not running, i.e. if it has crashed.

I did not find any documentation for this, but
- this makes sense,
- this seems to be the intention in memline.c, findswapname(), see the use of
  variable process_still_running

Currently, the option to Delete the swap file is displayed even when the other
process is still running. It probably isn't very &quot;healthy&quot; to delete the swap
file then.
</description>
   <pubDate>Fri, 17 Dec 2010 20:53:04 +0100</pubDate>
   <link>http://www.polarhome.com/horde/whups/ticket/?id=24#t50</link>
  </item>
  

 </channel>
</rss>
