From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsmish Subject: bug#39394: vis editor doesn't respect user configuration Date: Sun, 2 Feb 2020 22:55:30 +0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43559) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyJUV-0002dP-Id for bug-guix@gnu.org; Sun, 02 Feb 2020 12:57:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyJUU-0007RP-N3 for bug-guix@gnu.org; Sun, 02 Feb 2020 12:57:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyJUU-0007R8-Ht for bug-guix@gnu.org; Sun, 02 Feb 2020 12:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyJUU-0002Ah-H6 for bug-guix@gnu.org; Sun, 02 Feb 2020 12:57:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:43103) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyJTD-00021T-Oa for bug-guix@gnu.org; Sun, 02 Feb 2020 12:55:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyJTC-0004VS-TU for bug-guix@gnu.org; Sun, 02 Feb 2020 12:55:43 -0500 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:33106) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyJTC-0004Sm-Pp for bug-guix@gnu.org; Sun, 02 Feb 2020 12:55:42 -0500 Received: by mail-qk1-x72f.google.com with SMTP id h4so1112668qkm.0 for ; Sun, 02 Feb 2020 09:55:42 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: 39394@debbugs.gnu.org Steps to reproduce: 1. Make file ~/.config/vis/visrc.lua with following text: ``` require('vis') vis.events.subscribe(vis.events.INIT, function() vis:command('qall') end) ``` 2. Open vis vis should immediately close on startup, but it doesn't. It happens because package defines $VIS_PATH search path to directory which contains example visrc.lua file and $VIS_PATH is highest priority directory according to man page. Suggestions: 1. Remove or rename example visrc.lua in share/vis 2. Remove $VIS_PATH search path from package. This shouldn't break anything, as it seems share/vis is in later resolution path.