From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Nikishkin Newsgroups: gmane.emacs.help Subject: How to set default locate switches? Date: Thu, 10 Dec 2020 14:16:43 +0800 Message-ID: <87r1nyxk5z.fsf@delllaptop.lockywolf.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29612"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 10 07:17:33 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1knFGe-0007b9-GG for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Dec 2020 07:17:32 +0100 Original-Received: from localhost ([::1]:37748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knFGd-0007lK-Cb for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Dec 2020 01:17:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knFG4-0007l6-FF for help-gnu-emacs@gnu.org; Thu, 10 Dec 2020 01:16:57 -0500 Original-Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:33646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knFG0-0004GS-AT for help-gnu-emacs@gnu.org; Thu, 10 Dec 2020 01:16:56 -0500 Original-Received: by mail-pg1-x535.google.com with SMTP id o4so3267927pgj.0 for ; Wed, 09 Dec 2020 22:16:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:message-id:date:mime-version; bh=jRCuHmK99AIPEk33ADouFYGgEo8ngWsShUlRtfU0qvk=; b=Bi7Yt2XR+clyNnuOi+PgdfVkvqjYzlvq0FV3we4WxB/+P11PR3tyrcc9JcqC/CAByT WUnBeJkUn/xtdF10hOQ4lWbRK4SQ73N9c/lSIaEum+l0Z3bzJMnDs6ylkxmTPICKocg+ NSOPLSlHVOHSWrktswcC/HFbbNSQwKi/f/LR7Bsi15d0imwmWo3QTLOBE6gCGIVLwSDp 1y+MVOADMWh1T8CHi/Kgy31dqTALoLpFZ8pdRu1vrxAiGb9DwbTv3a/EEfno3akQS+ks Ltb3GLaJLbzIpDGyt1cPOrPpUhkDfDGMa+RGkNfvBrosoZSneu32nQx0hWHg04YDeLGf brLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:message-id:date :mime-version; bh=jRCuHmK99AIPEk33ADouFYGgEo8ngWsShUlRtfU0qvk=; b=KRv1o1D49HsbnF61I0B23tRbQskUu/nIrcH8GVlolkcZWtfpPq1aNqStNXjZvCG8y8 rBHvTR/n7Yyv9E1WbRL41ZacLEHoUnx88Akd+18rlSdXHk2nVQoG7xrdHRt7SxEwl2Dh pgUBYJx2cAbC8yqjRrz/JzfqDd9hO7jQeMbU6nfq3eL0EbJlqROlBoA96+f3IYD84vLw NmvKcYJX4a26VHIkbBDniT75NHwYIjAMYYGL0gmN0SPrhYmTx48+F9iFYekh51WFd3zx oUa16fFrriF8hyD+EklXXzyg3uYMsgbwDch22P6Ma8mIOt+T1P2DOtzrFgivL0SJMwy9 nnMg== X-Gm-Message-State: AOAM532m44Y1VBfV1uYstu0i2l/5XaD0oGTXRb8lX/sbrbBTVaTWIR4j dXrJM6TwNTumFHY1qoCggk6+5EqKMSbQkw== X-Google-Smtp-Source: ABdhPJz0PRwkspqs6Ua1EBKBg1A07plE3GkJ0gu9C4cRsgeA8NOvAyAWkf1PumJeEIH5T8xP1Dmdeg== X-Received: by 2002:aa7:8747:0:b029:19e:ac1:1e42 with SMTP id g7-20020aa787470000b029019e0ac11e42mr5440582pfo.3.1607581009465; Wed, 09 Dec 2020 22:16:49 -0800 (PST) Original-Received: from delllaptop.lockywolf.net (vultr-seoul-openbsd.lockywolf.net. [141.164.61.133]) by smtp.gmail.com with ESMTPSA id w70sm4859301pfd.65.2020.12.09.22.16.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 22:16:48 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=lockywolf@gmail.com; helo=mail-pg1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126218 Archived-At: Hello, everyone I am using locate a lot to find files and directories. However, by default locate searches in a case-sensitive way, and in the full path. On the other hand, I like searching the way described with locate's `-ieb` switches. (existing, case-fold, basename) I can, obviously, use C-u locate , but that's more typing. Is there a way to set those keys by default? Thanks, Vlad -- Vladimir Nikishkin (MiEr, lockywolf) (Laptop)