From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jackson Hamilton Newsgroups: gmane.emacs.bugs Subject: bug#23050: package.el overwrites symlinks when saving "(package-initialize)" Date: Thu, 17 Mar 2016 23:53:30 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113cd0f4670977052e4d34e5 X-Trace: ger.gmane.org 1458284061 30252 80.91.229.3 (18 Mar 2016 06:54:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2016 06:54:21 +0000 (UTC) To: 23050@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 18 07:54:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1agoIV-0002Ka-N8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Mar 2016 07:54:11 +0100 Original-Received: from localhost ([::1]:41937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agoIR-00013z-O5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Mar 2016 02:54:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agoIN-00013t-0N for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 02:54:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agoIL-0000jX-Tb for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 02:54:02 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agoIL-0000jT-PG for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 02:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1agoIL-0006YW-Ke for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 02:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jackson Hamilton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Mar 2016 06:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23050 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145828402225170 (code B ref -1); Fri, 18 Mar 2016 06:54:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Mar 2016 06:53:42 +0000 Original-Received: from localhost ([127.0.0.1]:51690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agoI2-0006Xu-9U for submit@debbugs.gnu.org; Fri, 18 Mar 2016 02:53:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agoI0-0006Xj-B4 for submit@debbugs.gnu.org; Fri, 18 Mar 2016 02:53:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agoHu-0000gK-4F for submit@debbugs.gnu.org; Fri, 18 Mar 2016 02:53:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agoHu-0000gF-0t for submit@debbugs.gnu.org; Fri, 18 Mar 2016 02:53:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agoHt-0000l7-2t for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 02:53:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agoHs-0000g5-6q for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 02:53:33 -0400 Original-Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:34209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agoHs-0000fz-0m for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 02:53:32 -0400 Original-Received: by mail-oi0-x231.google.com with SMTP id m82so81594653oif.1 for ; Thu, 17 Mar 2016 23:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to; bh=yzhHGwF8OxnesvDUxWpPQwejvOVgHm5XY2XhUPflLkY=; b=leAc7ZpUtzk87FlSdWra0L5LC8EQiEiT6bzV/8b8fkFjRPneFwULkjQh+WmC4lAS/h JT3Xlre60/61ZhEMVDwN24D35HtmLbVBkkgfglIbgU65wv99+RwgRHSyhK8CCTl9AmyA CQn2FBR0jtLQ5odHVkIJSVF2tkDdr2f2tiUAdX51zIqQvOUHE6Owi6LdebqAIQTKdGT7 EkpIZrXa2mBSR9c3lLn808s9Io8yI6SwSHn18hnbUslWZT+OPRxnSnmMeE7ddBfyQ0au NUgoOweufBvi8Xg8J0lJ0zZ8yCeL0jRwE8jHLiPljwSmegJoV2COT0/CayKcNmvYIqpE Vzxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to; bh=yzhHGwF8OxnesvDUxWpPQwejvOVgHm5XY2XhUPflLkY=; b=I5uFBG8Wsoke/iziDQPPVqFNWBFOd5BGUL0LIHiK1VmddtH67tAAlv2+Gfc0PVohm2 KCmhcu8ZYe61XjMa0IjFMbgPiKwiEELRjzTyTOpsOpG5xUJGyudZvJVVqt3b2dUBSkrw 5jgAOEyaAfKFsN2gjehUZI2L2O9A6ajLWxCdQdqaYDExn3u7NNor+FQ1K9eZ8s2IGXiM kunoQUhOTMODdQYYGHQAHBeJjk80kC6hImSqJaCDYSq3JfxsBcA5EE4w1nc29aSHbVAJ bcPFl1UWDRGzeUW7YI/mS3IyjLZw1ToWxQ3legDMn7zokZBquN6/TJPki6AKU2awnHkU hoxg== X-Gm-Message-State: AD7BkJJvQL+jpG2MZYl3JizFAWHIDXVBOp5ODx7Pk+yGrOZOgXb1ay2YVOlqiQShstcpFVj6r2S0Cty04mHtIA== X-Received: by 10.202.48.83 with SMTP id w80mr8588905oiw.113.1458284010078; Thu, 17 Mar 2016 23:53:30 -0700 (PDT) Original-Received: by 10.76.54.104 with HTTP; Thu, 17 Mar 2016 23:53:30 -0700 (PDT) X-Google-Sender-Auth: 1Jf8XriIJisIqZHyMVcALUOtUd8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115021 Archived-At: --001a113cd0f4670977052e4d34e5 Content-Type: text/plain; charset=UTF-8 Emacs version: 25.0.91.1 OS: Debian 8 GNU/Linux When I create a symlink in my ~/.emacs.d directory to my init.el file at some other location, and the init file does not have "(package-initialize)" inside it, then when package.el adds the "(package-initialize)" line to my init file on startup, instead of updating the original file, it seems to make a copy of the symlinked file in the ~/.emacs.d directory. This is bad, because now (probably without my immediate knowledge), I now have two very similar init files, and editing the supposedly-symlinked one will do nothing. I don't really like the idea of my init file being written-to without my consent in the first place. But anyway, Emacs should at least do me the courtesy of modifying the symlinked file, because that's clearly the only copy of the file I want to maintain. --001a113cd0f4670977052e4d34e5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Emacs version: 25.0.91.1
OS: Debia= n 8 GNU/Linux

When I create a symlink in my ~/.emacs.d directo= ry to my init.el file at some other location, and the init file does not ha= ve "(package-initialize)" inside it, then when package.el adds th= e "(package-initialize)" line to my init file on startup, instead= of updating the original file, it seems to make a copy of the symlinked fi= le in the ~/.emacs.d directory. This is bad, because now (probably without = my immediate knowledge), I now have two very similar init files, and editin= g the supposedly-symlinked one will do nothing.

I don't re= ally like the idea of my init file being written-to without my consent in t= he first place. But anyway, Emacs should at least do me the courtesy of mod= ifying the symlinked file, because that's clearly the only copy of the = file I want to maintain.
--001a113cd0f4670977052e4d34e5--