all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26774: gitignore: Add emacs created files
@ 2017-05-04 10:25 ng0
  2017-05-13  9:16 ` Alex Kost
  0 siblings, 1 reply; 2+ messages in thread
From: ng0 @ 2017-05-04 10:25 UTC (permalink / raw)
  To: 26774

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

As a proposal for inclusion, this ignores files with the name
scheme #*#, like they are created by emacs in place when you
have set no global folder for such files.
-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/

[-- Attachment #2: 0002-.gitignore-Add-to-ignored-files.patch --]
[-- Type: text/plain, Size: 520 bytes --]

From 4b3d9eb4e4ca471e6a826994ad73ce378e5051ac Mon Sep 17 00:00:00 2001
From: ng0 <ng0@no-reply.pragmatique.xyz>
Date: Wed, 3 May 2017 23:36:17 +0000
Subject: [PATCH 2/2] .gitignore: Add '#*#' to ignored files.

* .gitignore: Add entry for the above file which is created by editors.
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 1fc22d7e9..f9dda0f99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+\#*\#
 *.eps
 *.go
 *.log
-- 
2.12.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#26774: gitignore: Add emacs created files
  2017-05-04 10:25 bug#26774: gitignore: Add emacs created files ng0
@ 2017-05-13  9:16 ` Alex Kost
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Kost @ 2017-05-13  9:16 UTC (permalink / raw)
  To: 26774; +Cc: ng0

ng0 (2017-05-04 10:25 +0000) wrote:

> As a proposal for inclusion, this ignores files with the name
> scheme #*#, like they are created by emacs in place when you
> have set no global folder for such files.

> From 4b3d9eb4e4ca471e6a826994ad73ce378e5051ac Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@no-reply.pragmatique.xyz>
> Date: Wed, 3 May 2017 23:36:17 +0000
> Subject: [PATCH 2/2] .gitignore: Add '#*#' to ignored files.

Committed¹, thanks!  I have also added ".#*" line for the auto-save
files made by Emacs.  The same is done in Emacs itself:

  http://git.savannah.gnu.org/cgit/emacs.git/tree/.gitignore#n248

¹ http://git.savannah.gnu.org/cgit/guix.git/commit/?id=498abb3ed1d7dcda3ffac15832eb1e25d08e9162

-- 
Alex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-13  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04 10:25 bug#26774: gitignore: Add emacs created files ng0
2017-05-13  9:16 ` Alex Kost

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.