From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 26 21:16:14 2021 Received: (at submit) by debbugs.gnu.org; 27 Jan 2021 02:16:14 +0000 Received: from localhost ([127.0.0.1]:43133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4aNR-00033o-HJ for submit@debbugs.gnu.org; Tue, 26 Jan 2021 21:16:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:39906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4WBc-000646-6B for submit@debbugs.gnu.org; Tue, 26 Jan 2021 16:47:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4WBb-00055y-UG for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 16:47:43 -0500 Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]:38236) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4WBT-0007ip-Dh for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 16:47:43 -0500 Received: by mail-io1-xd2a.google.com with SMTP id 16so6322974ioz.5 for ; Tue, 26 Jan 2021 13:47:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=madmode-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=DsRU3hk59uTrpGZjfjbbI8DesRtV/T3FJZi2mKmIRIg=; b=iLwUxchOlBNePslNWaDXUSiPdn0A0u7QJjLM3Vklo9GqxkFDzeSMcxgvzu3zUf6nAp GukrzVyVquLVWVecJC9pTCMqI5uaA2N6jcgK4ZSlg/wAYWaHNJck5uiAYHGhduMU4neH NSo9cfmz7804xq+DKLfUNvFXspJZyZiG/hDuic1uckkQMtSd899j/3ErXsk0YuY2noqI LU1Nz34J7t4wQnMz1nXDl/HDwUUxx6MXEw+nEo6x3Jm2x5+lpPUDh7Ps3sbHD6/bUUwK 7ud9/wGucRnvN9K0Kx3fNHn/MeRI5Xmj+UTlN3Xd9CVGjttk+QEZr+JQCG2emXTY0FGq yzgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DsRU3hk59uTrpGZjfjbbI8DesRtV/T3FJZi2mKmIRIg=; b=ZQ3O3YPmeoJ4SbpFYEUbAtyTGIhoEUFt1b91zmDYHqzw5jiJ23PhGNkxurvbOjtCFg yITR8jrpjmumKLubcLN/wEoRkd7BsvLism/p/ghuI//GRgHeDj1AL+4PEnUcWYDUlMrf l+0YfBq9DKPDsQTr0EXmbradLms19n43gFGFCE+UTVZL81uI2HvXLHOCf/Z6rkOBHDAD 21Lje1uyKbZZL060pNrqstTeco7gI9GeGi061YCkGE0pLciotupzevPPvDBycEoNAqFx mZPnvlGcSS+yuVc6XfrgR0ahoc3ifm4vAVSRxxAHPmn0p0RrI3LJn+FLIQG9dOuh/Dkb jpDw== X-Gm-Message-State: AOAM530+XYnCySK+KmAH5JvAZrcnaHwfqsImPOMUFayowJ4oIdNLKfTz V+BP3/nkT/FGE/CSm/Td0DhzBdFZRR957bqJFqm0beUn0LmUetFQ X-Google-Smtp-Source: ABdhPJxtd/qnvQm6ou7cNjy7bdVvmUU/sJhmJnJcAg5zGQtUTzWKtXimSQ9u9X4lucZLStzcPD/ube4Cd6H9R/uOIKo= X-Received: by 2002:a92:d2c3:: with SMTP id w3mr6278261ilg.239.1611697652318; Tue, 26 Jan 2021 13:47:32 -0800 (PST) MIME-Version: 1.0 From: Dan Connolly Date: Tue, 26 Jan 2021 15:47:21 -0600 Message-ID: Subject: 25.2; changes to .dir-locals.el are not picked up when .dir-locals.el is a symlink To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: none client-ip=2607:f8b0:4864:20::d2a; envelope-from=dckc@madmode.com; helo=mail-io1-xd2a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 26 Jan 2021 21:16:12 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 1. Create ~/projects/m/.dir-locals.el file to set tab-width to 4. 2. Visit ~/projects/m/xyz.c and verify that tabs use 4 spaces 3. mv ~/projects/m/.dir-locals.el to ~/.emacs.d/m-locals.el 4. ln -s ~/.emacs.d/m-locals.el ~/projects/m/.dir-locals.el 5. Change 4 6 in ~/.emacs.d/m-locals.el 6. in the xyz.c buffer, M-x revert-buffer expected result: 7. tabs use 6 spaces actual result: 7. no change; tabs still use 4 spaces work-around: (setq dir-locals-directory-cache nil) before step 6. In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-09-22, modified by Debian built on lgw01-amd64-050 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04.5 LTS Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs25-jYekUr/emacs25-25.2+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Magit Minor modes in effect: diff-auto-refine-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t direnv-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Mark set Press C-c C-c when you are done editing. Enter a change comment. Type C-c C-c when done Checking in /home/connolly/projects/emacs-dotfiles/moddable-c-style/.dir-locals.el...done [C-t] show common commands, [?] describe events, [C-h i] show manual [2 times] Running git push -v dckc master:refs/heads/master Git finished mwheel-scroll: Beginning of buffer mwheel-scroll: End of buffer mwheel-scroll: Beginning of buffer Load-path shadows: /usr/share/emacs/25.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs25/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /home/connolly/.emacs.d/elpa/org-9.4.4/org-datetree hides /usr/share/emacs/25.2/lisp/org/org-datetree /home/connolly/.emacs.d/elpa/org-9.4.4/ob-fortran hides /usr/share/emacs/25.2/lisp/org/ob-fortran /home/connolly/.emacs.d/elpa/org-9.4.4/ob-C hides /usr/share/emacs/25.2/lisp/org/ob-C /home/connolly/.emacs.d/elpa/org-9.4.4/org-capture hides /usr/share/emacs/25.2/lisp/org/org-capture /home/connolly/.emacs.d/elpa/org-9.4.4/ob-css hides /usr/share/emacs/25.2/lisp/org/ob-css /home/connolly/.emacs.d/elpa/org-9.4.4/ob-ruby hides /usr/share/emacs/25.2/lisp/org/ob-ruby /home/connolly/.emacs.d/elpa/org-9.4.4/ob-gnuplot hides /usr/share/emacs/25.2/lisp/org/ob-gnuplot /home/connolly/.emacs.d/elpa/org-9.4.4/org-inlinetask hides /usr/share/emacs/25.2/lisp/org/org-inlinetask /home/connolly/.emacs.d/elpa/org-9.4.4/org-clock hides /usr/share/emacs/25.2/lisp/org/org-clock /home/connolly/.emacs.d/elpa/org-9.4.4/ox-md hides /usr/share/emacs/25.2/lisp/org/ox-md /home/connolly/.emacs.d/elpa/org-9.4.4/org-table hides /usr/share/emacs/25.2/lisp/org/org-table /home/connolly/.emacs.d/elpa/org-9.4.4/org-loaddefs hides /usr/share/emacs/25.2/lisp/org/org-loaddefs /home/connolly/.emacs.d/elpa/org-9.4.4/org-mobile hides /usr/share/emacs/25.2/lisp/org/org-mobile /home/connolly/.emacs.d/elpa/org-9.4.4/org-crypt hides /usr/share/emacs/25.2/lisp/org/org-crypt /home/connolly/.emacs.d/elpa/org-9.4.4/org-element hides /usr/share/emacs/25.2/lisp/org/org-element /home/connolly/.emacs.d/elpa/org-9.4.4/ob-ref hides /usr/share/emacs/25.2/lisp/org/ob-ref /home/connolly/.emacs.d/elpa/org-9.4.4/org-list hides /usr/share/emacs/25.2/lisp/org/org-list /home/connolly/.emacs.d/elpa/org-9.4.4/ob-latex hides /usr/share/emacs/25.2/lisp/org/ob-latex /home/connolly/.emacs.d/elpa/org-9.4.4/ox-ascii hides /usr/share/emacs/25.2/lisp/org/ox-ascii /home/connolly/.emacs.d/elpa/org-9.4.4/org-faces hides /usr/share/emacs/25.2/lisp/org/org-faces /home/connolly/.emacs.d/elpa/org-9.4.4/ob-table hides /usr/share/emacs/25.2/lisp/org/ob-table /home/connolly/.emacs.d/elpa/org-9.4.4/org-macs hides /usr/share/emacs/25.2/lisp/org/org-macs /home/connolly/.emacs.d/elpa/org-9.4.4/org-feed hides /usr/share/emacs/25.2/lisp/org/org-feed /home/connolly/.emacs.d/elpa/org-9.4.4/ob-org hides /usr/share/emacs/25.2/lisp/org/ob-org /home/connolly/.emacs.d/elpa/org-9.4.4/ob-octave hides /usr/share/emacs/25.2/lisp/org/ob-octave /home/connolly/.emacs.d/elpa/org-9.4.4/ob-eval hides /usr/share/emacs/25.2/lisp/org/ob-eval /home/connolly/.emacs.d/elpa/org-9.4.4/ob-maxima hides /usr/share/emacs/25.2/lisp/org/ob-maxima /home/connolly/.emacs.d/elpa/org-9.4.4/ob-python hides /usr/share/emacs/25.2/lisp/org/ob-python /home/connolly/.emacs.d/elpa/org-9.4.4/ob-mscgen hides /usr/share/emacs/25.2/lisp/org/ob-mscgen /home/connolly/.emacs.d/elpa/org-9.4.4/org-habit hides /usr/share/emacs/25.2/lisp/org/org-habit /home/connolly/.emacs.d/elpa/org-9.4.4/org-protocol hides /usr/share/emacs/25.2/lisp/org/org-protocol /home/connolly/.emacs.d/elpa/org-9.4.4/ob-asymptote hides /usr/share/emacs/25.2/lisp/org/ob-asymptote /home/connolly/.emacs.d/elpa/org-9.4.4/ob-js hides /usr/share/emacs/25.2/lisp/org/ob-js /home/connolly/.emacs.d/elpa/org-9.4.4/ob-comint hides /usr/share/emacs/25.2/lisp/org/ob-comint /home/connolly/.emacs.d/elpa/org-9.4.4/ob-ledger hides /usr/share/emacs/25.2/lisp/org/ob-ledger /home/connolly/.emacs.d/elpa/org-9.4.4/ob-matlab hides /usr/share/emacs/25.2/lisp/org/ob-matlab /home/connolly/.emacs.d/elpa/org-9.4.4/org-agenda hides /usr/share/emacs/25.2/lisp/org/org-agenda /home/connolly/.emacs.d/elpa/org-9.4.4/org-attach hides /usr/share/emacs/25.2/lisp/org/org-attach /home/connolly/.emacs.d/elpa/org-9.4.4/ob-shen hides /usr/share/emacs/25.2/lisp/org/ob-shen /home/connolly/.emacs.d/elpa/org-9.4.4/ob-makefile hides /usr/share/emacs/25.2/lisp/org/ob-makefile /home/connolly/.emacs.d/elpa/org-9.4.4/ox hides /usr/share/emacs/25.2/lisp/org/ox /home/connolly/.emacs.d/elpa/org-9.4.4/ob-plantuml hides /usr/share/emacs/25.2/lisp/org/ob-plantuml /home/connolly/.emacs.d/elpa/org-9.4.4/ox-beamer hides /usr/share/emacs/25.2/lisp/org/ox-beamer /home/connolly/.emacs.d/elpa/org-9.4.4/ob-calc hides /usr/share/emacs/25.2/lisp/org/ob-calc /home/connolly/.emacs.d/elpa/org-9.4.4/ob-sql hides /usr/share/emacs/25.2/lisp/org/ob-sql /home/connolly/.emacs.d/elpa/org-9.4.4/ob-dot hides /usr/share/emacs/25.2/lisp/org/ob-dot /home/connolly/.emacs.d/elpa/org-9.4.4/org-colview hides /usr/share/emacs/25.2/lisp/org/org-colview /home/connolly/.emacs.d/elpa/org-9.4.4/org-plot hides /usr/share/emacs/25.2/lisp/org/org-plot /home/connolly/.emacs.d/elpa/org-9.4.4/ob-tangle hides /usr/share/emacs/25.2/lisp/org/ob-tangle /home/connolly/.emacs.d/elpa/org-9.4.4/ob-ocaml hides /usr/share/emacs/25.2/lisp/org/ob-ocaml /home/connolly/.emacs.d/elpa/org-9.4.4/ox-odt hides /usr/share/emacs/25.2/lisp/org/ox-odt /home/connolly/.emacs.d/elpa/org-9.4.4/ob-R hides /usr/share/emacs/25.2/lisp/org/ob-R /home/connolly/.emacs.d/elpa/org-9.4.4/ob-screen hides /usr/share/emacs/25.2/lisp/org/ob-screen /home/connolly/.emacs.d/elpa/org-9.4.4/ob-clojure hides /usr/share/emacs/25.2/lisp/org/ob-clojure /home/connolly/.emacs.d/elpa/org-9.4.4/ob-exp hides /usr/share/emacs/25.2/lisp/org/ob-exp /home/connolly/.emacs.d/elpa/org-9.4.4/ob-lisp hides /usr/share/emacs/25.2/lisp/org/ob-lisp /home/connolly/.emacs.d/elpa/org-9.4.4/ob-scheme hides /usr/share/emacs/25.2/lisp/org/ob-scheme /home/connolly/.emacs.d/elpa/org-9.4.4/ob-picolisp hides /usr/share/emacs/25.2/lisp/org/ob-picolisp /home/connolly/.emacs.d/elpa/org-9.4.4/org-ctags hides /usr/share/emacs/25.2/lisp/org/org-ctags /home/connolly/.emacs.d/elpa/org-9.4.4/org-timer hides /usr/share/emacs/25.2/lisp/org/org-timer /home/connolly/.emacs.d/elpa/org-9.4.4/org-macro hides /usr/share/emacs/25.2/lisp/org/org-macro /home/connolly/.emacs.d/elpa/org-9.4.4/ob-ditaa hides /usr/share/emacs/25.2/lisp/org/ob-ditaa /home/connolly/.emacs.d/elpa/org-9.4.4/ob-awk hides /usr/share/emacs/25.2/lisp/org/ob-awk /home/connolly/.emacs.d/elpa/org-9.4.4/ob-lilypond hides /usr/share/emacs/25.2/lisp/org/ob-lilypond /home/connolly/.emacs.d/elpa/org-9.4.4/org-entities hides /usr/share/emacs/25.2/lisp/org/org-entities /home/connolly/.emacs.d/elpa/org-9.4.4/ob-sass hides /usr/share/emacs/25.2/lisp/org/ob-sass /home/connolly/.emacs.d/elpa/org-9.4.4/ob-emacs-lisp hides /usr/share/emacs/25.2/lisp/org/ob-emacs-lisp /home/connolly/.emacs.d/elpa/org-9.4.4/org-archive hides /usr/share/emacs/25.2/lisp/org/org-archive /home/connolly/.emacs.d/elpa/org-9.4.4/ob-perl hides /usr/share/emacs/25.2/lisp/org/ob-perl /home/connolly/.emacs.d/elpa/org-9.4.4/org-src hides /usr/share/emacs/25.2/lisp/org/org-src /home/connolly/.emacs.d/elpa/org-9.4.4/ox-org hides /usr/share/emacs/25.2/lisp/org/ox-org /home/connolly/.emacs.d/elpa/org-9.4.4/ox-man hides /usr/share/emacs/25.2/lisp/org/ox-man /home/connolly/.emacs.d/elpa/org-9.4.4/ox-latex hides /usr/share/emacs/25.2/lisp/org/ox-latex /home/connolly/.emacs.d/elpa/org-9.4.4/ob-io hides /usr/share/emacs/25.2/lisp/org/ob-io /home/connolly/.emacs.d/elpa/org-9.4.4/ob-java hides /usr/share/emacs/25.2/lisp/org/ob-java /home/connolly/.emacs.d/elpa/org-9.4.4/ox-icalendar hides /usr/share/emacs/25.2/lisp/org/ox-icalendar /home/connolly/.emacs.d/elpa/org-9.4.4/ox-texinfo hides /usr/share/emacs/25.2/lisp/org/ox-texinfo /home/connolly/.emacs.d/elpa/org-9.4.4/org-indent hides /usr/share/emacs/25.2/lisp/org/org-indent /home/connolly/.emacs.d/elpa/org-9.4.4/org-compat hides /usr/share/emacs/25.2/lisp/org/org-compat /home/connolly/.emacs.d/elpa/org-9.4.4/org-id hides /usr/share/emacs/25.2/lisp/org/org-id /home/connolly/.emacs.d/elpa/org-9.4.4/org-pcomplete hides /usr/share/emacs/25.2/lisp/org/org-pcomplete /home/connolly/.emacs.d/elpa/org-9.4.4/org-mouse hides /usr/share/emacs/25.2/lisp/org/org-mouse /home/connolly/.emacs.d/elpa/org-9.4.4/ob-lob hides /usr/share/emacs/25.2/lisp/org/ob-lob /home/connolly/.emacs.d/elpa/org-9.4.4/ob hides /usr/share/emacs/25.2/lisp/org/ob /home/connolly/.emacs.d/elpa/org-9.4.4/ob-core hides /usr/share/emacs/25.2/lisp/org/ob-core /home/connolly/.emacs.d/elpa/org-9.4.4/ob-haskell hides /usr/share/emacs/25.2/lisp/org/ob-haskell /home/connolly/.emacs.d/elpa/org-9.4.4/ob-sqlite hides /usr/share/emacs/25.2/lisp/org/ob-sqlite /home/connolly/.emacs.d/elpa/org-9.4.4/ox-publish hides /usr/share/emacs/25.2/lisp/org/ox-publish /home/connolly/.emacs.d/elpa/org-9.4.4/org-footnote hides /usr/share/emacs/25.2/lisp/org/org-footnote /home/connolly/.emacs.d/elpa/org-9.4.4/org-version hides /usr/share/emacs/25.2/lisp/org/org-version /home/connolly/.emacs.d/elpa/org-9.4.4/org hides /usr/share/emacs/25.2/lisp/org/org /home/connolly/.emacs.d/elpa/org-9.4.4/ox-html hides /usr/share/emacs/25.2/lisp/org/ox-html /home/connolly/.emacs.d/elpa/seq-2.20/seq hides /usr/share/emacs/25.2/lisp/emacs-lisp/seq /home/connolly/.emacs.d/elpa/let-alist-1.0.5/let-alist hides /usr/share/emacs/25.2/lisp/emacs-lisp/let-alist Features: (shadow sort mail-extr emacsbug sendmail vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc vc-dispatcher pp files-x pcmpl-unix jka-compr pulse misearch multi-isearch vc-git magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-collab ghub url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap let-alist auth-source magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-process magit-margin magit-mode git-commit magit-git magit-section eieio-compat magit-utils crm magit-popup log-edit easy-mmode message format-spec rfc822 mml mml-sec password-cache epg gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async server shell pcomplete comint ansi-color dired js-dev-flow add-node-modules-path flycheck-flow cus-edit cus-start cus-load wid-edit flycheck find-func js2-mode etags xref project eieio eieio-core ring js advice sgml-mode thingatpt cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs imenu direnv subr-x json map dash cl-macs cl-seq use-package-core tabs-are-evil finder-inf rx info melpa-init package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 361838 43948) (symbols 48 39612 1) (miscs 40 1701 1142) (strings 32 103022 8981) (string-bytes 1 3057294) (vectors 16 40480) (vector-slots 8 748989 24461) (floats 8 399 617) (intervals 56 2319 424) (buffers 976 39)) From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 09:02:21 2022 Received: (at 46122) by debbugs.gnu.org; 14 Jun 2022 13:02:21 +0000 Received: from localhost ([127.0.0.1]:33451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o16BV-00061R-I6 for submit@debbugs.gnu.org; Tue, 14 Jun 2022 09:02:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o16BQ-00061A-LV for 46122@debbugs.gnu.org; Tue, 14 Jun 2022 09:02:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+G0p5+A/Cc7Rscv0F5k2CQUfc5xxkJHVeXsvsLdxICM=; b=u0m7EGoSX0x53KmZIz6Y7z9RxJ fEbORFdoKaCDVigaz2rKlPj43FeIAWXuM8RGWeJX3DDyknsNAls2ZS1Bcbb34syUYRDMGH/+x2ZhK xmzBpmg37vE76iNSTdZWgRO1zsOpORQ0tEIBAB+4qFfkio3tdnWiElV5x8IGJAm1nEnE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o16BG-0006go-30; Tue, 14 Jun 2022 15:02:05 +0200 From: Lars Ingebrigtsen To: Dan Connolly Subject: Re: bug#46122: 25.2; changes to .dir-locals.el are not picked up when .dir-locals.el is a symlink References: X-Now-Playing: Coil's _Heartworms_: "Assassins Of Hakim Bey (Remix 2)" Date: Tue, 14 Jun 2022 15:01:59 +0200 In-Reply-To: (Dan Connolly's message of "Tue, 26 Jan 2021 15:47:21 -0600") Message-ID: <87a6afmm9k.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dan Connolly writes: > 1. Create ~/projects/m/.dir-locals.el file to set tab-width to 4. > 2. Visit ~/projects/m/xyz.c and verify that tabs use 4 spaces > 3. mv ~/projects/m/.dir-locals.el to ~/.emacs.d/m-locals.el > 4. l [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 46122 Cc: 46122@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Dan Connolly writes: > 1. Create ~/projects/m/.dir-locals.el file to set tab-width to 4. > 2. Visit ~/projects/m/xyz.c and verify that tabs use 4 spaces > 3. mv ~/projects/m/.dir-locals.el to ~/.emacs.d/m-locals.el > 4. ln -s ~/.emacs.d/m-locals.el ~/projects/m/.dir-locals.el > 5. Change 4 6 in ~/.emacs.d/m-locals.el > 6. in the xyz.c buffer, M-x revert-buffer > > expected result: > 7. tabs use 6 spaces > > actual result: > 7. no change; tabs still use 4 spaces > > work-around: > (setq dir-locals-directory-cache nil) before step 6. (I'm going through old bug reports that unfortunately weren't resolved at the time.) I've now fixed this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 09:02:21 2022 Received: (at control) by debbugs.gnu.org; 14 Jun 2022 13:02:21 +0000 Received: from localhost ([127.0.0.1]:33454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o16BZ-00061b-5g for submit@debbugs.gnu.org; Tue, 14 Jun 2022 09:02:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o16BX-00061I-8O for control@debbugs.gnu.org; Tue, 14 Jun 2022 09:02:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DsdqKzQZvhPQNk1+PCZo/VZsOlJLAaNyINvZArlYuOg=; b=sEkIrtQPoWsdX1yHnGYarG7b3S sVIIVnMIcgp+lpEY+9KB9eajz+oHr4EhznqelGQfDeoqNdcUPMOtkWeXYdp7CuPmE5NLs/lkBVMuR 7yRGvRfv6/yxCPo7wkCkmPKQzv0QKO6zHqDjWPF2zz8fuYsdQfiAOZcROwdKIsQeo67I=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o16BP-0006gz-A2 for control@debbugs.gnu.org; Tue, 14 Jun 2022 15:02:13 +0200 Date: Tue, 14 Jun 2022 15:02:10 +0200 Message-Id: <878rpzmm99.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #46122 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 46122 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 46122 29.1 quit From unknown Sat Jun 14 19:24:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 13 Jul 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator