From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.help Subject: Re: Cycle Auto-Fill Date: Sat, 05 Dec 2020 22:27:27 +0530 Organization: Code Is Great Foundation Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23300"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Help Gnu Emacs To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 05 17:58:41 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 1klatM-0005xb-QV for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 17:58:40 +0100 Original-Received: from localhost ([::1]:38402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klatL-0005z1-SJ for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Dec 2020 11:58:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klasJ-0005yn-UO for help-gnu-emacs@gnu.org; Sat, 05 Dec 2020 11:57:35 -0500 Original-Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:33364) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klasH-0005K3-OC for help-gnu-emacs@gnu.org; Sat, 05 Dec 2020 11:57:35 -0500 Original-Received: by mail-pl1-x635.google.com with SMTP id t18so4858204plo.0 for ; Sat, 05 Dec 2020 08:57:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:organization:references:mail-followup-to:date :in-reply-to:message-id:user-agent:mime-version; bh=Cw1iOij+xTqe/3qVeBRcwWhg6BirLLh8tPQuLwB+bzo=; b=brMJQ0Wz3t1RvWzUTaQHewhQUDdtx8aiw1Xg9H7gS+LB0v5Fv35bRT+I+FjY4oOq81 SQdVT/XRXxb9Udk6pU4NzWf1m2xbnLtGaLsGHO+CvKBFNn21co+P7R6bBybDKUiauov7 Kh3RXZA/R4gSnOZGUX5eda26/VRVTwlb9XxZMpY+9pVDFOJEsKdt879ZZ9zufvIGpiCh KYCDkVOWNb7L2n01n34Pie03uJs1uvbGv2vNELCaX+f+HTRrGNl+W0Uv9o+FfE5Vua4f FfoKTumei+THQpK+0oqQdGaDJbqA5iE4bU74xfEsJAED49IN3VPwcTb6t3eHLdNWe5H9 WBLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-followup-to:date:in-reply-to:message-id:user-agent :mime-version; bh=Cw1iOij+xTqe/3qVeBRcwWhg6BirLLh8tPQuLwB+bzo=; b=lcywrzQEosy9VzWD4YnWHlQ+zgkBWA5dXG8x+QKSle1lZZkDOwzxL2tR9qfBBGfIIg Q9awyEJurDU2dwQk+pkTF1nIPxQ2DfnVjnHl1ddS5tOrkYUBA+j7lRBRfgLy+L7frOuk iLbNgPVMXXm64ViZFp5mhor1PrYhoZ8GqaSNTrqPs1D5Rn2zDm1dQ1+d9/tU1qTzgMa8 TzHIvJN0rzNaNXcDGkaqi4b/x3E62sy2Y8kEC91wZMraMWk8Fb2py152zjVkWEV329WQ F3pUuweeleAXIkuPoJqjU5TBw8p0+N54vlnNGpu5b9mThltucVE9+d1IlyRwUV+SMC1D pohg== X-Gm-Message-State: AOAM530nF7c7ynN6yGUffgQlFyrlji1tYPKVMOAsLnmSykavjrELlY2W chkxwRI4UGSUwxJJhwtWVGOh3L9yUSUeiw== X-Google-Smtp-Source: ABdhPJzcaUZ6d8tWVx70Srk+MXdcvVVEHHdpzacO/auIikOBR/Th14F3Pjji1tHJ6iDefjNoSJhzPQ== X-Received: by 2002:a17:90b:14d3:: with SMTP id jz19mr9322121pjb.196.1607187451014; Sat, 05 Dec 2020 08:57:31 -0800 (PST) Original-Received: from mb2.local ([2405:201:5c06:70bc:80e5:33e3:dd3f:7d7a]) by smtp.gmail.com with ESMTPSA id b8sm7645026pgk.7.2020.12.05.08.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 08:57:30 -0800 (PST) Mail-Followup-To: Christopher Dimech , Help Gnu Emacs In-Reply-To: (Christopher Dimech's message of "Sat, 5 Dec 2020 15:16:15 +0100") Received-SPF: none client-ip=2607:f8b0:4864:20::635; envelope-from=pankaj@codeisgreat.com; helo=mail-pl1-x635.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no 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:126032 Archived-At: Christopher Dimech writes: > The change gives the error. Although the modified version looks > reasonable to me. > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p > nil) > =(nil 2) Hmmm.. the first when-form is cleared but the value of n is still nil. So second when condition fails. But as suggested by Ergus, it is better to keep just an integer instead of property.