From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: andres.ramirez Newsgroups: gmane.emacs.devel Subject: [PATCH] improving ses-jump for accepting cell names as lowercase Date: Tue, 08 Mar 2022 04:39:07 +0000 Message-ID: <86ilspf47o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22670"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 08 05:40:06 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nRRdm-0005i2-5X for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Mar 2022 05:40:06 +0100 Original-Received: from localhost ([::1]:39492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRRdl-0006Pt-06 for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Mar 2022 23:40:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRRcv-0005da-SR for emacs-devel@gnu.org; Mon, 07 Mar 2022 23:39:13 -0500 Original-Received: from mail-oi1-f180.google.com ([209.85.167.180]:39481) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRRcu-0007Ee-GT for emacs-devel@gnu.org; Mon, 07 Mar 2022 23:39:13 -0500 Original-Received: by mail-oi1-f180.google.com with SMTP id j83so6979461oih.6 for ; Mon, 07 Mar 2022 20:39:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=ebPUeoyN7nUI3NsC5EDsCJH7959ip9dnDgNAcXEdisE=; b=ZJXeS88L+FBlytDuViOL2BB8LC1HHn+ryofjr9mrKGm6hliCAgrtHeAo0//OtsI74o 5K1VvL3Qul69joRrHh7tCno34N384xTeM2YKB6W9ioc2g+5cdyJG83WeHUGiHjA5+6p8 16E+wqyygHiE4Q1GRwvnPJMt4LKW61F0S2xbpEnwfXL1T4NwBeRzhQlC6AsjK+/aZvul VS52zaDh58vIs6G3B52ZfTJRB8E3WKledzrHPq4nQYs+yUdSQ9Ydnt3h0gjpIL4KnOqj tGh2vazDbPDK9ldcvSe7CGf2Tq0ERccAgT8T9UOV/lf6D+ACAs+B7a6f0oQfblCm7x1W 6anA== X-Gm-Message-State: AOAM5331VFxpAAr1qodca8tQEvzRDObIx3HH2swHbujIrzSSJLcH708f QONzFdIjSBp660owI5Qr9J0FBFj0bio= X-Google-Smtp-Source: ABdhPJwpJpI5Kr47wOJrx0gBmThNFDXh8uFUjTyubHgNCJyoSDfr3gL0ygHCnWdbLjnl9zzO64owZg== X-Received: by 2002:a05:6808:3026:b0:2d9:d4f6:b1ca with SMTP id ay38-20020a056808302600b002d9d4f6b1camr1598602oib.167.1646714350736; Mon, 07 Mar 2022 20:39:10 -0800 (PST) Original-Received: from sacsa.n800.arm.processor.yandex.fm ([190.237.25.195]) by smtp.gmail.com with ESMTPSA id dx51-20020a05687076b300b000d9a9e36864sm6437358oab.36.2022.03.07.20.39.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Mar 2022 20:39:09 -0800 (PST) Received-SPF: pass client-ip=209.85.167.180; envelope-from=rrandresf@gmail.com; helo=mail-oi1-f180.google.com X-Spam_score_int: -9 X-Spam_score: -1.0 X-Spam_bar: - X-Spam_report: (-1.0 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286913 Archived-At: --=-=-= Content-Type: text/plain Hi. This patch improves ses-jump a little bit. Best Regards --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=ses-accepting-cell-names-as-lowercase-on-ses-jump.patch Content-Description: ses diff -u /home/user/downloads/opt_clone/emacs/lisp/ses.el /home/user/downloads/opt_clone/emacs/lisp/ses.el.bak --- /home/user/downloads/opt_clone/emacs/lisp/ses.el 2022-02-19 16:12:38.757109243 +0000 +++ /home/user/downloads/opt_clone/emacs/lisp/ses.el.bak 2022-03-08 04:28:00.653553511 +0000 @@ -2245,8 +2245,8 @@ ses--named-cell-hashmap) names))))) (if (string= s "") - (user-error "Invalid cell name") - (list (intern s))))) + (user-error "Empty cell name") + (list (intern (upcase s)))))) (let ((rowcol (ses-sym-rowcol sym))) (or rowcol (error "Invalid cell name")) (if (eq (symbol-value sym) '*skip*) Diff finished. Tue Mar 8 04:28:36 2022 --=-=-=--